Merge "Make airflow-worker containers non-privileged"

This commit is contained in:
Zuul 2018-10-01 18:18:33 +00:00 committed by Gerrit Code Review
commit 0a14e7e80f

View File

@ -127,8 +127,6 @@ spec:
readinessProbe: readinessProbe:
tcpSocket: tcpSocket:
port: {{ .Values.network.airflow.worker.port }} port: {{ .Values.network.airflow.worker.port }}
securityContext:
privileged: true
volumeMounts: volumeMounts:
- name: airflow-etc - name: airflow-etc
mountPath: {{ .Values.conf.airflow_config_file.path }} mountPath: {{ .Values.conf.airflow_config_file.path }}
@ -179,8 +177,6 @@ spec:
ps -ef | grep 'sleep 3600' | grep -v 'grep' ps -ef | grep 'sleep 3600' | grep -v 'grep'
initialDelaySeconds: 15 initialDelaySeconds: 15
periodSeconds: 15 periodSeconds: 15
securityContext:
privileged: true
volumeMounts: volumeMounts:
- name: airflow-logs - name: airflow-logs
mountPath: {{ .Values.conf.airflow.core.base_log_folder }} mountPath: {{ .Values.conf.airflow.core.base_log_folder }}