Skip to content

Commit ab6d681

Browse files
committed
adding ack for 4.13 to 4.14 upgrades
Signed-off-by: sajauddin <[email protected]>
1 parent 1ffe669 commit ab6d681

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

playbooks/roles/ocp-upgrade/tasks/eus_upgrades.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,18 @@
5353
ack-4.8-kube-1.22-api-removals-in-4.9: "true"
5454
when: ocp_version.resources[0].status.history[0].version | regex_search('4.8') == "4.8"
5555

56+
- name: Providing the administrator acknowledgement for 4.13 to 4.14 upgrades
57+
kubernetes.core.k8s:
58+
state: present
59+
definition:
60+
kind: ConfigMap
61+
metadata:
62+
name: admin-acks
63+
namespace: openshift-config
64+
data:
65+
ack-4.13-kube-1.27-api-removals-in-4.14: "true"
66+
when: ocp_version.resources[0].status.history[0].version | regex_search('4.13') == "4.13"
67+
5668
- name: Upgrade cluster with upgrade version
5769
shell: oc adm upgrade --to {{ eus_upgrade_version }}
5870
when: eus_upgrade_image == "" and eus_upgrade_version != ""

playbooks/roles/ocp-upgrade/tasks/restricted_network_upgrade.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,18 @@
6161
ack-4.8-kube-1.22-api-removals-in-4.9: "true"
6262
when: ocp_version.resources[0].status.history[0].version | regex_search('4.8') == "4.8"
6363

64+
- name: Providing the administrator acknowledgement for 4.13 to 4.14 upgrades
65+
kubernetes.core.k8s:
66+
state: present
67+
definition:
68+
kind: ConfigMap
69+
metadata:
70+
name: admin-acks
71+
namespace: openshift-config
72+
data:
73+
ack-4.13-kube-1.27-api-removals-in-4.14: "true"
74+
when: ocp_version.resources[0].status.history[0].version | regex_search('4.13') == "4.13"
75+
6476
- name: Upgrade ocp and check for its completion
6577
block:
6678
- name: Upgrade ocp using a release image from local repository

0 commit comments

Comments
 (0)