Skip to content

Commit e36fe43

Browse files
authored
Add missing Container Security Context to Helm Chart (#55)
This appears to be an accidental omission as it is already part of the Kustomize based installation. close #54 Signed-off-by: Alex Szakaly <[email protected]>
1 parent 4dde701 commit e36fe43

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

helm/install/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: pgo
33
description: A Helm chart for Kubernetes
44
type: application
5-
version: 0.2.0
5+
version: 0.2.1
66
appVersion: 5.0.3

helm/install/templates/manager.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,8 @@ spec:
2929
- name: PGO_TARGET_NAMESPACE
3030
valueFrom: { fieldRef: { apiVersion: v1, fieldPath: metadata.namespace } }
3131
{{- end }}
32+
securityContext:
33+
allowPrivilegeEscalation: false
34+
readOnlyRootFilesystem: true
35+
runAsNonRoot: true
3236
serviceAccount: {{ include "install.serviceAccountName" . }}

0 commit comments

Comments
 (0)