mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
Force containers in k8s to run under root group
Normally containers belong to the 'root' group, but for some reason the downstream red hat scl redis image only belongs to the 'redis' group by default. This fixes that.
This commit is contained in:
parent
3952946d9c
commit
423df6618d
@ -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
|
||||
|
||||
@ -40,6 +40,8 @@ spec:
|
||||
app: {{ kubernetes_deployment_name }}
|
||||
spec:
|
||||
serviceAccountName: awx
|
||||
securityContext:
|
||||
fsGroup: 0
|
||||
terminationGracePeriodSeconds: 10
|
||||
{% if custom_venvs is defined %}
|
||||
{% set trusted_hosts = "" %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user