helm-charts
helm-charts copied to clipboard
Use `tls.enabled` to conditionally render the client rotation cronjob
Currently the certificate rotation cronjob for the clients and nodes is rendered even if tls.enabled
is disabled.
https://github.com/cockroachdb/helm-charts/blob/da0ac4372c7b34144a904c4999fbc1fb17676895/cockroachdb/templates/cronjob-client-node-certSelfSigner.yaml#L1
The check should be similar to https://github.com/cockroachdb/helm-charts/blob/da0ac4372c7b34144a904c4999fbc1fb17676895/cockroachdb/templates/cronjob-ca-certSelfSigner.yaml#L1