-
Notifications
You must be signed in to change notification settings - Fork 63
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
Add a check for the agent-tls-mode setting #416
Add a check for the agent-tls-mode setting #416
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good, just one comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Verified everything passes with the GHA-based CI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
783a795
a03d095
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please squash when merging.
* Add a check for the agent-tls-mode setting (#416) * Keep importing a wrangler v2 package
Issue: rancher/rancher#45589
Problem
The webhook needs to validate updates to the
agent-tls-mode
setting given the logic below.Solution
If
agent-tls-mode
hasdefault
orvalue
updated fromsystem-store
tostrict
, then all non-local clusters musthave a status condition
AgentTlsStrictCheck
set toTrue
, unless the new setting has an overridingannotation
cattle.io/force=true
.CheckList