summaryrefslogtreecommitdiffstats
path: root/kubernetes/dmaap/components/message-router/templates/statefulset.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-11-26 09:55:02 +0000
committerGerrit Code Review <gerrit@onap.org>2020-11-26 09:55:02 +0000
commitad8304614c396970f9ae1f18019d7bcca8f2baad (patch)
treec191a46ca5eed541fea28b31744f3a479839b894 /kubernetes/dmaap/components/message-router/templates/statefulset.yaml
parentcdf8a886b5d678f80d4e28cc9d8533e971b23970 (diff)
parent6b09654a7772371942de7e75ac4ce0a60b1065a8 (diff)
Merge "[DMAAP] Uses new tpls for repos / images"
Diffstat (limited to 'kubernetes/dmaap/components/message-router/templates/statefulset.yaml')
-rw-r--r--kubernetes/dmaap/components/message-router/templates/statefulset.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/dmaap/components/message-router/templates/statefulset.yaml b/kubernetes/dmaap/components/message-router/templates/statefulset.yaml
index 940ad25ce5..e936ed2fb6 100644
--- a/kubernetes/dmaap/components/message-router/templates/statefulset.yaml
+++ b/kubernetes/dmaap/components/message-router/templates/statefulset.yaml
@@ -39,13 +39,13 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- image: "{{ include "common.repository" . }}/{{ .Values.global.readinessImage }}"
+ image: {{ include "repositoryGenerator.image.readiness" . }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
name: {{ include "common.name" . }}-readiness
containers:
{{- if .Values.prometheus.jmx.enabled }}
- name: prometheus-jmx-exporter
- image: "{{ .Values.prometheus.jmx.imageRepository }}/{{ .Values.prometheus.jmx.image }}:{{ .Values.prometheus.jmx.imageTag }}"
+ image: {{ include "repositoryGenerator.dockerHubRepository" . }}/{{ .Values.prometheus.jmx.image }}:{{ .Values.prometheus.jmx.imageTag }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
command:
- java
@@ -65,7 +65,7 @@ spec:
mountPath: /etc/jmx-kafka
{{- end }}
- name: {{ include "common.name" . }}
- image: "{{ include "common.repository" . }}/{{ .Values.image }}"
+ image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
ports: {{ include "common.containerPorts" . | nindent 10 }}
{{- if eq .Values.liveness.enabled true }}