Skip to content

Commit 34ccbe1

Browse files
authored
Merge pull request #5 from zcsadmin/4-set-container-name-for-deployment
feat: set container name in deployment #4
2 parents 86960b7 + fdb3d10 commit 34ccbe1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ spec:
3232
securityContext:
3333
{{- toYaml .Values.podSecurityContext | nindent 8 }}
3434
containers:
35-
- name: {{ .Chart.Name }}
35+
- name: {{ include "pyhchart.name" . }}
3636
securityContext:
3737
{{- toYaml .Values.securityContext | nindent 12 }}
3838
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"

0 commit comments

Comments
 (0)