Skip to content

Commit

Permalink
Revert "Switch to using the sclorg redis image for consistency (#1531)…
Browse files Browse the repository at this point in the history
…" (#1536)
  • Loading branch information
TheRealHaoLiu authored Aug 28, 2023
1 parent 7935873 commit 0e0f413
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions roles/installer/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion roles/installer/templates/deployments/task.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion roles/installer/templates/deployments/web.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 0e0f413

Please sign in to comment.