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

helm: Add flag to disable CRD check for mass server-side apply #25956

Merged
merged 1 commit into from
Jun 14, 2023
Merged

helm: Add flag to disable CRD check for mass server-side apply #25956

merged 1 commit into from
Jun 14, 2023

Conversation

jcpunk
Copy link
Contributor

@jcpunk jcpunk commented Jun 6, 2023

Please ensure your pull request adheres to the following guidelines:

  • For first time contributors, read Submitting a pull request
  • All code is covered by unit and/or runtime tests where feasible.
  • All commits contain a well written commit description including a title,
    description and a Fixes: #XXX line if the commit addresses a particular
    GitHub issue.
  • If your commit description contains a Fixes: <commit-id> tag, then
    please add the commit author[s] as reviewer[s] to this issue.
  • All commits are signed off. See the section Developer’s Certificate of Origin
  • Provide a title or release-note blurb suitable for the release notes.
  • Are you a user of Cilium? Please add yourself to the Users doc
  • Thanks for contributing!

When using a mass deployment tool (like kluctl) helm may be rendered locally before being submitted. In this two step process the CRDs are not yet deployed and thus the chart fails to render. The ability to pre-render the templates simplifies generation of the manifests for offline review or pass through kustomize. This sort of gitops workflow does all the renders in one step for review, then the apply in another step once the differences are approved.

helm: Add flag to disable CRD check for mass server-side apply

I'd like to see this in both 1.14 and 1.13 so I don't need to maintain a local fork of the 1.13 chart.

@jcpunk jcpunk requested review from a team as code owners June 6, 2023 20:58
@jcpunk jcpunk requested review from youngnick and kaworu June 6, 2023 20:58
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Jun 6, 2023
@github-actions github-actions bot added the kind/community-contribution This was a contribution made by a community member. label Jun 6, 2023
Signed-off-by: Pat Riehecky <riehecky@fnal.gov>
@jcpunk jcpunk requested a review from a team as a code owner June 7, 2023 02:32
@jcpunk jcpunk requested a review from qmonnet June 7, 2023 02:32
@qmonnet qmonnet added release-note/misc This PR makes changes that have no direct user impact. area/helm Impacts helm charts and user deployment experience labels Jun 7, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Jun 7, 2023
Copy link
Member

@qmonnet qmonnet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good from my side. I would appreciate more context/motivation in the commit description, if you don't mind a quick edit.

@qmonnet
Copy link
Member

qmonnet commented Jun 7, 2023

I'd like to see this in both 1.14 and 1.13

Should be in for 1.14, but I'm afraid this does not fall within the criteria we use for backports. I understand this may be frustrating, but it's hard to know where to draw the line if we start making exceptions 😕.

@kaworu
Copy link
Member

kaworu commented Jun 12, 2023

/test

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jun 12, 2023
@jcpunk
Copy link
Contributor Author

jcpunk commented Jun 12, 2023

I'm not sure how to address the one failing job.

@kaworu
Copy link
Member

kaworu commented Jun 13, 2023

I'm not sure how to address the one failing job.

It's not marked as Required, so no action is needed AFAIK.

@qmonnet
Copy link
Member

qmonnet commented Jun 13, 2023

This job was broken a few days ago, then fixed. You'd need to rebase your PR to have it run correctly, but as Alex said it's not necessary in the current case.

@joestringer joestringer added the needs-backport/1.13 This PR / issue needs backporting to the v1.13 branch label Jun 14, 2023
@joestringer joestringer merged commit a808972 into cilium:main Jun 14, 2023
62 of 63 checks passed
@jcpunk jcpunk deleted the no-crd-check branch June 14, 2023 15:14
@nbusseneau nbusseneau mentioned this pull request Jun 22, 2023
19 tasks
@nbusseneau nbusseneau added backport-pending/1.13 The backport for Cilium 1.13.x for this PR is in progress. and removed needs-backport/1.13 This PR / issue needs backporting to the v1.13 branch labels Jun 22, 2023
@tklauser tklauser added backport-done/1.13 The backport for Cilium 1.13.x for this PR is done. and removed backport-pending/1.13 The backport for Cilium 1.13.x for this PR is in progress. labels Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/helm Impacts helm charts and user deployment experience backport-done/1.13 The backport for Cilium 1.13.x for this PR is done. kind/community-contribution This was a contribution made by a community member. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants