diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-09-04 16:34:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-09-04 16:34:04 +0000 |
commit | df232875fb10b77e74ef00df5d248a9628577979 (patch) | |
tree | 73ddf167e3e2bed6411cd103c689eaec6de051ab /kubernetes/policy/components/policy-drools-pdp/templates/statefulset.yaml | |
parent | df63472f4a01598dc71b7e8a458726c8590d8b41 (diff) | |
parent | 1694e1d1f6ea1af001ed651609cc66b35a0ac4e4 (diff) |
Merge "[GENERAL] Use readiness container v3.0.1"
Diffstat (limited to 'kubernetes/policy/components/policy-drools-pdp/templates/statefulset.yaml')
-rwxr-xr-x | kubernetes/policy/components/policy-drools-pdp/templates/statefulset.yaml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kubernetes/policy/components/policy-drools-pdp/templates/statefulset.yaml b/kubernetes/policy/components/policy-drools-pdp/templates/statefulset.yaml index dc917ce248..eb1ef4203a 100755 --- a/kubernetes/policy/components/policy-drools-pdp/templates/statefulset.yaml +++ b/kubernetes/policy/components/policy-drools-pdp/templates/statefulset.yaml @@ -37,7 +37,7 @@ spec: spec: initContainers: - command: - - /root/job_complete.py + - /app/ready.py args: - --job-name - {{ include "common.release" . }}-policy-galera-config @@ -47,12 +47,12 @@ spec: fieldRef: apiVersion: v1 fieldPath: metadata.namespace - image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}" + image: "{{ include "common.repository" . }}/{{ .Values.global.readinessImage }}" imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} name: {{ include "common.name" . }}-db-readiness {{- if not .Values.nexus.offline }} - command: - - /root/ready.py + - /app/ready.py args: - --container-name - {{ .Values.nexus.name }} @@ -62,7 +62,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: metadata.namespace - image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}" + image: "{{ include "common.repository" . }}/{{ .Values.global.readinessImage }}" imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} name: {{ include "common.name" . }}-readiness {{- end }} |