mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
Fix innocuous but confusing typo in db management pod task (#1859)
This commit is contained in:
@@ -77,10 +77,10 @@
|
|||||||
set_fact:
|
set_fact:
|
||||||
_postgres_image: "{{ _custom_postgres_image | default(lookup('env', 'RELATED_IMAGE_AWX_POSTGRES')) | default(_default_postgres_image, true) }}"
|
_postgres_image: "{{ _custom_postgres_image | default(lookup('env', 'RELATED_IMAGE_AWX_POSTGRES')) | default(_default_postgres_image, true) }}"
|
||||||
|
|
||||||
- name: Create management pod from templated deployment config
|
- name: Create management pod from the template
|
||||||
k8s:
|
k8s:
|
||||||
name: "{{ ansible_operator_meta.name }}-db-management"
|
name: "{{ ansible_operator_meta.name }}-db-management"
|
||||||
kind: Deployment
|
kind: Pod
|
||||||
state: present
|
state: present
|
||||||
definition: "{{ lookup('template', 'management-pod.yml.j2') }}"
|
definition: "{{ lookup('template', 'management-pod.yml.j2') }}"
|
||||||
wait: true
|
wait: true
|
||||||
|
|||||||
@@ -86,10 +86,10 @@
|
|||||||
set_fact:
|
set_fact:
|
||||||
_postgres_image: "{{ _custom_postgres_image | default(lookup('env', 'RELATED_IMAGE_AWX_POSTGRES')) | default(_default_postgres_image, true) }}"
|
_postgres_image: "{{ _custom_postgres_image | default(lookup('env', 'RELATED_IMAGE_AWX_POSTGRES')) | default(_default_postgres_image, true) }}"
|
||||||
|
|
||||||
- name: Create management pod from templated deployment config
|
- name: Create management pod from the template
|
||||||
k8s:
|
k8s:
|
||||||
name: "{{ ansible_operator_meta.name }}-db-management"
|
name: "{{ ansible_operator_meta.name }}-db-management"
|
||||||
kind: Deployment
|
kind: Pod
|
||||||
state: present
|
state: present
|
||||||
definition: "{{ lookup('template', 'management-pod.yml.j2') }}"
|
definition: "{{ lookup('template', 'management-pod.yml.j2') }}"
|
||||||
wait: true
|
wait: true
|
||||||
|
|||||||
Reference in New Issue
Block a user