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

[SURE-5906] set labels on namespaces created via fleet as part of the helm install / create namespace part to support Pod Security Admission #1484

Closed
kkaempf opened this issue Apr 21, 2023 · 3 comments
Labels
Milestone

Comments

@kkaempf
Copy link
Collaborator

kkaempf commented Apr 21, 2023

SURE-5906

Request description:

When we install apps via fleet using the helm install way - this automatically creates the namespace for it. BUT it does not allow to set labels required for PSAs on the namespace created by fleet.

-> we must be able to add labels i.e. to set the PSA enforced to priviledged in case the PODs need that.

Actual behavior:

Not possible

Expected behavior:

Need to be able to specify the namespace labels as part of the helm install /  create namespace part as otherwise the PODs will not start if they need to have priviledged rights.

Workaround:

Is workararound available and implemented? no
What is the workaround: There is an idea to create the namespace "first" via a proper namespace yaml and then set dependencies between different bundles. But one of the problems here is the dependency management and the order - especially when having multiple fleet deployments going to the same target namespace.

@kkaempf kkaempf added this to the 2023-Q3-v2.7x milestone Apr 21, 2023
@kkaempf kkaempf added this to Fleet Apr 21, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New in Fleet Apr 21, 2023
@WeAreHadock
Copy link

Hey, is there a way to disable the namespace creation when installing a helm chart using fleet ?
I'm trying the workaround described in this issue, a bundle creating the namespace and a bundle deploying my helm chart but there is a conflict as both bundles try to create the namespace.

@manno manno moved this from 🆕 New to 📋 Backlog in Fleet May 9, 2023
@manno manno removed this from the 2023-Q3-v2.7x milestone May 23, 2023
@manno manno removed this from Fleet May 23, 2023
@kkaempf kkaempf added this to Fleet Dec 14, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New in Fleet Dec 14, 2023
@kkaempf kkaempf moved this from 🆕 New to 📋 Backlog in Fleet Dec 14, 2023
@kkaempf kkaempf added this to the v2.9.0 milestone Dec 14, 2023
@manno manno moved this from 📋 Backlog to To Triage in Fleet Mar 13, 2024
@kkaempf kkaempf changed the title set labels on namespaces created via fleet as part of the helm install / create namespace part to support Pod Security Admission [SURE-5906] set labels on namespaces created via fleet as part of the helm install / create namespace part to support Pod Security Admission Mar 13, 2024
@manno manno moved this from To Triage to 📋 Backlog in Fleet Mar 13, 2024
@manno
Copy link
Member

manno commented Apr 5, 2024

I believe this is fixed by #1553

@manno manno closed this as completed Apr 5, 2024
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Fleet Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

3 participants