From a327429f369c1cccd0e867c5526ecb71f2259add Mon Sep 17 00:00:00 2001 From: Mengqi Yu Date: Thu, 11 Nov 2021 10:11:38 -0800 Subject: [PATCH] update the legacy id annotation name to the right one (#451) --- ts/kpt-functions/src/metadata.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/kpt-functions/src/metadata.ts b/ts/kpt-functions/src/metadata.ts index 3f34635ba..56fa48957 100644 --- a/ts/kpt-functions/src/metadata.ts +++ b/ts/kpt-functions/src/metadata.ts @@ -25,7 +25,7 @@ export const ID_ANNOTATION = `${ANNOTATION_PREFIX}/id`; export const LEGACY_ANNOTATION_PREFIX = 'config.kubernetes.io'; export const LEGACY_SOURCE_PATH_ANNOTATION = `${LEGACY_ANNOTATION_PREFIX}/path`; export const LEGACY_SOURCE_INDEX_ANNOTATION = `${LEGACY_ANNOTATION_PREFIX}/index`; -export const LEGACY_ID_ANNOTATION = `${LEGACY_ANNOTATION_PREFIX}/id`; +export const LEGACY_ID_ANNOTATION = `config.k8s.io/id`; /** * Add an annotation to a KubernetesObject's metadata. Overwrites the previously existing annotation if it exists.