Skip to content
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
17 changes: 14 additions & 3 deletions apps/climatems/climatems.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ metadata:
app.kubernetes.io/name: climatems
app.kubernetes.io/component: webserver
app.kubernetes.io/part-of: climatems
annotations:
kube-linter.io/ignore-all: "true"
spec:
replicas: 1
selector:
Expand All @@ -81,6 +79,8 @@ spec:
spec:
automountServiceAccountToken: false
serviceAccountName: climatems-climatems
securityContext:
fsGroup: 1000
containers:
- name: climatems
image: ghcr.io/codeformuenster/climatems:v0.1.0
Expand All @@ -89,4 +89,15 @@ spec:
resources:
requests:
memory: "100Mi"
cpu: "200m"
cpu: "200m"
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsGroup: 1000
runAsNonRoot: true
runAsUser: 1000
seccompProfile:
type: RuntimeDefault
2 changes: 1 addition & 1 deletion apps/climatems/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ kind: Kustomization
namespace: c4m-climatems

resources:
- ../../base/namespace
- ../../base/namespace-pss-restricted
- climatems.yaml