File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 6262 securityContext :
6363 runAsUser : {{ .Values.securityContext.runAsUser }}
6464 {{- end }}
65+ {{- if .Values.lifecycle.enabled }}
66+ lifecycle :
67+ {{- if .Values.lifecycle.postStart }}
68+ postStart :
69+ {{ toYaml .Values.lifecycle.postStart | nindent 14 }}
70+ {{- end }}
71+ {{- if .Values.lifecycle.preStop }}
72+ preStop :
73+ {{ toYaml .Values.lifecycle.preStop | nindent 14 }}
74+ {{- end }}
75+ {{- end }}
6576 env :
6677 {{- if .Values.extraVars }}
6778{{ toYaml .Values.extraVars | indent 10 }}
Original file line number Diff line number Diff line change @@ -127,6 +127,15 @@ persistence:
127127 # existingClaim: ""
128128 # hostPath: /data
129129
130+ lifecycle :
131+ enabled : false
132+ # postStart:
133+ # exec:
134+ # command:
135+ # - /bin/bash
136+ # - -c
137+ # - curl -s -L SOME_SCRIPT | bash
138+
130139# # Enable an Specify container in extraContainers.
131140# # This is meant to allow adding code-server dependencies, like docker-dind.
132141extraContainers : |
You can’t perform that action at this time.
0 commit comments