-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support /docker-entrypoint-initaws.d mount point to run init shell sc…
…ripts (#24)
- Loading branch information
Showing
3 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,6 +57,11 @@ spec: | |
- name: dind-tls | ||
mountPath: /opt/docker/tls | ||
{{- end }} | ||
{{- if .Values.enableStartupScripts }} | ||
volumeMounts: | ||
- name: {{ template "localstack.fullname" . }}-init-scripts-config | ||
mountPath: /docker-entrypoint-initaws.d | ||
{{- end }} | ||
env: | ||
- name: DEBUG | ||
value: {{ ternary "1" "0" .Values.debug | quote }} | ||
|
@@ -134,3 +139,8 @@ spec: | |
emptyDir: {} | ||
{{- end }} | ||
{{- end }} | ||
{{- if .Values.enableStartupScripts }} | ||
- name: {{ template "localstack.fullname" . }}-init-scripts-config | ||
configMap: | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
alexrashed
Member
|
||
name: {{ template "localstack.fullname" . }}-init-scripts-config | ||
{{- end }} |
@ttj4 @alexrashed Needs
defaultMode: 0500
ordefaultMode: 0755
for executable .sh files?