Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tmjd
Copy link
Member

@tmjd tmjd commented Mar 29, 2022

Addressing #1870

Description

For PR author

  • Tests for change.
  • If changing pkg/apis/, run make gen-files
  • If changing versions, run make gen-versions

For PR reviewers

A note for code reviewers - all pull requests must have the following:

  • Milestone set according to targeted release.
  • Appropriate labels:
    • 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.

@@ -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())
Copy link
Member

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?

Copy link
Member

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.

@mgleung mgleung modified the milestones: v1.27.0, v1.27.1 May 10, 2022
@caseydavenport caseydavenport modified the milestones: v1.27.1, v1.27.2, v1.28.0 May 17, 2022
@caseydavenport
Copy link
Member

@tmjd are you still planning on getting this one in?

I think it needs some test updates as well to make them pass.

@tmjd
Copy link
Member Author

tmjd commented Jun 24, 2022

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.

@mgleung mgleung modified the milestones: v1.28.0, v1.29.0 Aug 16, 2022
@mgleung mgleung modified the milestones: v1.29.0, v1.29.1, v1.30.0 Jan 13, 2023
@danudey danudey modified the milestones: v1.30.0, v1.30.1 May 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants