Update deployment.yaml

This commit is contained in:
Alexander Buntakov 2021-06-24 22:31:50 +03:00 committed by GitHub
parent f7c6d90697
commit bba6b0655b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -32,7 +32,9 @@ spec:
- name: "{{ .Chart.Name }}-info"
image: "busybox"
command:
- 'echo hello'
- "sh"
- "-c"
- "echo hello"
{{- if and .Values.db .Values.db.create }}
- name: "{{ .Chart.Name }}-create-db"
image: {{ .Values.db.image }}