Revert "Switch to using the sclorg redis image for consistency (#1531)" (#1536)

This commit is contained in:
Hao Liu
2023-08-28 16:50:00 -04:00
committed by GitHub
parent 7935873746
commit 0e0f413e82
4 changed files with 5 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ There are a few variables that are customizable for awx the image management.
| image_pull_policy | The pull policy to adopt | IfNotPresent |
| image_pull_secrets | The pull secrets to use | None |
| ee_images | A list of EEs to register | quay.io/ansible/awx-ee:latest |
| redis_image | Path of the image to pull | quay.io/sclorg/redis-6-c9s |
| redis_image | Path of the image to pull | docker.io/redis |
| redis_image_version | Image version to pull | latest |
Example of customization could be:

View File

@@ -237,8 +237,8 @@ extra_volumes: ''
_image: quay.io/ansible/awx
_image_version: "{{ lookup('env', 'DEFAULT_AWX_VERSION') or 'latest' }}"
_redis_image: quay.io/sclorg/redis-6-c9s
_redis_image_version: latest
_redis_image: docker.io/redis
_redis_image_version: 7
_postgres_image: postgres
_postgres_image_version: 13
image_pull_policy: IfNotPresent

View File

@@ -157,7 +157,7 @@ spec:
- name: {{ ansible_operator_meta.name }}-redis-socket
mountPath: "/var/run/redis"
- name: "{{ ansible_operator_meta.name }}-redis-data"
mountPath: "/var/lib/redis/data"
mountPath: "/data"
{% if termination_grace_period_seconds is defined %}
- name: pre-stop-data
mountPath: /var/lib/pre-stop

View File

@@ -147,7 +147,7 @@ spec:
- name: {{ ansible_operator_meta.name }}-redis-socket
mountPath: "/var/run/redis"
- name: "{{ ansible_operator_meta.name }}-redis-data"
mountPath: "/var/lib/redis/data"
mountPath: "/data"
resources: {{ redis_resource_requirements }}
- image: '{{ _image }}'
name: '{{ ansible_operator_meta.name }}-web'