mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-07 22:02:53 +00:00
Rename related image vars to be distinct across operators
This commit is contained in:
@@ -38,15 +38,15 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.namespace
|
fieldPath: metadata.namespace
|
||||||
- name: RELATED_IMAGE_APP
|
- name: RELATED_IMAGE_AWX
|
||||||
value: quay.io/ansible/awx:latest
|
value: quay.io/ansible/awx:latest
|
||||||
- name: RELATED_IMAGE_INIT_CONTAINER
|
- name: RELATED_IMAGE_AWX_INIT_CONTAINER
|
||||||
value: quay.io/centos/centos:8
|
value: quay.io/centos/centos:8
|
||||||
- name: RELATED_IMAGE_REDIS
|
- name: RELATED_IMAGE_AWX_REDIS
|
||||||
value: docker.io/redis:latest
|
value: docker.io/redis:latest
|
||||||
- name: RELATED_IMAGE_CONTROL_PLANE_EE
|
- name: RELATED_IMAGE_CONTROL_PLANE_EE
|
||||||
value: quay.io/ansible/awx-ee:latest
|
value: quay.io/ansible/awx-ee:latest
|
||||||
- name: RELATED_IMAGE_POSTGRES
|
- name: RELATED_IMAGE_AWX_POSTGRES
|
||||||
value: postgres:12
|
value: postgres:12
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
|
|
||||||
- name: Set Postgres image URL
|
- name: Set Postgres image URL
|
||||||
set_fact:
|
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
|
- name: Create management pod from templated deployment config
|
||||||
k8s:
|
k8s:
|
||||||
|
|||||||
@@ -61,7 +61,7 @@
|
|||||||
|
|
||||||
- name: Set Postgres image URL
|
- name: Set Postgres image URL
|
||||||
set_fact:
|
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:
|
- block:
|
||||||
- name: Create Database configuration
|
- name: Create Database configuration
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
- name: Set AWX App image URL
|
- name: Set AWX App image URL
|
||||||
set_fact:
|
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
|
- name: Set user provided controller init image
|
||||||
set_fact:
|
set_fact:
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
|
|
||||||
- name: Set Init image URL
|
- name: Set Init image URL
|
||||||
set_fact:
|
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
|
- name: Set user provided redis image
|
||||||
set_fact:
|
set_fact:
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
|
|
||||||
- name: Set Redis image URL
|
- name: Set Redis image URL
|
||||||
set_fact:
|
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
|
- name: Set user provided control plane ee image
|
||||||
set_fact:
|
set_fact:
|
||||||
|
|||||||
@@ -80,7 +80,7 @@
|
|||||||
|
|
||||||
- name: Set Postgres image URL
|
- name: Set Postgres image URL
|
||||||
set_fact:
|
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
|
- name: Create management pod from templated deployment config
|
||||||
k8s:
|
k8s:
|
||||||
|
|||||||
Reference in New Issue
Block a user