9b0f5b39 by Adam Heath

Add an image.registry setting, patterned after postgresql chart.

1 parent 1c8a743c
......@@ -75,7 +75,7 @@ spec:
{{- define "moqui-container-pod" }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
command: ["java", "-server", "-XX:-OmitStackTraceInFastThrow", "-cp", ".", "MoquiStart"]
envFrom:
......
......@@ -3,6 +3,7 @@ kind: Deployment
imagePullSecrets: {}
image:
pullPolicy: null
registry: docker.io
repository: moqui/moquidemo
tag: null
......