-
Notifications
You must be signed in to change notification settings - Fork 0
Allow specifying an initial firewall ruleset. #64
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
base: main
Are you sure you want to change the base?
Conversation
This is handy for the capi-provider.
Getting methods are non pointers, mutating ones are pointers. This is fine and expected.
…nitial-firewall-ruleset
…n' into initial-firewall-ruleset
|
Also includes #66 |
| if r.Target.Annotations != nil { | ||
| if val, ok := r.Target.Annotations[v2.FirewallNoControllerConnectionAnnotation]; ok { | ||
| set.Annotations[v2.FirewallNoControllerConnectionAnnotation] = val | ||
| } | ||
| } | ||
|
|
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.
This could probably be an extra PR
| shootTokenSecret string | ||
| shootTokenPath string | ||
| sshKeySecret string | ||
| sshKeySecretNamespace string |
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.
PR #79
| if r.Target.Annotations != nil { | ||
| if val, ok := r.Target.Annotations[v2.FirewallNoControllerConnectionAnnotation]; ok { | ||
| if meta.Annotations == nil { | ||
| meta.Annotations = map[string]string{} | ||
| } | ||
| meta.Annotations[v2.FirewallNoControllerConnectionAnnotation] = val | ||
| } | ||
| } | ||
|
|
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.
Handled in PR #80
Description
This is handy for the capi-provider.