Open aries1980 opened 3 years ago
This issue could be easily fixed by changing
organization:
- Cockroach
into something like
{{- if .Values.tls.certs.useCertManagerV1CRDs }}
subject:
organizations:
- Cockroach
{{ else }}
organization:
- Cockroach
{{ end }}
in templates/certificate.client.yaml and templates/certificate.node.yaml
When I install the Helm chart with the values:
I get the
ValidationError(Certificate.spec): unknown field "organization" in io.cert-manager.v1.Certificate.spec
error, probably because theorganization
section of theCertificate
CRD is now under thesubject
property: https://cert-manager.io/docs/usage/certificate/ but in the Helm chart is straight underspec
: https://github.com/cockroachdb/helm-charts/blob/3cd97971dc0effc4023eee7217609b883df14154/cockroachdb/templates/certificate.client.yaml#L35Solution fix:
Just put it under
subject
forcert-manager.io/v1
at least and should work.Versions:
Detailed error message: