Configurable repository for container images.
Configurable repository for container images. By default
pull the images from docker hub
Change-Id: Iabcf97318be11c20e6fcb7b7766c9325512bb867
diff --git a/omec-control-plane/templates/statefulset-pcrf.yaml b/omec-control-plane/templates/statefulset-pcrf.yaml
index 8fa34d8..ac7de7f 100644
--- a/omec-control-plane/templates/statefulset-pcrf.yaml
+++ b/omec-control-plane/templates/statefulset-pcrf.yaml
@@ -39,7 +39,7 @@
serviceAccountName: pcrf
initContainers:
- name: pcrf-bootstrap
- image: {{ .Values.images.tags.pcrfdb }}
+ image: {{ .Values.images.repository }}{{ .Values.images.tags.pcrfdb }}
imagePullPolicy: {{ .Values.images.pullPolicy }}
command: ["/opt/c3po/pcrf/pcrf-bootstrap.sh"]
volumeMounts:
@@ -50,7 +50,7 @@
{{- end }}
containers:
- name: pcrf
- image: {{ .Values.images.tags.pcrf }}
+ image: {{ .Values.images.repository }}{{ .Values.images.tags.pcrf }}
imagePullPolicy: {{ .Values.images.pullPolicy }}
{{- if .Values.config.coreDump.enabled }}
securityContext: