|
|
@ -303,7 +303,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 }}
|
|
|
@ -404,7 +404,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:
|
|
|
@ -412,7 +412,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
|
|
|
|
`
|
|
|
|
`
|
|
|
|
|
|
|
|
|
|
|
|