Skip to content

Commit

Permalink
feat: add shareProcessNamespace to kubernetesPodTemplate
Browse files Browse the repository at this point in the history
Signed-off-by: Mathieu Thoretton <mthoretton@gmail.com>
  • Loading branch information
mthoretton authored and thesuperzapper committed Mar 21, 2022
1 parent b87570f commit cff4f96
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/airflow/files/pod_template.kubernetes-helm-yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ spec:
- name: {{ .Values.airflow.image.pullSecret }}
{{- end }}
serviceAccountName: {{ include "airflow.serviceAccountName" . }}
shareProcessNamespace: {{ .Values.airflow.kubernetesPodTemplate.shareProcessNamespace }}
{{- if $podNodeSelector }}
nodeSelector:
{{- $podNodeSelector | nindent 4 }}
Expand Down
6 changes: 6 additions & 0 deletions charts/airflow/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,12 @@ airflow:
##
securityContext: {}

## the shareProcessNamespace config for the Pod template
## - docs for shareProcessNamespace:
## https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/
##
shareProcessNamespace: false

## extra pip packages to install in the Pod template
##
## ____ EXAMPLE _______________
Expand Down

0 comments on commit cff4f96

Please sign in to comment.