From: Dusan Rozman Date: Mon, 2 Oct 2017 13:55:04 +0000 (-0400) Subject: Added missing mount to aaf deployment yaml X-Git-Tag: 5.0.0-ONAP^2~64 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=d29156116c93e33ecbaa9f9ea867b6e9c102d989;p=aaf%2Foom.git Added missing mount to aaf deployment yaml Created mount /data2/ needed for aaf Change-Id: I050579e42afce9dc29c4c7a3cfdfb05ddb4d4217 Issue-ID: OOM-331 Signed-off-by: Dusan Rozman --- diff --git a/templates/aaf-cs-deployment.yaml b/templates/aaf-cs-deployment.yaml index f240150..23968f9 100644 --- a/templates/aaf-cs-deployment.yaml +++ b/templates/aaf-cs-deployment.yaml @@ -22,14 +22,14 @@ spec: name: "aaf-cs" volumeMounts: - mountPath: /data - name: aaf-data + name: aaf-cs-data readinessProbe: tcpSocket: port: 7000 initialDelaySeconds: 5 periodSeconds: 10 volumes: - - name: aaf-data + - name: aaf-cs-data hostPath: path: /dockerdata-nfs/{{ .Values.nsPrefix }}/aaf/data imagePullSecrets: diff --git a/templates/aaf-deployment.yaml b/templates/aaf-deployment.yaml index 20e21c4..5950b92 100644 --- a/templates/aaf-deployment.yaml +++ b/templates/aaf-deployment.yaml @@ -47,11 +47,18 @@ spec: value: cassandra_container image: {{ .Values.image.aafImage }}:{{ .Values.image.aafVersion }} imagePullPolicy: {{ .Values.pullPolicy }} + volumeMounts: + - mountPath: /data + name: aaf-data name: aaf readinessProbe: tcpSocket: port: 8101 initialDelaySeconds: 5 periodSeconds: 10 + volumes: + - name: aaf-data + hostPath: + path: /dockerdata-nfs/{{ .Values.nsPrefix }}/aaf/data2 imagePullSecrets: - name: {{ .Values.nsPrefix }}-docker-registry-key