diff options
author | Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> | 2022-03-02 12:23:04 +0100 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2022-03-15 09:55:25 +0000 |
commit | 93b32fa69f35af6a8751ce8ac9d2d8ec7740e283 (patch) | |
tree | bec7efe1889cbd47dc61291f375b2e4f5f16ada8 /robot/assets/helm/ves-client/templates/certificate.yaml | |
parent | 644abb6035ca5200311f91c5f8a95c0c44c651d0 (diff) |
[ROBOT] ADD CMPv2 test cases that use helm based components
Add CMPv2 helm based test cases
Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>
Issue-ID: INT-1895
Change-Id: Ifbbf80452cd4b65e4b5df5586bfc72c1ecaac731
Diffstat (limited to 'robot/assets/helm/ves-client/templates/certificate.yaml')
-rw-r--r-- | robot/assets/helm/ves-client/templates/certificate.yaml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/robot/assets/helm/ves-client/templates/certificate.yaml b/robot/assets/helm/ves-client/templates/certificate.yaml new file mode 100644 index 00000000..a8bbbd72 --- /dev/null +++ b/robot/assets/helm/ves-client/templates/certificate.yaml @@ -0,0 +1,28 @@ +apiVersion: cert-manager.io/v1 +kind: Certificate +metadata: + name: '{{ include "ves-client.fullname" . }}-cert' + namespace: {{ include "ves-client.namespace" . }} +spec: + secretName: ves-client-secret-cmpv2 + commonName: {{ include "ves-client.fullname" . }} + renewBefore: {{ .Values.certificates.renewBefore }} + duration: {{ .Values.certificates.duration }} + subject: + organizations: + - {{ .Values.certificates.subject.organization }} + countries: + - {{ .Values.certificates.subject.country }} + localities: + - {{ .Values.certificates.subject.locality }} + provinces: + - {{ .Values.certificates.subject.province }} + organizationalUnits: + - {{ .Values.certificates.subject.organizationalUnit }} + issuerRef: + group: {{ .Values.certificates.issuerRef.group }} + kind: {{ .Values.certificates.issuerRef.kind }} + name: {{ .Values.certificates.issuerRef.name }} + dnsNames: {{ include "ves-client.dnsNames" . | indent 4 }} + keystores: + {{ toYaml .Values.certificates.keystores | nindent 4 }} |