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 chart: Add option to enable MutatingWebhookConfiguration only for specific namespaces #2090

Closed
2 of 4 tasks
bacherfl opened this issue Sep 13, 2023 · 0 comments · Fixed by #2244
Closed
2 of 4 tasks
Assignees
Milestone

Comments

@bacherfl
Copy link
Member

bacherfl commented Sep 13, 2023

Currently, the MutatingWebhookConfiguration that is installed with Keptn is configured to be enabled for all namespaces, with the namespace of Keptn and some others being excluded. However, in some cases it might be desirable to inverse this, and only enable the webhook for a list of selected namespaces, in order to not affect other namespaces (e.g. by pods not being able to start anymore in case the Keptn installation went wrong).

DoD:

  • Add an option for enabling the MutatingWebhookConfiguration for a list of selected namespaces to the helm chart
  • If no option list is provided in the Helm Value, then we will operate like the current behavior, i.e., all namespaces will be "monitored"
  • Integration test
  • Document this in the installation page
@bacherfl bacherfl added status: ready-for-refinement Issue is relevant for the next backlog refinment lifecycle-operator status: needs-discussion and removed status: ready-for-refinement Issue is relevant for the next backlog refinment labels Sep 13, 2023
@mowies mowies added the helm label Oct 4, 2023
@thisthat thisthat added this to the 0.9 milestone Oct 4, 2023
@thisthat thisthat moved this to 🏗 Shaping in Keptn Lifecycle Toolkit Oct 4, 2023
@thisthat thisthat moved this from 🏗 Shaping to 🎟️ Refined in Keptn Lifecycle Toolkit Oct 4, 2023
@odubajDT odubajDT self-assigned this Oct 6, 2023
@github-project-automation github-project-automation bot moved this from 🎟️ Refined to ✅ Done in Keptn Lifecycle Toolkit Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
4 participants