X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fso%2Fcomponents%2Fso-cnf-adapter%2Ftemplates%2Fdeployment.yaml;h=4518a5f6077a0d9fdb7637f26029225022226c42;hb=a2e327595e334ee75b7f82fe46bfdd7195158ebc;hp=dfff4341f5f9177f5c67808a95ac70bd3429006f;hpb=dd714d1a2746b16644abb42a3f4d3824cbc1132e;p=oom.git diff --git a/kubernetes/so/components/so-cnf-adapter/templates/deployment.yaml b/kubernetes/so/components/so-cnf-adapter/templates/deployment.yaml index dfff4341f5..4518a5f607 100755 --- a/kubernetes/so/components/so-cnf-adapter/templates/deployment.yaml +++ b/kubernetes/so/components/so-cnf-adapter/templates/deployment.yaml @@ -45,7 +45,7 @@ spec: {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "so-aai-creds" "key" "password") | indent 14 }} - name: MSO_KEY {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "cnf-adapter-mso-key" "key" "password") | indent 14 }} - image: {{ .Values.global.dockerHubRepository }}/{{ .Values.global.soCryptoImage }} + image: {{ include "repositoryGenerator.dockerHubRepository" . }}/{{ .Values.global.soCryptoImage }} imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} volumeMounts: - name: encoder @@ -53,7 +53,7 @@ spec: {{ include "common.readinessCheck.waitFor" . | indent 8 | trim }} containers: - name: {{ include "common.name" . }} - image: {{ include "common.repository" . }}/{{ .Values.image }} + image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }} command: - sh args: @@ -92,6 +92,7 @@ spec: - name: config mountPath: /app/config readOnly: true + readOnly: true - name: encoder mountPath: /input livenessProbe: @@ -115,3 +116,4 @@ spec: medium: Memory imagePullSecrets: - name: "{{ include "common.namespace" . }}-docker-registry-key" +