summaryrefslogtreecommitdiffstats
path: root/certService/helm/aaf-cert-service/templates/deployment.yaml
diff options
context:
space:
mode:
authorBogumil Zebek <bogumil.zebek@nokia.com>2020-02-20 12:19:39 +0000
committerGerrit Code Review <gerrit@onap.org>2020-02-20 12:19:39 +0000
commit639c40968f329fc6526a35c9fca2817e9cf0faa7 (patch)
treea3b55c652303bc5d6e548d7e7f17adbef52edace /certService/helm/aaf-cert-service/templates/deployment.yaml
parentff8b47138f19faf4ca62f1f3d0773565c8df6188 (diff)
parentd54223e7cd3026e260e06df39dd52c4368e7053d (diff)
Merge "Load CMP Servers config from volume"
Diffstat (limited to 'certService/helm/aaf-cert-service/templates/deployment.yaml')
-rw-r--r--certService/helm/aaf-cert-service/templates/deployment.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/certService/helm/aaf-cert-service/templates/deployment.yaml b/certService/helm/aaf-cert-service/templates/deployment.yaml
index 0b64d730..2e16cbca 100644
--- a/certService/helm/aaf-cert-service/templates/deployment.yaml
+++ b/certService/helm/aaf-cert-service/templates/deployment.yaml
@@ -12,6 +12,10 @@ spec:
labels:
app: {{ .Values.appLabel }}
spec:
+ volumes:
+ - name: {{ .Values.volume.name }}
+ secret:
+ secretName: {{ .Values.secret.name }}
containers:
- name: aaf-cert-service
image: {{ .Values.repository }}/{{ .Values.image }}
@@ -30,5 +34,9 @@ spec:
path: {{ .Values.healthcheck.path }}
initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
+ volumeMounts:
+ - name: {{ .Values.volume.name }}
+ mountPath: {{ .Values.volume.mountPath }}
+ readOnly: true
resources:
{{ toYaml .Values.resources }}