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" . }}-service-test
- labels:
- {{ include "labels.standard" . | indent 4 }}
- annotations:
- "helm.sh/hook": test-success
- spec:
- containers:
- - name: "{{ .Release.Name }}-service-test"
- image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
- command:
- - sh
- - -c
- - redis-cli -h {{ template "redis-ha.fullname" . }} -p {{ .Values.redis.port }} info server
- {{- if .Values.imagePullSecrets }}
- imagePullSecrets: {{ toYaml .Values.imagePullSecrets | nindent 4 }}
- {{- end }}
- restartPolicy: Never
|