Merge pull request #2447 from praseodym/add-security-context-yaml
Add basic security context to deployment YAMLs
This commit is contained in:
commit
54957aa528
7 changed files with 14 additions and 0 deletions
|
|
@ -49,3 +49,5 @@ spec:
|
|||
args:
|
||||
- /nginx-ingress-controller
|
||||
- --default-backend-service=$(POD_NAMESPACE)/nginx-errors
|
||||
securityContext:
|
||||
runAsNonRoot: false
|
||||
|
|
|
|||
|
|
@ -53,3 +53,5 @@ spec:
|
|||
- /nginx-ingress-controller
|
||||
- --default-backend-service=$(POD_NAMESPACE)/default-http-backend
|
||||
- --publish-service=$(POD_NAMESPACE)/nginx-ingress-lb
|
||||
securityContext:
|
||||
runAsNonRoot: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue