Added conditional for init container command
This commit is contained in:
@@ -84,7 +84,14 @@ spec:
|
||||
name: {{ include "..fullname" . }}-db-auth
|
||||
- secretRef:
|
||||
name: global-secrets
|
||||
{{- if (.Values.site.container_base | default "debian" ) == "debian" }}
|
||||
command: [ "/init-go/init-go" ]
|
||||
{{- else }}
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- /init-go/init-go
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: wordpress
|
||||
securityContext:
|
||||
|
||||
Reference in New Issue
Block a user