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

PolicyException: Helm deploy order #114

Open
krankkkk opened this issue Jun 5, 2024 · 1 comment
Open

PolicyException: Helm deploy order #114

krankkkk opened this issue Jun 5, 2024 · 1 comment
Labels
kind/enhancement/proposed Issue relates to a proposed Enhancement.

Comments

@krankkkk
Copy link
Contributor

krankkkk commented Jun 5, 2024

Sometimes the PolicyException get's deployed to k8s after the pod has already been modified by kyverno.

So we should probably get the PolicyExceptions deployed first.

Maybe via Helm-Hooks & Sync-Waves?

@krankkkk krankkkk added the bug label Jun 5, 2024
@krankkkk krankkkk added kind/enhancement/proposed Issue relates to a proposed Enhancement. and removed bug labels Jun 23, 2024
@d-schl-iits
Copy link

I see two potential problems with helm-hooks:

  • the PolicyExceptions get recreated in the cluster on each sync
  • if you only change the PolicyExceptions they do not get updated, because no sync is triggered and thus no hook is triggered

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement/proposed Issue relates to a proposed Enhancement.
Projects
None yet
Development

No branches or pull requests

2 participants