Add basic security context to deployment YAMLs
This commit is contained in:
parent
69fce01325
commit
cbb0f96f74
7 changed files with 14 additions and 0 deletions
|
@ -61,3 +61,5 @@ spec:
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
|
securityContext:
|
||||||
|
runAsNonRoot: false
|
||||||
|
|
|
@ -60,3 +60,5 @@ spec:
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
|
securityContext:
|
||||||
|
runAsNonRoot: false
|
||||||
|
|
|
@ -60,3 +60,5 @@ spec:
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
|
securityContext:
|
||||||
|
runAsNonRoot: false
|
||||||
|
|
|
@ -59,3 +59,5 @@ spec:
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
|
securityContext:
|
||||||
|
runAsNonRoot: false
|
||||||
|
|
|
@ -49,3 +49,5 @@ spec:
|
||||||
args:
|
args:
|
||||||
- /nginx-ingress-controller
|
- /nginx-ingress-controller
|
||||||
- --default-backend-service=$(POD_NAMESPACE)/nginx-errors
|
- --default-backend-service=$(POD_NAMESPACE)/nginx-errors
|
||||||
|
securityContext:
|
||||||
|
runAsNonRoot: false
|
||||||
|
|
|
@ -53,3 +53,5 @@ spec:
|
||||||
- /nginx-ingress-controller
|
- /nginx-ingress-controller
|
||||||
- --default-backend-service=$(POD_NAMESPACE)/default-http-backend
|
- --default-backend-service=$(POD_NAMESPACE)/default-http-backend
|
||||||
- --publish-service=$(POD_NAMESPACE)/nginx-ingress-lb
|
- --publish-service=$(POD_NAMESPACE)/nginx-ingress-lb
|
||||||
|
securityContext:
|
||||||
|
runAsNonRoot: false
|
||||||
|
|
|
@ -58,3 +58,5 @@ spec:
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
|
securityContext:
|
||||||
|
runAsNonRoot: false
|
||||||
|
|
Loading…
Reference in a new issue