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

How to use cert-manager for helper secrets #165

Open
MPV opened this issue Sep 5, 2024 · 3 comments
Open

How to use cert-manager for helper secrets #165

MPV opened this issue Sep 5, 2024 · 3 comments

Comments

@MPV
Copy link

MPV commented Sep 5, 2024

It would be nice being able to use cert-manager (instead of self-signed CA certs) for the helper secrets.

Would you be up for adding explicit support or docs for this?

@MPV
Copy link
Author

MPV commented Sep 5, 2024

@MPV
Copy link
Author

MPV commented Sep 5, 2024

Because as it is now, using the genCA function has the certs changing every time helm rerenders the templates (and in our case we have our CI/CD rerendering and hydrating the manifests as part of our pipeline, which thus comes into an infinite loop caused by this).

More context on the issue and approaches around genCA:

@MPV
Copy link
Author

MPV commented Sep 5, 2024

I think I've found the way to do this now, using these values:

secrets:
  helper_certificate: "some-secret"
  helper_token: "another-secret"

...and making sure their values are set outside the chart, for example using cert-manager for the helper_certificate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant