You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- apiVersion: v1
- kind: Pod
- metadata:
- name: {{ template "redis-ha.fullname" . }}-configmap-test
- labels:
- {{ include "labels.standard" . | indent 4 }}
- annotations:
- "helm.sh/hook": test-success
- spec:
- containers:
- - name: check-init
- image: koalaman/shellcheck:v0.5.0
- args:
- - --shell=sh
- - /readonly-config/init.sh
- volumeMounts:
- - name: config
- mountPath: /readonly-config
- readOnly: true
- {{- if .Values.imagePullSecrets }}
- imagePullSecrets: {{ toYaml .Values.imagePullSecrets | nindent 4 }}
- {{- end }}
- restartPolicy: Never
- volumes:
- - name: config
- configMap:
- name: {{ template "redis-ha.fullname" . }}-configmap
|