aboutsummaryrefslogtreecommitdiffstats
path: root/robot/assets/helm/pm-https-server/templates/certificate.yaml
diff options
context:
space:
mode:
authorKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2021-11-24 12:00:45 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2021-12-13 17:01:24 +0000
commitbae8d839893d1ce5c1e9dfa670fbe536520093a0 (patch)
tree02feb907365859d03498ee9db10cf517a05804d1 /robot/assets/helm/pm-https-server/templates/certificate.yaml
parent2a2c4c30c423a528e1969eaa8fb1176ba3250689 (diff)
[ROBOT] ADD HTTPS based BULKPM test cases that use helm based componentsrefactoring
Add https server based test cases Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> Issue-ID: INT-1895 Change-Id: I74f7102398a08e1629b50f510ef179d35c8761bd
Diffstat (limited to 'robot/assets/helm/pm-https-server/templates/certificate.yaml')
-rw-r--r--robot/assets/helm/pm-https-server/templates/certificate.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/robot/assets/helm/pm-https-server/templates/certificate.yaml b/robot/assets/helm/pm-https-server/templates/certificate.yaml
new file mode 100644
index 00000000..229ac940
--- /dev/null
+++ b/robot/assets/helm/pm-https-server/templates/certificate.yaml
@@ -0,0 +1,26 @@
+apiVersion: cert-manager.io/v1
+kind: Certificate
+metadata:
+ namespace: {{ include "pmhttpsserver.namespace" . }}
+ name: '{{ .Values.certificates.name }}-cert'
+spec:
+ commonName: {{ .Values.certificates.commonName }}
+ secretName: '{{ .Values.certificates.name }}-secret'
+ 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 "pmhttpsserver.dnsNames" . | indent 4 }}