X-Git-Url: https://gerrit.onap.org/r/gitweb?p=oom.git;a=blobdiff_plain;f=kubernetes%2Fdmaap%2Fcomponents%2Fdmaap-bc%2Ftemplates%2Fdmaap-provisioning-job.yaml;h=ab6f573a34f6645965f1e68005801a59cf74c5f9;hp=039abaaf1f70df6550bf548c031895188b3e7b18;hb=0d5c917c02b40b335251a39952bb46f70bcb73ce;hpb=c8964e507dfc9b32a0f29f2a67ce74b1f8a260b9 diff --git a/kubernetes/dmaap/components/dmaap-bc/templates/dmaap-provisioning-job.yaml b/kubernetes/dmaap/components/dmaap-bc/templates/dmaap-provisioning-job.yaml index 039abaaf1f..ab6f573a34 100644 --- a/kubernetes/dmaap/components/dmaap-bc/templates/dmaap-provisioning-job.yaml +++ b/kubernetes/dmaap/components/dmaap-bc/templates/dmaap-provisioning-job.yaml @@ -32,7 +32,7 @@ spec: env: - name: DELAY value: "0" - {{- if .Values.global.allow_http }} + {{- if or (include "common.onServiceMesh" .) .Values.global.allow_http }} - name: PROTO value: "http" - name: PORT @@ -60,6 +60,7 @@ spec: - name: {{ include "common.fullname" . }}-topics mountPath: /opt/app/config/topics/ resources: {{ include "common.resources" . | nindent 10 }} + {{ include "common.waitForJobContainer" . | indent 6 | trim }} {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | nindent 8 }} {{- end -}}