Merge "Add readOnlyRootFilesystem to HAProxy and CoreDNS."
This commit is contained in:
commit
c7bee46629
|
@ -67,6 +67,8 @@ spec:
|
||||||
mountPath: /tmp/etc
|
mountPath: /tmp/etc
|
||||||
- name: host
|
- name: host
|
||||||
mountPath: /host
|
mountPath: /host
|
||||||
|
securityContext:
|
||||||
|
readOnlyRootFilesystem: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: haproxy-bin
|
- name: haproxy-bin
|
||||||
configMap:
|
configMap:
|
||||||
|
|
|
@ -91,3 +91,5 @@ spec:
|
||||||
- name: etc
|
- name: etc
|
||||||
hostPath:
|
hostPath:
|
||||||
path: {{ .Values.conf.haproxy.host_config_dir }}
|
path: {{ .Values.conf.haproxy.host_config_dir }}
|
||||||
|
securityContext:
|
||||||
|
readOnlyRootFilesystem: true
|
||||||
|
|
Loading…
Reference in New Issue