Skip to content

Commit

Permalink
fix: drop nobody user from dvcr
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Fedotov <[email protected]>
  • Loading branch information
nevermarine committed Nov 14, 2024
1 parent f1f5bec commit 9ec6776
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/dvcr/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ spec:
{{- $kubeRbacProxySettings := dict }}
{{- $_ := set $kubeRbacProxySettings "resource" "deployment" }}
{{- $_ := set $kubeRbacProxySettings "name" "dvcr" }}
{{- $_ := set $kubeRbacProxySettings "runAsUserNobody" false }}
{{- $_ := set $kubeRbacProxySettings "upstream" "https://127.0.0.1:5001/metrics" }}
{{- include "kube_rbac_proxy.sidecar_container" (tuple . $kubeRbacProxySettings) | nindent 8 }}
volumes: {{ include "dvcr.volumes" . | nindent 8 }}
Expand Down

0 comments on commit 9ec6776

Please sign in to comment.