Brad Davidson
69047a35c0
Bump helm-controller to v0.10.2
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-08-05 09:35:45 -07:00
Hussein Galal
cc694b1f09
Notify systemd for etcd only node ( #3733 )
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2021-07-30 00:41:52 +02:00
Derek Nola
e6247d583c
[Backport 1.21] Cannot write data to local PVC ( #3721 )
...
* Fix to allow non-root users access to storage volumes. (#3714 )
* Fix to prevent non-root users from accessing storage directory, while allowing non-root users access to subdirectories.
Signed-off-by: dereknola <derek.nola@suse.com>
2021-07-28 13:47:22 -07:00
David Nuzik
1d1f220fbe
Merge pull request #3690 from galal-hussein/fix_multiple_bootstrap_keys_121
...
[Release-1.21] Fix multiple bootstrap keys found
2021-07-21 15:00:59 -07:00
galal-hussein
786f91b997
Fix multiple bootstrap keys found
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
migrate empty string key properly
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
simplifying the code
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
migrate old token key format
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
fix warning msg
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
replace error with warn in delete
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
more fixes
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
more fixes
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2021-07-21 22:54:25 +02:00
Brad Davidson
b9cc6409f4
Bump containerd to v1.4.8-k3s1
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-07-20 15:04:37 -07:00
Derek Nola
c15259d925
Fix to allow prune to correctly cleanup custom named snapshots ( #3649 ) ( #3672 )
...
Signed-off-by: dereknola <derek.nola@suse.com>
2021-07-20 12:17:10 -07:00
Manuel Buil
6ee6cc8507
Merge pull request #3665 from manuelbuil/issue_3633
...
[release-1.21] Upgrade k3s-root version
2021-07-19 21:31:24 +02:00
Manuel Buil
659002f153
[release-1.21] Upgrade k3s-root version
...
Linked issue: https://github.com/k3s-io/k3s/issues/3633
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-07-19 20:39:57 +02:00
Chris Kim
9c981b0184
[release-1.21] Bump Kubernetes to v1.21.3 ( #3652 )
...
* Bump golang to 1.16.6
* Update to v1.21.3
Signed-off-by: Chris Kim <oats87g@gmail.com>
2021-07-15 22:04:09 -07:00
Hussein Galal
9859ec7a81
[release-1.21] - Backport Fix storing bootstrap data with empty token string ( #3514 )
...
* Fix storing bootstrap data with empty token string (#3422 )
* Fix storing bootstrap data with empty token string
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* delete node password secret after restoration
fixes to bootstrap key
vendor update
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* fix comment
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* fix typo
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* more fixes
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* fixes
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* fixes
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* typos
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* Removing dynamic listener file after restoration
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* go mod tidy
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* fix a runtime core panic
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* update kine
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* Fix calling delete in kine
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2021-07-13 22:28:38 +02:00
Brad Davidson
5a88b5b3ea
Emit events for AddOn lifecycle
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit a7d1159ba6
)
2021-07-12 12:12:11 -07:00
Brad Davidson
ab0520f44e
Add comments, clean up imports and function names
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit ea2cd6d727
)
2021-07-12 12:12:11 -07:00
Brad Davidson
411d7e6753
Tidy up function calls with many args
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 6e48ca9b53
)
2021-07-12 12:12:11 -07:00
Brad Davidson
ff0451c4dd
Add nodename to UA string for deploy controller
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 6ef000091a
)
2021-07-09 14:27:29 -07:00
Brian Downs
c3d134a405
prevent snapshot save when snapshots are disabled ( #3475 ) ( #3610 )
...
* prevent snapshot save when snapshots are disabled
2021-07-09 12:09:35 -07:00
Brad Davidson
267adf64dc
Bump the packaged runc binary version
...
Not bumping runc in go.mod yet, as upstream Kubernetes still requires
runc/libcontainer v1.0.0-rc95
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-07-08 16:41:49 -07:00
Chris Kim
42ab13a869
Update etcd snapshot error message to be more informative when etcd database is not found ( #3592 )
...
Signed-off-by: Chris Kim <oats87g@gmail.com>
2021-07-08 15:01:05 -07:00
Chris Kim
65b9fbaa2b
Merge pull request #3590 from Oats87/issues/k3s/3582
...
[release-1.21] Dispatch to rancher/system-agent-installer-k3s when tagged
2021-07-07 16:01:20 -07:00
Chris Kim
bbd4fb9888
Dispatch to rancher/system-agent-installer-k3s when tagged
...
Signed-off-by: Chris Kim <oats87g@gmail.com>
2021-07-07 15:28:37 -07:00
Chris Kim
5d66fed941
Merge pull request #3550 from Oats87/issues/k3s/3427
...
* Bump helm-controller to v0.10.1
* Bump rancher/klipper-helm image in airgap image-list.txt
* go mod vendor
* Fix spelling to satisfy codespell check
2021-07-07 15:27:57 -07:00
Derek Nola
0c5577a8ec
[Backport 1.21] Update embedded kube-router ( #3557 ) ( #3595 )
...
* Update embedded kube-router
Signed-off-by: dereknola <derek.nola@suse.com>
2021-07-07 15:04:23 -07:00
Brad Davidson
04d425289f
Fix spelling to satisfy codespell check
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-07-07 14:21:47 -07:00
Chris Kim
733ca42b6a
go mod vendor
...
Signed-off-by: Chris Kim <oats87g@gmail.com>
2021-07-07 14:21:47 -07:00
Chris Kim
9863b92eb4
Bump rancher/klipper-helm image in airgap image-list.txt
...
Signed-off-by: Chris Kim <oats87g@gmail.com>
2021-07-07 14:21:47 -07:00
Chris Kim
0a5bca7ea2
Bump helm-controller to v0.10.1
...
Signed-off-by: Chris Kim <oats87g@gmail.com>
2021-07-07 08:39:54 -07:00
Derek Nola
0c2d8376d0
Changes local storage pods to have 700 permissions ( #3537 ) ( #3548 )
...
* Changes local storage pods to have 700 permissions
Signed-off-by: dereknola <derek.nola@suse.com>
2021-06-30 09:22:44 -07:00
Chris Kim
65e521140a
[Backport 1.21] Move cloud-controller-manager into an embedded executor ( #3530 )
...
* Move cloud-controller-manager into an embedded executor
* Import K3s cloud provider and clean up imports
Signed-off-by: Chris Kim <oats87g@gmail.com>
2021-06-29 07:28:55 -07:00
Brian Downs
34d767d40e
Merge pull request #3510 from briandowns/backport_issue-3414_release_1.21
...
[Backport 1.21] - fix possible race where bootstrap data might not save
2021-06-25 14:43:24 -07:00
Brian Downs
3224f6b56d
fix possible race where bootstrap data might not save
...
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2021-06-24 11:05:35 -07:00
Brian Downs
fa3c5005df
Merge branch 'release-1.21' of github.com:k3s-io/k3s into release-1.21
2021-06-21 11:35:49 -07:00
Derek Nola
5a67e8dc47
Update to v1.21.2 ( #3479 )
...
* Update to v1.21.2
Signed-off-by: dereknola <derek.nola@suse.com>
2021-06-18 13:46:09 -07:00
Derek Nola
c35761d169
Renamed client-cloud-controller crt and key ( #3472 )
...
Signed-off-by: dereknola <derek.nola@suse.com>
2021-06-16 14:55:43 -07:00
Brian Downs
8651d6af5f
Send systemd notifications for both server and agent ( #3430 ) ( #3460 )
...
* update agent to sent systemd notify after everything starts
2021-06-15 12:16:15 -07:00
Brian Downs
32b02d1baf
Send systemd notifications for both server and agent ( #3430 )
...
* update agent to sent systemd notify after everything starts
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2021-06-15 14:20:45 -04:00
Derek Nola
c012e6ec6f
Changed iptables version check for fail if version is between 1.8.0 and 1.8.3 and using nf_tables mode ( #3454 )
...
Signed-off-by: dereknola <derek.nola@suse.com>
2021-06-15 09:19:28 -07:00
Brad Davidson
eac48f69bc
Add kubernetes.default.svc to serving certs
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-06-08 16:24:16 -07:00
Brian Downs
3db7f98853
Merge pull request #3354 from briandowns/backport_etcd_subcommands-1.21
...
[ Backport 1.21 ] - etcd subcommands 1.21
2021-06-08 10:23:20 -07:00
Derek Nola
16ae282c7a
Fix RBAC cloud-controller-manager name 3308 ( #3388 ) ( #3408 )
...
* Changed cloud-controller-manager user name in ccm.yaml
* Changed RBAC name in server.go and deps.go
Signed-off-by: dereknola <derek.nola@suse.com>
2021-06-07 08:46:24 -07:00
Manuel Buil
5beae200a0
Merge pull request #3403 from manuelbuil/backport_wireguard
...
[Backport 1.21] Add a path for wireguard's privatekey
2021-06-07 17:40:27 +02:00
Manuel Buil
84f22d3c60
Merge pull request #3402 from manuelbuil/flannel_backport
...
[Backport 1.21] Update flannel version
2021-06-04 09:44:24 +02:00
Manuel Buil
ff54d8c96d
Add a path for wireguard's privatekey
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-06-04 09:00:35 +02:00
Manuel Buil
1932979f44
Update flannel version
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-06-04 08:56:46 +02:00
Erik Wilson
75dba57f9b
Merge pull request #3359 from dweomer/fix-1.21/3296/caps
...
[backport 1.21] containerd: v1.4.4-k3s2
2021-05-20 13:46:14 -07:00
Jacob Blain Christen
5573fe4beb
[backport 1.21] containerd: v1.4.4-k3s2
...
Pull in backport of containerd/containerd#5017
Addresses #3296
Signed-off-by: Jacob Blain Christen <dweomer5@gmail.com>
2021-05-20 11:38:48 -07:00
Jacob Blain Christen
778ee545ff
[backport 1.21] runc: v1.0.0-rc95 ( #3348 ) ( #3352 )
...
- Addresses #3299
Signed-off-by: Jacob Blain Christen <dweomer5@gmail.com>
2021-05-20 10:26:06 -07:00
Brian Downs
8fd180e0d9
move object channel defer close to goroutine
...
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2021-05-19 14:49:48 -07:00
Brian Downs
69795277be
add retention default and wire in s3 prune
...
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2021-05-19 14:49:44 -07:00
Brian Downs
58649c5e85
add etcd snapshot save subcommand
...
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2021-05-19 14:49:38 -07:00
Brad Davidson
67651aee58
Handle conntrack-related sysctls in supervisor agent setup
...
(cherry picked from commit 7e175e8ad4
)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-05-18 22:25:33 -07:00