1 Commits
1.1.0 ... 1.1.1

Author SHA1 Message Date
297f36920a fix(certificate): subject in body must be of type object
All checks were successful
Helm / helm-lint (push) Successful in 7s
Helm / helm-unittest (push) Successful in 7s
Release / publish-chart (push) Successful in 18s
2025-10-14 23:26:09 +02:00
2 changed files with 11 additions and 1 deletions

View File

@@ -48,6 +48,15 @@ spec:
secretTemplate:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- if or .Values.certificate.new.subject.countries
.Values.certificate.new.subject.localities
.Values.certificate.new.subject.organizationalUnits
.Values.certificate.new.subject.organizations
.Values.certificate.new.subject.postalCodes
.Values.certificate.new.subject.provinces
.Values.certificate.new.subject.serialNumber
.Values.certificate.new.subject.streetAddresses
}}
subject:
{{- with .Values.certificate.new.subject.countries }}
countries:
@@ -80,6 +89,7 @@ spec:
streetAddresses:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
usages:
{{- range .Values.certificate.new.usages }}
- {{ . }}

View File

@@ -99,7 +99,7 @@ tests:
path: spec.secretTemplate.annotations
- exists:
path: spec.secretTemplate.labels
- exists:
- notExists:
path: spec.subject
- notExists:
path: spec.subject.countries