File tree Expand file tree Collapse file tree 4 files changed +27
-1
lines changed Expand file tree Collapse file tree 4 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 71
71
- NET_BIND_SERVICE
72
72
drop :
73
73
- ALL
74
+ readOnlyRootFilesystem : true
74
75
runAsUser : 101
75
76
runAsGroup : 1001
76
77
volumeMounts :
80
81
mountPath : /etc/nginx/secrets
81
82
- name : nginx-run
82
83
mountPath : /var/run/nginx
84
+ - name : nginx-cache
85
+ mountPath : /var/cache/nginx
86
+ - name : nginx-lib
87
+ mountPath : /var/lib/nginx
83
88
serviceAccountName : nginx-gateway
84
89
shareProcessNamespace : true
85
90
securityContext :
92
97
emptyDir : {}
93
98
- name : nginx-run
94
99
emptyDir : {}
100
+ - name : nginx-cache
101
+ emptyDir : {}
102
+ - name : nginx-lib
103
+ emptyDir : {}
Original file line number Diff line number Diff line change 27
27
- deployments
28
28
verbs :
29
29
- create
30
- - update
31
30
- delete
32
31
- get
33
32
- list
Original file line number Diff line number Diff line change 66
66
- NET_BIND_SERVICE
67
67
drop :
68
68
- ALL
69
+ readOnlyRootFilesystem : true
69
70
runAsUser : 101
70
71
runAsGroup : 1001
71
72
volumeMounts :
75
76
mountPath : /etc/nginx/secrets
76
77
- name : nginx-run
77
78
mountPath : /var/run/nginx
79
+ - name : nginx-cache
80
+ mountPath : /var/cache/nginx
81
+ - name : nginx-lib
82
+ mountPath : /var/lib/nginx
78
83
serviceAccountName : {{ include "nginx-gateway.serviceAccountName" . }}
79
84
shareProcessNamespace : true
80
85
securityContext :
87
92
emptyDir : {}
88
93
- name : nginx-run
89
94
emptyDir : {}
95
+ - name : nginx-cache
96
+ emptyDir : {}
97
+ - name : nginx-lib
98
+ emptyDir : {}
90
99
{{- end }}
Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ spec:
172
172
- NET_BIND_SERVICE
173
173
drop :
174
174
- ALL
175
+ readOnlyRootFilesystem : true
175
176
runAsUser : 101
176
177
runAsGroup : 1001
177
178
volumeMounts :
@@ -181,6 +182,10 @@ spec:
181
182
mountPath : /etc/nginx/secrets
182
183
- name : nginx-run
183
184
mountPath : /var/run/nginx
185
+ - name : nginx-cache
186
+ mountPath : /var/cache/nginx
187
+ - name : nginx-lib
188
+ mountPath : /var/lib/nginx
184
189
serviceAccountName : nginx-gateway
185
190
shareProcessNamespace : true
186
191
securityContext :
@@ -193,6 +198,10 @@ spec:
193
198
emptyDir : {}
194
199
- name : nginx-run
195
200
emptyDir : {}
201
+ - name : nginx-cache
202
+ emptyDir : {}
203
+ - name : nginx-lib
204
+ emptyDir : {}
196
205
---
197
206
# Source: nginx-kubernetes-gateway/templates/gatewayclass.yaml
198
207
apiVersion : gateway.networking.k8s.io/v1beta1
You can’t perform that action at this time.
0 commit comments