From e32e2df58d4ad96a596dc0fc6973b2d8e32549a1 Mon Sep 17 00:00:00 2001 From: Jingyuan Liang Date: Wed, 6 Mar 2024 21:09:19 +0000 Subject: [PATCH] Followup #277: add dpv2- prefix to fast-start-namespaces --- scripts/install-cni.sh | 2 +- scripts/testdata/expected-cilium-faststart.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install-cni.sh b/scripts/install-cni.sh index 37f240aa5..7bb48c0ee 100755 --- a/scripts/install-cni.sh +++ b/scripts/install-cni.sh @@ -110,7 +110,7 @@ fi if [[ "${ENABLE_CILIUM_PLUGIN}" == "true" ]]; then cilium_cni_config='{"type": "cilium-cni", "enable-route-mtu": true}' if [[ -n "${CILIUM_FAST_START_NAMESPACES:-}" ]]; then - cilium_cni_config=$(jq --arg namespaces "${CILIUM_FAST_START_NAMESPACES:-}" '.["fast-start-namespaces"] = $namespaces' <<<"${cilium_cni_config}") + cilium_cni_config=$(jq --arg namespaces "${CILIUM_FAST_START_NAMESPACES:-}" '.["dpv2-fast-start-namespaces"] = $namespaces' <<<"${cilium_cni_config}") fi echo "Adding Cilium plug-in to the CNI config: '$(jq -c . <<<"${cilium_cni_config}")'" cni_spec=${cni_spec//@cniCiliumPlugin/, ${cilium_cni_config}} diff --git a/scripts/testdata/expected-cilium-faststart.json b/scripts/testdata/expected-cilium-faststart.json index 26dac36db..a6efb0db8 100644 --- a/scripts/testdata/expected-cilium-faststart.json +++ b/scripts/testdata/expected-cilium-faststart.json @@ -23,7 +23,7 @@ }, { "type": "cilium-cni", "enable-route-mtu": true, - "fast-start-namespaces": "default,kube-system" + "dpv2-fast-start-namespaces": "default,kube-system" } ] }