mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 11:11:07 -03:30
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:
@@ -202,6 +202,6 @@ data:
|
|||||||
|
|
||||||
{{ kubernetes_deployment_name }}_redis_conf: |
|
{{ kubernetes_deployment_name }}_redis_conf: |
|
||||||
unixsocket /var/run/redis/redis.sock
|
unixsocket /var/run/redis/redis.sock
|
||||||
unixsocketperm 777
|
unixsocketperm 660
|
||||||
port 0
|
port 0
|
||||||
bind 127.0.0.1
|
bind 127.0.0.1
|
||||||
|
|||||||
@@ -104,6 +104,8 @@ spec:
|
|||||||
app: {{ kubernetes_deployment_name }}
|
app: {{ kubernetes_deployment_name }}
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: awx
|
serviceAccountName: awx
|
||||||
|
securityContext:
|
||||||
|
fsGroup: 0
|
||||||
terminationGracePeriodSeconds: 10
|
terminationGracePeriodSeconds: 10
|
||||||
{% if custom_venvs is defined %}
|
{% if custom_venvs is defined %}
|
||||||
{% set trusted_hosts = "" %}
|
{% set trusted_hosts = "" %}
|
||||||
|
|||||||
Reference in New Issue
Block a user