|
|
@ -304,7 +304,7 @@ kind: ServiceAccount
|
|
|
|
metadata:
|
|
|
|
metadata:
|
|
|
|
name: {{ include "<CHARTNAME>.serviceAccountName" . }}
|
|
|
|
name: {{ include "<CHARTNAME>.serviceAccountName" . }}
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
{{ include "<CHARTNAME>.labels" . | nindent 4 }}
|
|
|
|
{{- include "<CHARTNAME>.labels" . | nindent 4 }}
|
|
|
|
{{- with .Values.serviceAccount.annotations }}
|
|
|
|
{{- with .Values.serviceAccount.annotations }}
|
|
|
|
annotations:
|
|
|
|
annotations:
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
@ -405,7 +405,7 @@ kind: Pod
|
|
|
|
metadata:
|
|
|
|
metadata:
|
|
|
|
name: "{{ include "<CHARTNAME>.fullname" . }}-test-connection"
|
|
|
|
name: "{{ include "<CHARTNAME>.fullname" . }}-test-connection"
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
{{ include "<CHARTNAME>.labels" . | nindent 4 }}
|
|
|
|
{{- include "<CHARTNAME>.labels" . | nindent 4 }}
|
|
|
|
annotations:
|
|
|
|
annotations:
|
|
|
|
"helm.sh/hook": test-success
|
|
|
|
"helm.sh/hook": test-success
|
|
|
|
spec:
|
|
|
|
spec:
|
|
|
@ -413,7 +413,7 @@ spec:
|
|
|
|
- name: wget
|
|
|
|
- name: wget
|
|
|
|
image: busybox
|
|
|
|
image: busybox
|
|
|
|
command: ['wget']
|
|
|
|
command: ['wget']
|
|
|
|
args: ['{{ include "<CHARTNAME>.fullname" . }}:{{ .Values.service.port }}']
|
|
|
|
args: ['{{ include "<CHARTNAME>.fullname" . }}:{{ .Values.service.port }}']
|
|
|
|
restartPolicy: Never
|
|
|
|
restartPolicy: Never
|
|
|
|
`
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|
|
|