-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[release-1.22] Backport bugfixes and enhancements from master #5586
Merged
brandond
merged 19 commits into
k3s-io:release-1.22
from
brandond:2022-05-backports_release-1.22
May 20, 2022
Merged
[release-1.22] Backport bugfixes and enhancements from master #5586
brandond
merged 19 commits into
k3s-io:release-1.22
from
brandond:2022-05-backports_release-1.22
May 20, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Also add event support to increase visibility of change events. Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 44c5374)
Don't hardcode the event namespace when creating event recorders; some controllers want to create events in other namespaces. Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 965d0a0)
Also update cert gen to ensure leaf certs are regenerated if other key fields change. Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 99851b0)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit b12cd62)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 1caae63)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 333311c)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit a69d635)
This gives nicer errors from Kubernetes components during startup, and reduces LOC a bit by using the upstream responsewriters module instead of writing the headers and body by hand. Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 3d01ca1)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit c9badb4)
Reduces code complexity a bit and ensures we don't have to handle closed watch channels on our own Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 13ca106)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit d93b750)
…ancer Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit e763fad)
…port Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit ce5b934)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 9d72304)
…anup Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 1d4f995)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit e4369ce)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit e6385b2)
brandond
force-pushed
the
2022-05-backports_release-1.22
branch
from
May 20, 2022 00:13
ace2353
to
4952b26
Compare
* Remove objects when removed from manifests If a user puts a file in /var/lib/rancher/k3s/server/manifests/ then the objects contained therein are deployed to the cluster. If the objects are removed from that file, they are not removed from the cluster. This change tracks the GVKs in the files and will remove objects when there are removed from the cluster. Signed-off-by: Donnie Adams <donnie.adams@suse.com> (cherry picked from commit c38a8c3) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
brandond
force-pushed
the
2022-05-backports_release-1.22
branch
from
May 20, 2022 04:25
4952b26
to
17835e0
Compare
briandowns
approved these changes
May 20, 2022
Signed-off-by: Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 1ef3472)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed Changes
Backport bugfixes and enhancements from master to release-1.22
Types of Changes
backports
Verification
See linked issues
Linked Issues
User-Facing Change
Further Comments