Closed jusschwa-ibm closed 2 years ago
I think this is a positive contribution, so we will have 3 ways to define the certs: 1) cert-manager 2) from the chart defaults (where we currently suggest you run "gencerts" and then repackage charts) 3) from values which is clearly superior to packaging them in the chart
Could you also include a suggestion on updating the Project README.md and helm/portieris/README.md ? Both to remove the unnecessary gencerts advice and to show how to generate and supply certs in values.
The values file allows you to define
tlsCert
andtlsKey
whenUseGeneratedCerts
is set to true. But there is no way to define the ca cert used by the webhooks when you aren't using cert-manager, it only allows you to define it from the generated ca.crt file, which seems to defeat the purpose. This PR allows this CA cert to be defined from values.