diff --git a/charts/coredns/values.yaml b/charts/coredns/values.yaml index c952736..a1b2c74 100644 --- a/charts/coredns/values.yaml +++ b/charts/coredns/values.yaml @@ -161,6 +161,11 @@ readinessProbe: failureThreshold: 5 successThreshold: 1 +# specify security configuration that will be applied to a container - https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#securitycontext-v1-core +securityContext: + runAsNonRoot: true + readOnlyRootFilesystem: true + # expects input structure as per specification https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.11/#affinity-v1-core # for example: # affinity: