Derek Nola
8faa70dced
Update to v1.21.2
...
Signed-off-by: dereknola <derek.nola@suse.com>
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 5a67e8dc47
)
3 years ago
Brad Davidson
6b3285b7e3
Fix coverage reporting to include all packages, not just those with tests
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Derek Nola
c833183517
Add unit tests for pkg/etcd ( #3549 )
...
* Created new etcd unit tests and testing support file
Signed-off-by: dereknola <derek.nola@suse.com>
3 years ago
Brad Davidson
cbfe673c43
Fix spelling to satisfy codespell check
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brad Davidson
cbacd7107e
Allow passing targeted environment variables to containerd
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Brad Davidson
4a6e87e5a2
Add user-facing change section to PR template
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
vlad doster
a5cff7e143
(docs) Update README.md
...
Fixed various issues in README.md.
This incorporates #2141 , which should be closed because there are other spelling fixes in this PR.
- correct spelling
- correct grammar
- remove verbiage for stronger intent and clarity
- formatting consistency (e.g., spacing, numbered lists, etc.)
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
3 years ago
Hussein Galal
f5fbb9a9a8
Export cli server flags and etcd restoration functions ( #3527 )
...
* Export cli server flags and etfd restoration functions
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* export S3
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
3 years ago
Brad Davidson
246b378a27
Bump kine to resolve race condition and unrevisioned delete
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 years ago
Derek Nola
3e1693bc97
Changes local storage pods to have 700 permissions ( #3537 )
...
* Changes local storage pods to have 700 permissions
Signed-off-by: dereknola <derek.nola@suse.com>
3 years ago
Derek Nola
7242ce9316
Redux: Add Unit Test Coverage to CI ( #3524 )
...
* Added Github action to run unit tests and connect to Codecov
Signed-off-by: dereknola <derek.nola@suse.com>
3 years ago
Chris Kim
04398a2582
Move cloud-controller-manager into an embedded executor ( #3525 )
...
* Move cloud-controller-manager into an embedded executor
* Import K3s cloud provider and clean up imports
Signed-off-by: Chris Kim <oats87g@gmail.com>
3 years ago
Derek Nola
f3d0a857d2
Bump stable version to v1.21.2+k3s1 ( #3526 )
...
Signed-off-by: dereknola <derek.nola@suse.com>
3 years ago
Joe Kralicky
25c0b5fb9b
Merge pull request #3515 from kralicky/disable-helm-controller
...
Add option to disable the built-in Helm Controller
3 years ago
Joe Kralicky
a84c75af62
Adds a command-line flag '--disable-helm-controller' that will disable
...
the server's built-in helm controller.
Problem:
Testing installation and uninstallation of the Helm Controller on k3s is
not possible if the Helm Controller is baked into the k3s server.
Solution:
The Helm Controller can optionally be disabled, which will allow users
to manage its installation manually.
Signed-off-by: Joe Kralicky <joe.kralicky@suse.com>
3 years ago
Derek Nola
cf55712767
Revert "Add Unit Test Coverage to CI ( #3494 )" ( #3499 )
...
This reverts commit 216b3beaef
.
3 years ago
Derek Nola
216b3beaef
Add Unit Test Coverage to CI ( #3494 )
...
* Added Github action to run unit tests and connect to Codecov
Signed-off-by: dereknola <derek.nola@suse.com>
3 years ago
Jamie Phillips
82394d7d36
Basic windows agent that will join a cluster without CNI.
...
Signed-off-by: Jamie Phillips <jamie.phillips@suse.com>
3 years ago
Hussein Galal
136dddca11
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>
3 years ago
Manuel Buil
2439af586a
Merge pull request #3465 from manuelbuil/nm-cloud-setup-fix
...
Fail to start k3s if nm-cloud-setup is enabled
3 years ago
Manuel Buil
a629db023c
Fail to start k3s if nm-cloud-setup is enabled
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
3 years ago
Derek Nola
4b2ab8b515
Renamed client-cloud-controller crt and key ( #3470 )
...
Signed-off-by: dereknola <derek.nola@suse.com>
3 years ago
Derek Nola
ef23c6c548
Redux: Change containerd image leases from context lifespan to permanent ( #3464 )
...
* Changed containerd image licenses from context lifespan to permanent. Delete any existing licenses owned by k3s on server startup
Signed-off-by: dereknola <derek.nola@suse.com>
3 years ago
Derek Nola
b74c499709
Revert "Change containerd image leases from 24h to permanent ( #3452 )" ( #3461 )
...
This reverts commit 86b3ba8dba
.
4 years ago
Derek Nola
86b3ba8dba
Change containerd image leases from 24h to permanent ( #3452 )
...
* Changed containerd image licenses from 24h to permanent. Delete any existing licenses on server startup
Signed-off-by: dereknola <derek.nola@suse.com>
4 years ago
Brian Downs
88f95ec409
Send systemd notifications for both server and agent ( #3430 )
...
* update agent to sent systemd notify after everything starts
4 years ago
Brad Davidson
a7d1159ba6
Emit events for AddOn lifecycle
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
4 years ago
Brad Davidson
ea2cd6d727
Add comments, clean up imports and function names
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
4 years ago
Brad Davidson
6e48ca9b53
Tidy up function calls with many args
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
4 years ago
Brad Davidson
6ef000091a
Add nodename to UA string for deploy controller
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
4 years ago
Derek Nola
2afa3dbe1c
Changed iptables version check for fail if version is between 1.8.0 and 1.8.3 and using nf_tables mode ( #3425 )
...
Signed-off-by: dereknola <derek.nola@suse.com>
4 years ago
Brad Davidson
f6cec4e75d
Add kubernetes.default.svc to serving certs
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
4 years ago
Manuel Buil
9c2373499c
Merge pull request #3417 from manuelbuil/replaceAll
...
Change Replace with ReplaceAll function
4 years ago
Manuel Buil
243fd14cf1
Change Replace with ReplaceAll function
...
strings has a specific function to replace all matches. We should use that one instead of strings.Replace(string, old, new string, -1)
Signed-off-by: Manuel Buil <mbuil@suse.com>
4 years ago
Brian Downs
bd84012061
Merge pull request #3413 from briandowns/possible_race_condition
...
fix possible race where bootstrap data might not save
4 years ago
Brian Downs
afd506a595
fix possible race where bootstrap data might not save
...
Signed-off-by: Brian Downs <brian.downs@gmail.com>
4 years ago
Brian Downs
2554c213db
Merge pull request #3405 from briandowns/issue-430
...
add log message indicating etcd snapshots are disabled
4 years ago
Brian Downs
2682183773
add log message indicating etcd snapshots are disabled
...
Signed-off-by: Brian Downs <brian.downs@gmail.com>
4 years ago
Derek Nola
664a98919b
Fix RBAC cloud-controller-manager name 3308 ( #3388 )
...
* Changed cloud-controller-manager user name in ccm.yaml
Signed-off-by: dereknola <derek.nola@suse.com>
* Changed RBAC name in server.go
Signed-off-by: dereknola <derek.nola@suse.com>
* Changed "k3s" string prefix to version.Program to prevent static hardcoding
Signed-off-by: dereknola <derek.nola@suse.com>
* Changed user in ccm.yaml to k3s-cloud-controller-manager
Signed-off-by: dereknola <derek.nola@suse.com>
4 years ago
Manuel Buil
b4542d4317
Merge pull request #3376 from manuelbuil/flannelv0.14
...
Update flannel version
4 years ago
Manuel Buil
5153088286
Merge pull request #3385 from manuelbuil/wireguard-fix
...
Move wireguard's privatekey to flannel config directory
4 years ago
Erik Wilson
e5244f375c
Merge pull request #3386 from erikwilson/bump-channel-stable-1.21.1
...
Bump stable version to v1.21.1+k3s1 and add v1.21 channel
4 years ago
Akihiro Suda
5e0527f304
cgroup2 CI: add rootless
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
4 years ago
Akihiro Suda
daf527ccaf
k3s-rootless.service: use fuse-overlayfs snapshotter
...
Kernel 5.11 added support for rootless overlayfs, but still incompatible
with SELinux, so we should always use fuse-overlayfs.
Related: moby/moby issue 42333
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
4 years ago
Manuel Buil
1576030d6b
Add a path for wireguard's privatekey
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
4 years ago
Jamie Phillips
7345ac35ae
Initial windows support for agent ( #3375 )
...
Signed-off-by: Jamie Phillips <jamie.phillips@suse.com>
4 years ago
Erik Wilson
3abe7c7cef
Bump stable version to v1.21.1+k3s1 and add v1.21 channel
4 years ago
Manuel Buil
d415e41337
Update flannel version
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
4 years ago
Erik Wilson
c2e561f25e
Merge pull request #3358 from dweomer/fix/3296/caps
...
containerd: v1.4.4-k3s2
4 years ago
David Nuzik
99c7d5125c
Merge pull request #3357 from erikwilson/bump-channel-stable-1.20.7
...
Bump channel stable version to v1.20.7+k3s1
4 years ago