File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 7878 volumeMounts:
7979 {{- $volumeMounts | indent 8 }}
8080 {{- end }}
81+ {{- if .Values.airflow.kubernetesPodTemplate.lifecycle }}
82+ lifecycle:
83+ {{- toYaml .Values.airflow.kubernetesPodTemplate.lifecycle | nindent 8 }}
84+ {{- end }}
8185 {{- if .Values.airflow.kubernetesPodTemplate.extraContainers }}
8286 {{- toYaml .Values.airflow.kubernetesPodTemplate.extraContainers | nindent 4 }}
8387 {{- end }}
Original file line number Diff line number Diff line change @@ -322,6 +322,11 @@ airflow:
322322 # #
323323 podAnnotations : {}
324324
325+ # # run commands after the container starts (postStart) or before the container stops (preStop)
326+ # # - spec for container lifecycle
327+ # # https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/
328+ lifecycle : {}
329+
325330 # # the security context for the Pod template
326331 # # - spec for PodSecurityContext:
327332 # # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#podsecuritycontext-v1-core
You can’t perform that action at this time.
0 commit comments