Merge "Add readOnlyRootFilesystem to HAProxy and CoreDNS."

This commit is contained in:
Zuul 2018-09-07 15:23:11 +00:00 committed by Gerrit Code Review
commit c7bee46629
2 changed files with 4 additions and 0 deletions

View File

@ -67,6 +67,8 @@ spec:
mountPath: /tmp/etc
- name: host
mountPath: /host
securityContext:
readOnlyRootFilesystem: true
volumes:
- name: haproxy-bin
configMap:

View File

@ -91,3 +91,5 @@ spec:
- name: etc
hostPath:
path: {{ .Values.conf.haproxy.host_config_dir }}
securityContext:
readOnlyRootFilesystem: true