Skip to content

Commit 313d9dc

Browse files
raypapparaypappa
authored andcommitted
fix(homepage): missing security contexts
1 parent 69d6b14 commit 313d9dc

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

kubernetes/main/apps/selfhosted/homepage/cloudflare-values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,8 @@ cloudflare:
88
ingress:
99
- hostname: "fieldsofbears.com"
1010
service: "http://homepage.homepage.svc.cluster.local:3000"
11+
podSecurityContext:
12+
runAsNonRoot: true
13+
runAsUser: 65532
14+
seccompProfile:
15+
type: "RuntimeDefault"

kubernetes/main/apps/selfhosted/homepage/homepage-values.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
---
22
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/refs/heads/main/charts/other/app-template/values.schema.json
3+
podSecurityContext:
4+
runAsUser: 65534
5+
runAsGroup: 65534
6+
fsGroupChangePolicy: OnRootMismatch
7+
runAsNonRoot: true
8+
allowPrivilegeEscalation: false
9+
seccompProfile:
10+
type: RuntimeDefault
11+
securityContext:
12+
runAsUser: 65534
13+
runAsGroup: 65534
14+
fsGroupChangePolicy: OnRootMismatch
15+
runAsNonRoot: true
16+
allowPrivilegeEscalation: false
17+
seccompProfile:
18+
type: RuntimeDefault
319
controller:
420
annotations:
521
reloader.stakater.com/auto: "true"

0 commit comments

Comments
 (0)