Remove redis and memcached unused variables and their exposed ports

This commit is contained in:
Sylvain Chen
2020-08-23 22:04:10 +02:00
parent ff8ff03394
commit b9904842aa
2 changed files with 0 additions and 8 deletions

View File

@@ -37,16 +37,12 @@ spec:
- '/var/run/memcached/memcached.sock'
- '-a'
- '0666'
ports:
- containerPort: 1121
volumeMounts:
- name: {{ meta.name }}-memcached-socket
mountPath: "/var/run/memcached"
- image: '{{ tower_redis_image }}'
name: redis
args: ["redis-server", "/etc/redis.conf"]
ports:
- containerPort: 6379
volumeMounts:
- name: {{ meta.name }}-redis-config
mountPath: "/etc/redis.conf"

View File

@@ -14,10 +14,6 @@ data:
DATABASE_HOST='{{ meta.name }}-postgres.{{ meta.namespace }}.svc.cluster.local'
DATABASE_PORT='5432'
DATABASE_PASSWORD={{ tower_postgres_pass | quote }}
MEMCACHED_HOST='{{ meta.name }}-memcached.{{ meta.namespace }}.svc.cluster.local'
MEMCACHED_PORT='11211'
REDIS_HOST='{{ meta.name }}-redis.{{ meta.namespace }}.svc.cluster.local'
REDIS_PORT='6379'
AWX_SKIP_MIGRATIONS=true
settings: |