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

Allow zarf to create private-registry secret when a namespace is created #3365

Open
a1994sc opened this issue Dec 31, 2024 · 0 comments
Open
Labels
enhancement ✨ New feature or request

Comments

@a1994sc
Copy link
Contributor

a1994sc commented Dec 31, 2024

Is your feature request related to a problem? Please describe.

When creating a namespace, or when a label is added to a namespace, that the private-registry secret is populated and managed by zarf

Describe the behavior you'd like

  • When a namespace resource is created
  • Then after the namespace is created zarf creates the secret private-registry

Additional context

  • In the file src/internal/packager/helm/post-render.go you already have logic to create the secret on existing namespaces
  • Istio creates a configmap, istio-ca-root-cert, whenever a new namespace is created
    • The mutating webhook used by zarf could just always create the secret in all namespaces created after zarf is installed.
@a1994sc a1994sc added the enhancement ✨ New feature or request label Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant