Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: securityContext maildev #46

Merged
merged 2 commits into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ cluster with monitoring:
app.kubernetes.io/name: cnpg-cluster
app.kubernetes.io/version: "15"
cnpg.io/poolerName: RELEASE-NAME-cnpg-cluster-rw
helm.sh/chart: cnpg-cluster-1.12.4
helm.sh/chart: cnpg-cluster-1.12.5
name: RELEASE-NAME-cnpg-cluster-rw
spec:
cluster:
Expand Down
3 changes: 3 additions & 0 deletions charts/maildev/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ spec:
httpGet:
path: /healthz
port: http
securityContext:
devthejo marked this conversation as resolved.
Show resolved Hide resolved
runAsUser: 1000
runAsGroup: 1000
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumes:
Expand Down
15 changes: 15 additions & 0 deletions charts/maildev/tests/__snapshot__/maildev_test.yaml.snap
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ cron enabled:
path: /healthz
port: http
resources: {}
securityContext:
runAsGroup: 1000
runAsUser: 1000
volumeMounts:
- mountPath: /home/node/maildev-data
name: data
Expand Down Expand Up @@ -139,6 +142,9 @@ custom resources:
requests:
cpu: 12m
memory: 10m
securityContext:
runAsGroup: 1000
runAsUser: 1000
volumeMounts:
- mountPath: /home/node/maildev-data
name: data
Expand Down Expand Up @@ -179,6 +185,9 @@ default manifest:
path: /healthz
port: http
resources: {}
securityContext:
runAsGroup: 1000
runAsUser: 1000
volumeMounts:
- mountPath: /home/node/maildev-data
name: data
Expand Down Expand Up @@ -219,6 +228,9 @@ persistence and existingClaim enabled:
path: /healthz
port: http
resources: {}
securityContext:
runAsGroup: 1000
runAsUser: 1000
volumeMounts:
- mountPath: /home/node/maildev-data
name: data
Expand Down Expand Up @@ -260,6 +272,9 @@ persistence enabled:
path: /healthz
port: http
resources: {}
securityContext:
runAsGroup: 1000
runAsUser: 1000
volumeMounts:
- mountPath: /home/node/maildev-data
name: data
Expand Down
Loading