| From c4a752118fe027f1839da42842c9e23ea125daf7 Mon Sep 17 00:00:00 2001 |
| From: ricolin <rlin@vexxhost.com> |
| Date: Wed, 13 Nov 2024 17:01:30 +0800 |
| Subject: [PATCH] update annotation key |
| |
| Change-Id: Icc34433a9ce4614460be02b4671d9b7c8767eeed |
| --- |
| ovn/templates/bin/_ovn-controller-init.sh.tpl | 4 ++-- |
| 1 file changed, 2 insertions(+), 2 deletions(-) |
| |
| diff --git a/ovn/templates/bin/_ovn-controller-init.sh.tpl b/ovn/templates/bin/_ovn-controller-init.sh.tpl |
| index 357c069d..1d303c8d 100644 |
| --- a/ovn/templates/bin/_ovn-controller-init.sh.tpl |
| +++ b/ovn/templates/bin/_ovn-controller-init.sh.tpl |
| @@ -14,7 +14,7 @@ |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| -ANNOTATION_KEY="openstack-helm-infra/ovn-system-id" |
| +ANNOTATION_KEY="atmosphere.cloud/ovn-system-id" |
| |
| function get_ip_address_from_interface { |
| local interface=$1 |
| @@ -82,7 +82,7 @@ function get_current_system_id { |
| } |
| |
| function get_stored_system_id { |
| - kubectl get node "$NODE_NAME" -o "jsonpath={.metadata.annotations.openstack-helm-infra/ovn-system-id}" |
| + kubectl get node "$NODE_NAME" -o "jsonpath={.metadata.annotations.atmosphere\.cloud/ovn-system-id}" |
| } |
| |
| function store_system_id() { |
| -- |
| 2.25.1 |
| |