From cc34d65bc7d670f08e87af301ebcb8c1b6aee170 Mon Sep 17 00:00:00 2001 From: Nawaz Hussain K Date: Wed, 5 Apr 2023 22:03:41 -0700 Subject: [PATCH] update nodeAffinity labels for azcni v1 manifests - drops `kubernetes.azure.com/cluster` - updates `beta.kubernetes.io/os` to `kubernetes.io/os` Solves: https://github.com/Azure/azure-container-networking/issues/1897 --- hack/manifests/cni-installer-v1.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hack/manifests/cni-installer-v1.yaml b/hack/manifests/cni-installer-v1.yaml index cb2d0daaa4..85d56717e9 100644 --- a/hack/manifests/cni-installer-v1.yaml +++ b/hack/manifests/cni-installer-v1.yaml @@ -21,13 +21,11 @@ spec: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - - key: kubernetes.azure.com/cluster - operator: Exists - key: type operator: NotIn values: - virtual-kubelet - - key: beta.kubernetes.io/os + - key: kubernetes.io/os operator: In values: - linux