Merge pull request #7317 from shanemcd/redis-root-group

Force containers in k8s to run under root group

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot] 2020-06-16 23:41:42 +00:00 committed by GitHub
commit 5ca66ac806
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -202,6 +202,6 @@ data:
{{ kubernetes_deployment_name }}_redis_conf: |
unixsocket /var/run/redis/redis.sock
unixsocketperm 777
unixsocketperm 660
port 0
bind 127.0.0.1

View File

@ -104,6 +104,8 @@ spec:
app: {{ kubernetes_deployment_name }}
spec:
serviceAccountName: awx
securityContext:
fsGroup: 0
terminationGracePeriodSeconds: 10
{% if custom_venvs is defined %}
{% set trusted_hosts = "" %}