diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-09-16 08:11:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-09-16 08:11:35 +0000 |
commit | 12020df05c2aabf7fd86c8393a2aba549584de1b (patch) | |
tree | 4cc56892d9e598fb33542d435ed4af22b02bf8aa /kubernetes/contrib/components/ejbca/templates | |
parent | e9d90d8dfd2a28d5ff248172fb9b81df9de8f43d (diff) | |
parent | ed6e62100249bf099ec8b90a8ad147532b40372b (diff) |
Merge "[CONTRIB] Adjust EJBCA to issue certificates usable by servers."
Diffstat (limited to 'kubernetes/contrib/components/ejbca/templates')
-rw-r--r-- | kubernetes/contrib/components/ejbca/templates/configmap.yaml | 8 | ||||
-rw-r--r-- | kubernetes/contrib/components/ejbca/templates/deployment.yaml | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/kubernetes/contrib/components/ejbca/templates/configmap.yaml b/kubernetes/contrib/components/ejbca/templates/configmap.yaml index d336bc9a94..d61af076a0 100644 --- a/kubernetes/contrib/components/ejbca/templates/configmap.yaml +++ b/kubernetes/contrib/components/ejbca/templates/configmap.yaml @@ -18,3 +18,11 @@ metadata: name: "{{ include "common.fullname" . }}-config-script" data: {{ tpl (.Files.Glob "resources/ejbca-config.sh").AsConfig . | indent 2 }} +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: "{{ include "common.fullname" . }}-profiles" +data: +{{ tpl (.Files.Glob "resources/certprofile_CUSTOM_ENDUSER-1834889499.xml").AsConfig . | indent 2 }} +{{ tpl (.Files.Glob "resources/entityprofile_Custom_EndEntity-1356531849.xml").AsConfig . | indent 2 }} diff --git a/kubernetes/contrib/components/ejbca/templates/deployment.yaml b/kubernetes/contrib/components/ejbca/templates/deployment.yaml index 1b1843476d..495b816bc5 100644 --- a/kubernetes/contrib/components/ejbca/templates/deployment.yaml +++ b/kubernetes/contrib/components/ejbca/templates/deployment.yaml @@ -51,6 +51,8 @@ spec: volumeMounts: - name: "{{ include "common.fullname" . }}-volume" mountPath: /opt/primekey/scripts/ + - name: "{{ include "common.fullname" . }}-profiles-volume" + mountPath: /opt/primekey/custom_profiles/ ports: {{ include "common.containerPorts" . | nindent 10 }} env: - name: INITIAL_ADMIN @@ -90,3 +92,7 @@ spec: name: "{{ include "common.fullname" . }}-config-script" defaultMode: 0755 name: "{{ include "common.fullname" . }}-volume" + - configMap: + name: "{{ include "common.fullname" . }}-profiles" + defaultMode: 0755 + name: "{{ include "common.fullname" . }}-profiles-volume" |