9b0f5b39 by Adam Heath

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

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