Skip to content

Commit

Permalink
Merge pull request #76 from projectsyn/fix/update-coredns-template
Browse files Browse the repository at this point in the history
Update CoreDNS template to match upstream template
  • Loading branch information
simu authored Apr 12, 2024
2 parents c238827 + aa127fa commit 549b9a7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion component/coredns.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,9 @@ local corednsConfigMap =
name: metrics
protocol: TCP
securityContext:
runAsNonRoot: true
runAsUser: {{.RUN_AS_USER}}
runAsNonRoot: {{.RUN_AS_NON_ROOT}}
runAsGroup: {{.RUN_AS_GROUP}}
allowPrivilegeEscalation: false
capabilities:
drop:
Expand Down
3 changes: 2 additions & 1 deletion tests/golden/defaults/defaults/defaults/10_cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,9 @@ data:
name: metrics
protocol: TCP
securityContext:
runAsNonRoot: true
runAsUser: {{.RUN_AS_USER}}
runAsNonRoot: {{.RUN_AS_NON_ROOT}}
runAsGroup: {{.RUN_AS_GROUP}}
allowPrivilegeEscalation: false
capabilities:
drop:
Expand Down
3 changes: 2 additions & 1 deletion tests/golden/oidc/oidc/oidc/10_cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,9 @@ data:
name: metrics
protocol: TCP
securityContext:
runAsNonRoot: true
runAsUser: {{.RUN_AS_USER}}
runAsNonRoot: {{.RUN_AS_NON_ROOT}}
runAsGroup: {{.RUN_AS_GROUP}}
allowPrivilegeEscalation: false
capabilities:
drop:
Expand Down
3 changes: 2 additions & 1 deletion tests/golden/openshift/openshift/openshift/10_cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,9 @@ data:
name: metrics
protocol: TCP
securityContext:
runAsNonRoot: true
runAsUser: {{.RUN_AS_USER}}
runAsNonRoot: {{.RUN_AS_NON_ROOT}}
runAsGroup: {{.RUN_AS_GROUP}}
allowPrivilegeEscalation: false
capabilities:
drop:
Expand Down

0 comments on commit 549b9a7

Please sign in to comment.