From 96f68cadea96157a1f7222ea87183285f984da60 Mon Sep 17 00:00:00 2001 From: Mariusz Mazur Date: Tue, 3 Dec 2024 14:10:00 +0100 Subject: [PATCH] Make sure ds pods run on all nodes --- deploy/osd-26887-deamonset-tolerations/config.yaml | 9 +++++++++ .../iptables-alerter.DaemonSet.patch.yaml | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100644 deploy/osd-26887-deamonset-tolerations/config.yaml create mode 100644 deploy/osd-26887-deamonset-tolerations/iptables-alerter.DaemonSet.patch.yaml diff --git a/deploy/osd-26887-deamonset-tolerations/config.yaml b/deploy/osd-26887-deamonset-tolerations/config.yaml new file mode 100644 index 000000000..e9a85f23b --- /dev/null +++ b/deploy/osd-26887-deamonset-tolerations/config.yaml @@ -0,0 +1,9 @@ +deploymentMode: "SelectorSyncSet" +selectorSyncSet: + matchExpressions: + - key: hive.openshift.io/version-major-minor + operator: In + values: ["4.18", "4.19"] + - key: api.openshift.com/channel-group + operator: In + values: ["nightly"] diff --git a/deploy/osd-26887-deamonset-tolerations/iptables-alerter.DaemonSet.patch.yaml b/deploy/osd-26887-deamonset-tolerations/iptables-alerter.DaemonSet.patch.yaml new file mode 100644 index 000000000..957ed64f5 --- /dev/null +++ b/deploy/osd-26887-deamonset-tolerations/iptables-alerter.DaemonSet.patch.yaml @@ -0,0 +1,8 @@ +apiVersion: apps/v1 +kind: DaemonSet +name: iptables-alerter +namespace: openshift-network-operator +applyMode: AlwaysApply +# Needed until https://issues.redhat.com/browse/OCPBUGS-45341 is available in 4.18/4.19 nightlies +patch: '{"spec": {"template": {"spec": {"tolerations": [{"operator": "Exists"}]}}}}' +patchType: merge