mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-27 05:43:11 +00:00
Merge pull request #620 from rooftopcellist/rename-image-vars
Rename related image vars to be distinct across operators
This commit is contained in:
@@ -38,15 +38,15 @@ spec:
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
- name: RELATED_IMAGE_APP
|
||||
- name: RELATED_IMAGE_AWX
|
||||
value: quay.io/ansible/awx:latest
|
||||
- name: RELATED_IMAGE_INIT_CONTAINER
|
||||
- name: RELATED_IMAGE_AWX_INIT_CONTAINER
|
||||
value: quay.io/centos/centos:8
|
||||
- name: RELATED_IMAGE_REDIS
|
||||
- name: RELATED_IMAGE_AWX_REDIS
|
||||
value: docker.io/redis:latest
|
||||
- name: RELATED_IMAGE_CONTROL_PLANE_EE
|
||||
value: quay.io/ansible/awx-ee:latest
|
||||
- name: RELATED_IMAGE_POSTGRES
|
||||
- name: RELATED_IMAGE_AWX_POSTGRES
|
||||
value: postgres:12
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
|
||||
- name: Set Postgres image URL
|
||||
set_fact:
|
||||
_postgres_image: "{{ _custom_postgres_image | default(lookup('env', 'RELATED_IMAGE_POSTGRES')) }}"
|
||||
_postgres_image: "{{ _custom_postgres_image | default(lookup('env', 'RELATED_IMAGE_AWX_POSTGRES')) }}"
|
||||
|
||||
- name: Create management pod from templated deployment config
|
||||
k8s:
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
|
||||
- name: Set Postgres image URL
|
||||
set_fact:
|
||||
_postgres_image: "{{ _custom_postgres_image | default(lookup('env', 'RELATED_IMAGE_POSTGRES')) }}"
|
||||
_postgres_image: "{{ _custom_postgres_image | default(lookup('env', 'RELATED_IMAGE_AWX_POSTGRES')) }}"
|
||||
|
||||
- block:
|
||||
- name: Create Database configuration
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
- name: Set AWX App image URL
|
||||
set_fact:
|
||||
_image: "{{ _custom_image | default(lookup('env', 'RELATED_IMAGE_APP')) }}"
|
||||
_image: "{{ _custom_image | default(lookup('env', 'RELATED_IMAGE_AWX')) }}"
|
||||
|
||||
- name: Set user provided controller init image
|
||||
set_fact:
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
- name: Set Init image URL
|
||||
set_fact:
|
||||
_init_container_image: "{{ _custom_init_container_image | default(lookup('env', 'RELATED_IMAGE_INIT_CONTAINER')) }}"
|
||||
_init_container_image: "{{ _custom_init_container_image | default(lookup('env', 'RELATED_IMAGE_AWX_INIT_CONTAINER')) }}"
|
||||
|
||||
- name: Set user provided redis image
|
||||
set_fact:
|
||||
@@ -63,7 +63,7 @@
|
||||
|
||||
- name: Set Redis image URL
|
||||
set_fact:
|
||||
_redis_image: "{{ _custom_redis_image | default(lookup('env', 'RELATED_IMAGE_REDIS')) }}"
|
||||
_redis_image: "{{ _custom_redis_image | default(lookup('env', 'RELATED_IMAGE_AWX_REDIS')) }}"
|
||||
|
||||
- name: Set user provided control plane ee image
|
||||
set_fact:
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
|
||||
- name: Set Postgres image URL
|
||||
set_fact:
|
||||
_postgres_image: "{{ _custom_postgres_image | default(lookup('env', 'RELATED_IMAGE_POSTGRES')) }}"
|
||||
_postgres_image: "{{ _custom_postgres_image | default(lookup('env', 'RELATED_IMAGE_AWX_POSTGRES')) }}"
|
||||
|
||||
- name: Create management pod from templated deployment config
|
||||
k8s:
|
||||
|
||||
Reference in New Issue
Block a user