File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,6 @@ metadata:
63
63
app.kubernetes.io/name : climatems
64
64
app.kubernetes.io/component : webserver
65
65
app.kubernetes.io/part-of : climatems
66
- annotations :
67
- kube-linter.io/ignore-all : " true"
68
66
spec :
69
67
replicas : 1
70
68
selector :
81
79
spec :
82
80
automountServiceAccountToken : false
83
81
serviceAccountName : climatems-climatems
82
+ securityContext :
83
+ fsGroup : 1000
84
84
containers :
85
85
- name : climatems
86
86
image : ghcr.io/codeformuenster/climatems:v0.1.0
89
89
resources :
90
90
requests :
91
91
memory : " 100Mi"
92
- cpu : " 200m"
92
+ cpu : " 200m"
93
+ securityContext :
94
+ allowPrivilegeEscalation : false
95
+ capabilities :
96
+ drop :
97
+ - ALL
98
+ readOnlyRootFilesystem : true
99
+ runAsGroup : 1000
100
+ runAsNonRoot : true
101
+ runAsUser : 1000
102
+ seccompProfile :
103
+ type : RuntimeDefault
Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ kind: Kustomization
4
4
namespace : c4m-climatems
5
5
6
6
resources :
7
- - ../../base/namespace
7
+ - ../../base/namespace-pss-restricted
8
8
- climatems.yaml
You can’t perform that action at this time.
0 commit comments