fix: Add more bangs and whistles to puller
This commit is contained in:
parent
a2479976e6
commit
f25565dff5
3 changed files with 37 additions and 1 deletions
|
@ -55,13 +55,42 @@ spec:
|
|||
{{- end }}
|
||||
- name: {{ .Chart.PullName }}
|
||||
image: "{{ .Values.puller.image.repository }}:{{ .Values.puller.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
imagePullPolicy: {{ .Values.puller.image.pullPolicy }}
|
||||
ports:
|
||||
- containerPort: 80
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /data
|
||||
env:
|
||||
{{- with .Values.env.plain }}
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- range .Values.env.configMapKeys }}
|
||||
- name: {{ .name }}
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: {{ .configMapName }}
|
||||
key: {{ .key }}
|
||||
{{- end }}
|
||||
{{- range .Values.env.secretKeys }}
|
||||
- name: {{ .name }}
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .secretName }}
|
||||
key: {{ .key }}
|
||||
{{- end }}
|
||||
envFrom:
|
||||
{{- range .Values.env.configMapRefs }}
|
||||
- configMapRef:
|
||||
name: {{ .name }}
|
||||
optional: {{ .optional | default false }}
|
||||
{{- end }}
|
||||
{{- range .Values.env.secretRefs }}
|
||||
- secretRef:
|
||||
name: {{ .name }}
|
||||
optional: {{ .optional | default false }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue