Commit Graph

1875 Commits

Author SHA1 Message Date
Jamie Phillips
7704fb6ee5
Exporting the AddFeatureGate function and adding a unit test for it. (#3661) 2021-07-28 13:04:42 -07:00
Jamie Phillips
fc19b805d5
Added logic to strip any existing hyphens before processing the args. (#3662)
Updated the logic to handle if extra args are passed with existing hyphens in the arg. The test was updated to add the additional case of having pre-existing hyphens. The method name was also refactored based on previous feedback.
2021-07-28 13:04:19 -07:00
Derek Nola
a1d7a62493
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>

* Added integration test

Signed-off-by: dereknola <derek.nola@suse.com>
2021-07-28 10:25:34 -07:00
Brad Davidson
90445bd581
Wait until server is ready before configuring kube-proxy (#3716)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-07-27 14:56:05 -07:00
Derek Nola
21c8a33647
Introduction of Integration Tests (#3695)
* Commit of new etcd snapshot integration tests.
* Updated integration github action to not run on doc changes.
* Update Drone runner to only run unit tests

Signed-off-by: dereknola <derek.nola@suse.com>
2021-07-26 09:59:33 -07:00
Brian Downs
f99b1c8798
add gotests templates (#3709)
add gotests templates
2021-07-24 19:36:36 -07:00
David Nuzik
92005c5874
Merge pull request #3669 from cwayne18/issue-backport
Add checkbox to denote backporting required on issue templates
2021-07-23 09:07:59 -07:00
Chris Wayne
461222db98
Merge branch 'k3s-io:master' into issue-backport 2021-07-23 10:52:52 -04:00
Chris Wayne
71e1f1df8c
Ignore markdown files for github actions (#3676)
Signed-off-by: Chris Wayne <cwayne18@gmail.com>
2021-07-23 10:29:00 -04:00
Chris Wayne
5c7d02f192
Merge branch 'k3s-io:master' into issue-backport 2021-07-23 09:03:51 -04:00
David Nuzik
b260d100f9
Merge pull request #3701 from davidnuzik/update-k3s-1.21-stable
Update K3S 1.21 stable version
2021-07-22 15:05:01 -07:00
David Nuzik
1f6806d940 Update 1.21 stable version
Signed-off-by: David Nuzik <david.nuzik@rancher.com>
2021-07-22 12:40:14 -07:00
David Nuzik
580955d64c
Merge pull request #3688 from galal-hussein/fix_multiple_keys_bootstrap
Fix multiple bootstrap keys found
2021-07-21 14:52:12 -07:00
galal-hussein
20a48734c2 more fixes
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2021-07-21 22:42:05 +02:00
galal-hussein
7ebcc4b134 more fixes
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2021-07-21 22:39:44 +02:00
galal-hussein
b4401296ec replace error with warn in delete
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2021-07-21 22:18:56 +02:00
galal-hussein
2f82bfcf67 fix warning msg
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2021-07-21 22:05:43 +02:00
galal-hussein
b377839148 migrate old token key format
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2021-07-21 20:59:57 +02:00
galal-hussein
997ed7b9b4 simplifying the code
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2021-07-21 19:56:19 +02:00
galal-hussein
ad17292fa8 migrate empty string key properly
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2021-07-21 19:21:38 +02:00
galal-hussein
a65e5b6466 Fix multiple bootstrap keys found
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
2021-07-21 02:50:42 +02:00
Luther Monson
37fcb61f5e move go routines for api server ready beneath wait group
Signed-off-by: Luther Monson <luther.monson@gmail.com>
2021-07-20 17:36:34 -07:00
Chris Kim
c5832c1128 Bump Kubernetes to v1.21.3
* Bump golang to 1.16.6
* Update to v1.21.3

Signed-off-by: Chris Kim <oats87g@gmail.com>
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 9c981b0184)
2021-07-20 16:08:41 -07:00
Brad Davidson
b352d73511 Bump containerd to v1.4.8-k3s1
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-07-20 15:44:06 -07:00
Luther Monson
18bc98f60c
adding startup hooks args to access to Disables and Skips (#3674)
Signed-off-by: Luther Monson <luther.monson@gmail.com>
2021-07-20 05:24:52 +02:00
Chris Wayne
dcabe14edd
Update .github/ISSUE_TEMPLATE/feature_request.md
Co-authored-by: Brad Davidson <brad@oatmail.org>
2021-07-19 18:04:45 -04:00
Chris Wayne
8840c937e6
Update .github/ISSUE_TEMPLATE/bug_report.md
Co-authored-by: Brad Davidson <brad@oatmail.org>
2021-07-19 18:04:39 -04:00
Chris Wayne
f7e86115a0
Merge branch 'k3s-io:master' into issue-backport 2021-07-19 17:32:31 -04:00
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