blob: 541fecfc7d065bee2a1860e43409881f76331811 [file] [log] [blame]
Rico Lin60f9d372025-01-14 14:07:43 +08001From c4a752118fe027f1839da42842c9e23ea125daf7 Mon Sep 17 00:00:00 2001
2From: ricolin <rlin@vexxhost.com>
3Date: Wed, 13 Nov 2024 17:01:30 +0800
4Subject: [PATCH] update annotation key
5
6Change-Id: Icc34433a9ce4614460be02b4671d9b7c8767eeed
7---
8 ovn/templates/bin/_ovn-controller-init.sh.tpl | 4 ++--
9 1 file changed, 2 insertions(+), 2 deletions(-)
10
11diff --git a/ovn/templates/bin/_ovn-controller-init.sh.tpl b/ovn/templates/bin/_ovn-controller-init.sh.tpl
12index 357c069d..1d303c8d 100644
13--- a/ovn/templates/bin/_ovn-controller-init.sh.tpl
14+++ b/ovn/templates/bin/_ovn-controller-init.sh.tpl
15@@ -14,7 +14,7 @@
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18
19-ANNOTATION_KEY="openstack-helm-infra/ovn-system-id"
20+ANNOTATION_KEY="atmosphere.cloud/ovn-system-id"
21
22 function get_ip_address_from_interface {
23 local interface=$1
24@@ -82,7 +82,7 @@ function get_current_system_id {
25 }
26
27 function get_stored_system_id {
28- kubectl get node "$NODE_NAME" -o "jsonpath={.metadata.annotations.openstack-helm-infra/ovn-system-id}"
29+ kubectl get node "$NODE_NAME" -o "jsonpath={.metadata.annotations.atmosphere\.cloud/ovn-system-id}"
30 }
31
32 function store_system_id() {
33--
342.25.1
35