Cert-manager additional certificate output formats config through helm

helm install cert-manager jetstack/cert-manager --namespace cert-manager --version v1.7.1 --create-namespace --set installCRDs=true --set featureGates="AdditionalCertificateOutputFormats=true"

Solution

one would need to set the webhook with extraArgs as follow:

helm install cert-manager jetstack/cert-manager --namespace cert-manager --version v1.7.1 --create-namespace --set installCRDs=true --set featureGates="AdditionalCertificateOutputFormats=true" --set webhook.extraArgs={--feature-gates="AdditionalCertificateOutputFormats=true"}

Better option

I think the better option is to prepare a values.yaml for the helm install to use (helm install …. -f values.yaml)

the root level featureGates at values.yaml
the extraArgs under webhook at values.yaml

Outcome

I am currently feeling a bit disappointed with this feature “additional certificate output formats”, I used to anticipate the result of the combined pem is combing the ca.crt and the tls.crt, but ended up it’s a combine of tls.key and tls.crt…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store