-
Notifications
You must be signed in to change notification settings - Fork 141
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
Adjust kube-controller resource order #1875
base: master
Are you sure you want to change the base?
Conversation
@@ -238,6 +237,9 @@ func (c *kubeControllersComponent) Objects() ([]client.Object, []client.Object) | |||
objectsToCreate = append(objectsToCreate, c.controllersPodSecurityPolicy()) | |||
} | |||
|
|||
// Create deployment after all other resources it depends on have been created | |||
objectsToCreate = append(objectsToCreate, c.controllersDeployment()) |
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.
Do we want do this for all of our renderers?
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.
A quick check showed that compliance and intrusion detection may also need to be changed.
@tmjd are you still planning on getting this one in? I think it needs some test updates as well to make them pass. |
Yes I think this is how we should fix the linked issue. I haven't been able to revisit and change those other controllers where this would be an issue. |
Addressing #1870
Description
For PR author
make gen-files
make gen-versions
For PR reviewers
A note for code reviewers - all pull requests must have the following:
kind/bug
if this is a bugfix.kind/enhancement
if this is a a new feature.enterprise
if this PR applies to Calico Enterprise only.