X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=charts%2Ftemplates%2Fdeployment.yaml;h=7d110cba254023f3ea30dc57ac845ca5a3575e9a;hb=ad9b5cb3883c9eacc897810cec8fe1c74bf7daa0;hp=402fe029d91a2c991bf04ef57f81ece0691d5593;hpb=14fc8de3f80b6e1ab1e8351017383e99628cb8e3;p=pti%2Fo2.git diff --git a/charts/templates/deployment.yaml b/charts/templates/deployment.yaml index 402fe02..7d110cb 100644 --- a/charts/templates/deployment.yaml +++ b/charts/templates/deployment.yaml @@ -43,7 +43,7 @@ spec: {{- end }} containers: - name: postgres - image: "{{ .Values.o2ims.image.img_postgres }}" + image: "{{ .Values.o2ims.images.tags.postgres }}" ports: - containerPort: 5432 env: @@ -60,15 +60,15 @@ spec: - name: db-pv mountPath: /var/lib/postgresql/data - name: redis - image: "{{ .Values.o2ims.image.img_redis }}" + image: "{{ .Values.o2ims.images.tags.redis }}" ports: - containerPort: 6379 - name: o2pubsub - image: "{{ .Values.o2ims.image.img_o2 }}" + image: "{{ .Values.o2ims.images.tags.o2service }}" command: ["/bin/bash", "/opt/o2pubsub_start.sh"] env: - name: DB_HOST - value: postgres + value: localhost - name: DB_PASSWORD value: o2ims123 - name: LOGGING_CONFIG_LEVEL @@ -82,7 +82,7 @@ spec: - name: PYTHONDONTWRITEBYTECODE value: "1" - name: REDIS_HOST - value: redis + value: localhost - name: K8S_KUBECONFIG value: {{ .Values.ocloud.K8S_KUBECONFIG }} volumeMounts: @@ -96,13 +96,13 @@ spec: mountPath: /configs/smoca.crt subPath: config.json - name: watcher - image: "{{ .Values.o2ims.image.img_o2 }}" + image: "{{ .Values.o2ims.images.tags.o2service }}" command: ["/bin/bash", "/opt/o2watcher_start.sh"] env: - name: API_HOST_EXTERNAL_FLOATING value: {{ .Values.ocloud.API_HOST_EXTERNAL_FLOATING }} - name: DB_HOST - value: postgres + value: localhost - name: DB_PASSWORD value: o2ims123 - name: LOGGING_CONFIG_LEVEL @@ -116,7 +116,7 @@ spec: - name: PYTHONDONTWRITEBYTECODE value: "1" - name: REDIS_HOST - value: redis + value: localhost volumeMounts: - name: scripts mountPath: /opt @@ -125,14 +125,14 @@ spec: subPath: config.json readOnly: true - name: o2api - image: "{{ .Values.o2ims.image.img_o2 }}" + image: "{{ .Values.o2ims.images.tags.o2service }}" ports: - containerPort: 80 env: - name: API_HOST_EXTERNAL_FLOATING value: {{ .Values.ocloud.API_HOST_EXTERNAL_FLOATING }} - name: DB_HOST - value: postgres + value: localhost - name: DB_PASSWORD value: o2ims123 - name: FLASK_APP @@ -149,7 +149,7 @@ spec: - name: PYTHONUNBUFFERED value: "1" - name: REDIS_HOST - value: redis + value: localhost - name: HELM_USER_PASSWD value: {{ .Values.ocloud.HELM_USER_PASSWD }} command: ["/bin/bash", "/opt/o2api_start.sh"] @@ -172,7 +172,7 @@ spec: readOnly: true {{- if .Values.o2dms.helm_cli_enable }} - name: helmcli - image: "{{ .Values.o2ims.image.img_o2 }}" + image: "{{ .Values.o2ims.images.tags.o2service }}" ports: - containerPort: 22 env: