aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/dmaap/components/dmaap-bc/templates/dmaap-provisioning-job.yaml
diff options
context:
space:
mode:
authorFiachra Corcoran <fiachra.corcoran@est.tech>2022-08-04 06:32:44 +0000
committerGerrit Code Review <gerrit@onap.org>2022-08-04 06:32:44 +0000
commite4aac7a3c577b7bb9eaae93387d482f952ee4b72 (patch)
tree1effb8c04ffc7bcde788c11caf96d141ba47ee2c /kubernetes/dmaap/components/dmaap-bc/templates/dmaap-provisioning-job.yaml
parent51cb65c4e56a2ba8e6fe2b6516a8cb8e421e2493 (diff)
parent0d5c917c02b40b335251a39952bb46f70bcb73ce (diff)
Merge "[DMAAP] DMaaP ServiceMesh compatibility"
Diffstat (limited to 'kubernetes/dmaap/components/dmaap-bc/templates/dmaap-provisioning-job.yaml')
-rw-r--r--kubernetes/dmaap/components/dmaap-bc/templates/dmaap-provisioning-job.yaml3
1 files changed, 2 insertions, 1 deletions
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 -}}