X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fmso%2Ftemplates%2Fmso-deployment.yaml;h=a33d9b08fade4808da3387628f057e5622eab277;hb=8f2d17ed1dd18fc4a31fdb13997cdd9ff1a77a72;hp=ce327fe7a48ce201c9592afc27e8d11c92922857;hpb=975d2a1a839489c47403d8ba6b610c3ab0de8bc4;p=oom.git diff --git a/kubernetes/mso/templates/mso-deployment.yaml b/kubernetes/mso/templates/mso-deployment.yaml index ce327fe7a4..a33d9b08fa 100644 --- a/kubernetes/mso/templates/mso-deployment.yaml +++ b/kubernetes/mso/templates/mso-deployment.yaml @@ -1,3 +1,4 @@ +#{{ if not .Values.disableMsoMso }} apiVersion: extensions/v1beta1 kind: Deployment metadata: @@ -42,7 +43,7 @@ spec: spec: containers: - command: - - /docker-files/scripts/start-jboss-server.sh + - /tmp/start-jboss-server.sh image: {{ .Values.image.mso }} imagePullPolicy: {{ .Values.pullPolicy }} name: mso @@ -52,7 +53,7 @@ spec: readOnly: true - mountPath: /shared name: mso - - mountPath: /docker-files + - mountPath: /tmp/start-jboss-server.sh name: mso-docker-files - mountPath: /var/log/onap name: mso-logs @@ -141,6 +142,7 @@ spec: emptyDir: {} - name: mso-docker-files hostPath: - path: /dockerdata-nfs/{{ .Values.nsPrefix }}/mso/docker-files + path: /dockerdata-nfs/{{ .Values.nsPrefix }}/mso/docker-files/scripts/start-jboss-server.sh imagePullSecrets: - name: "{{ .Values.nsPrefix }}-docker-registry-key" +#{{ end }} \ No newline at end of file