remove old deployment during upgrade

This commit is contained in:
thedoubl3j
2023-02-23 16:58:42 -05:00
committed by Hao Liu
parent 3c0ea07a55
commit 5894a4ad25

View File

@@ -1,4 +1,12 @@
---
- name: Delete old deployment for before installing during upgrade
k8s:
kind: Deployment
api_version: v1
namespace: "{{ ansible_operator_meta.namespace }}"
name: "{{ ansible_operator_meta.name }}"
state: absent
- name: Patching labels to AWX kind
k8s:
state: present