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

use same certificate generation settings as helm template functions #862

Closed
Tracked by #7
viccuad opened this issue Aug 30, 2024 · 1 comment · Fixed by #866
Closed
Tracked by #7

use same certificate generation settings as helm template functions #862

viccuad opened this issue Aug 30, 2024 · 1 comment · Fixed by #866
Assignees
Milestone

Comments

@viccuad
Copy link
Member

viccuad commented Aug 30, 2024

As we are using genCA and genSigneCert helm template functions to bootstrap the initial certificates, we need to use the same settings as helm to re-generate the certificates during the rotation process.

Helm uses sprig to expose the certificate generation template functions.
We will need to use the same settings as sprig, see: https://github.com/Masterminds/sprig/blob/master/crypto.go

@viccuad
Copy link
Member Author

viccuad commented Aug 30, 2024

@fabriziosestito could you expand a bit on this issue?

@viccuad viccuad added this to the 1.17 milestone Aug 30, 2024
@fabriziosestito fabriziosestito changed the title use same certificate generation settings as helm (see: https://github.com/Masterminds/sprig/blob/master/crypto.go, sprig is the library used by helm to add genCA and genSignedCert to the templates) use same certificate generation settings as helm template functions Sep 2, 2024
@fabriziosestito fabriziosestito self-assigned this Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
2 participants