Derek Nola
bba49ea447
Fix to allow prune to correctly cleanup custom named snapshots ( #3649 )
...
Signed-off-by: dereknola <derek.nola@suse.com>
2021-07-19 14:30:57 -07:00
Chris Wayne
f6be76b4f7
Add checkbox to denote backporting required on issue templates
...
Signed-off-by: Chris Wayne <cwayne18@gmail.com>
2021-07-19 17:15:37 -04:00
Jamie Phillips
aef8a6aafd
Adding support for waitgroup to the Startuphooks ( #3654 )
...
The startup hooks where executing after the deploy controller. We needed the deploy controller to wait until the startup hooks had completed.
2021-07-15 19:28:47 -07:00
Chris Kim
ad28d18b19
Bump helm-controller to v0.10.1 ( #3644 )
...
Signed-off-by: Chris Kim <oats87g@gmail.com>
2021-07-15 11:31:44 -07:00
Manuel Buil
d597511a1c
Merge pull request #3626 from manuelbuil/master
...
Upgrade k3s-root version
2021-07-15 18:28:50 +02:00
Chris Wayne
d96fa8f727
Add issue template for creating release checklist issues ( #3604 )
...
* Add issue template for creating release checklist issues
Signed-off-by: Chris Wayne <chris.wayne@suse.com>
2021-07-15 09:44:20 -04:00
Hussein Galal
a939decf01
fix a runtime core panic ( #3627 )
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2021-07-13 23:33:07 +02:00
Derek Nola
55fe4ff5b0
Convert existing unit tests to standard layout ( #3621 )
...
* Converted parser_test.go, scrypt_test.go, types_test.go, nodeconfig_test.go
Signed-off-by: dereknola <derek.nola@suse.com>
2021-07-13 10:44:11 -07:00
Manuel Buil
fbc41ed753
Upgrade k3s-root version
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-07-13 18:09:58 +02:00
Brian Downs
238dc2086e
prevent snapshot save when snapshots are disabled ( #3475 )
...
* prevent snapshot save when snapshots are disabled
2021-07-09 10:22:49 -07:00
William Zhang
a4c992ce52
🐳 burp to inetaf/tcpproxy
...
Problem:
tcpproxy repository has been moved out of the github.com/google org to github.com/inetaf.
Solution:
Switch to the new repo.
FYI: https://godoc.org/inet.af/tcpproxy/
Signed-off-by: William Zhang <warmchang@outlook.com>
2021-07-08 16:58:09 -07:00
Brad Davidson
dd8398dc76
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:29:37 -07:00
Chris Kim
ada145641c
Update etcd snapshot error message to be more informative when etcd database is not found ( #3568 )
...
Signed-off-by: Chris Kim <oats87g@gmail.com>
2021-07-07 16:01:50 -07:00
Jamie Phillips
a62d143936
Fixing various bugs related to windows.
...
This changes the crictl template for issues with the socket information. It also addresses a typo in the socket address. Last it makes tweaks to configuration that aren't required or had incorrect logic.
Signed-off-by: Jamie Phillips <jamie.phillips@suse.com>
spelling
2021-07-07 15:50:34 -07:00
David Nuzik
4be912b9c5
Merge pull request #3431 from davidnuzik/update-roadmap
...
Update ROADMAP.md
2021-07-07 10:44:53 -07:00
David Nuzik
e1cd9438ad
Update ROADMAP.md
...
Signed-off-by: David Nuzik <david.nuzik@rancher.com>
2021-07-07 10:42:55 -07:00
Chris Kim
81b006c938
Dispatch to rancher/system-agent-installer-k3s when tagged ( #3589 )
...
Signed-off-by: Chris Kim <oats87g@gmail.com>
2021-07-07 10:11:13 -07:00
Derek Nola
73df2d806b
Update embedded kube-router ( #3557 )
...
* Update embedded kube-router
Signed-off-by: dereknola <derek.nola@suse.com>
2021-07-07 08:46:10 -07:00
Brian Downs
2093ee384f
Merge pull request #3571 from xiaods/patch-1
...
missing build tag for windows
2021-07-06 10:25:37 -07:00
Deshi Xiao
77fcf2dfc5
missing build tag for windows
...
Signed-off-by: Deshi Xiao <xiaods@gmail.com>
2021-07-05 22:30:54 +08:00
Joeky
18367e12d0
Set ulimits in docker-compose.yml
...
Signed-off-by: Joeky <joeky5888@gmail.com>
2021-07-02 11:26:00 -07:00
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
)
2021-07-02 08:59:16 -07:00
Brad Davidson
6b3285b7e3
Fix coverage reporting to include all packages, not just those with tests
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-07-01 19:21:28 -07:00
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>
2021-07-01 16:08:35 -07:00
Brad Davidson
cbfe673c43
Fix spelling to satisfy codespell check
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-07-01 13:29:03 -07:00
Brad Davidson
cbacd7107e
Allow passing targeted environment variables to containerd
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-07-01 13:29:03 -07:00
Brad Davidson
4a6e87e5a2
Add user-facing change section to PR template
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-07-01 01:34:41 -07:00
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>
2021-07-01 01:16:39 -07:00
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>
2021-06-30 22:29:03 +02:00
Brad Davidson
246b378a27
Bump kine to resolve race condition and unrevisioned delete
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-06-30 09:54:46 -07:00
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>
2021-06-29 13:58:12 -07:00
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>
2021-06-29 11:27:50 -07:00
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>
2021-06-29 07:28:38 -07:00
Derek Nola
f3d0a857d2
Bump stable version to v1.21.2+k3s1 ( #3526 )
...
Signed-off-by: dereknola <derek.nola@suse.com>
2021-06-28 16:11:02 -07:00
Joe Kralicky
25c0b5fb9b
Merge pull request #3515 from kralicky/disable-helm-controller
...
Add option to disable the built-in Helm Controller
2021-06-28 12:50:19 -04:00
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>
2021-06-25 14:54:36 -04:00
Derek Nola
cf55712767
Revert "Add Unit Test Coverage to CI ( #3494 )" ( #3499 )
...
This reverts commit 216b3beaef
.
2021-06-23 12:40:13 -07:00
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>
2021-06-23 09:21:59 -07:00
Jamie Phillips
82394d7d36
Basic windows agent that will join a cluster without CNI.
...
Signed-off-by: Jamie Phillips <jamie.phillips@suse.com>
2021-06-23 09:07:50 -07:00
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>
2021-06-22 22:42:34 +02:00
Manuel Buil
2439af586a
Merge pull request #3465 from manuelbuil/nm-cloud-setup-fix
...
Fail to start k3s if nm-cloud-setup is enabled
2021-06-18 11:37:55 +02:00
Manuel Buil
a629db023c
Fail to start k3s if nm-cloud-setup is enabled
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-06-17 12:24:53 +02:00
Derek Nola
4b2ab8b515
Renamed client-cloud-controller crt and key ( #3470 )
...
Signed-off-by: dereknola <derek.nola@suse.com>
2021-06-16 13:54:35 -07:00
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>
2021-06-16 12:11:10 -07:00
Derek Nola
b74c499709
Revert "Change containerd image leases from 24h to permanent ( #3452 )" ( #3461 )
...
This reverts commit 86b3ba8dba
.
2021-06-15 14:56:14 -07:00
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>
2021-06-15 11:42:52 -07:00
Brian Downs
88f95ec409
Send systemd notifications for both server and agent ( #3430 )
...
* update agent to sent systemd notify after everything starts
2021-06-15 04:20:26 -07:00
Brad Davidson
a7d1159ba6
Emit events for AddOn lifecycle
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-06-11 14:00:27 -07:00
Brad Davidson
ea2cd6d727
Add comments, clean up imports and function names
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-06-11 14:00:27 -07:00
Brad Davidson
6e48ca9b53
Tidy up function calls with many args
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-06-11 14:00:27 -07:00