Rico Lin | 60f9d37 | 2025-01-14 14:07:43 +0800 | [diff] [blame] | 1 | From c4a752118fe027f1839da42842c9e23ea125daf7 Mon Sep 17 00:00:00 2001 |
| 2 | From: ricolin <rlin@vexxhost.com> |
| 3 | Date: Wed, 13 Nov 2024 17:01:30 +0800 |
| 4 | Subject: [PATCH] update annotation key |
| 5 | |
| 6 | Change-Id: Icc34433a9ce4614460be02b4671d9b7c8767eeed |
| 7 | --- |
| 8 | ovn/templates/bin/_ovn-controller-init.sh.tpl | 4 ++-- |
| 9 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 10 | |
| 11 | diff --git a/ovn/templates/bin/_ovn-controller-init.sh.tpl b/ovn/templates/bin/_ovn-controller-init.sh.tpl |
| 12 | index 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 | -- |
| 34 | 2.25.1 |
| 35 | |