Skip to content

Commit a327429

Browse files
author
Mengqi Yu
authored
update the legacy id annotation name to the right one (#451)
1 parent ff7b47b commit a327429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ts/kpt-functions/src/metadata.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const ID_ANNOTATION = `${ANNOTATION_PREFIX}/id`;
2525
export const LEGACY_ANNOTATION_PREFIX = 'config.kubernetes.io';
2626
export const LEGACY_SOURCE_PATH_ANNOTATION = `${LEGACY_ANNOTATION_PREFIX}/path`;
2727
export const LEGACY_SOURCE_INDEX_ANNOTATION = `${LEGACY_ANNOTATION_PREFIX}/index`;
28-
export const LEGACY_ID_ANNOTATION = `${LEGACY_ANNOTATION_PREFIX}/id`;
28+
export const LEGACY_ID_ANNOTATION = `config.k8s.io/id`;
2929

3030
/**
3131
* Add an annotation to a KubernetesObject's metadata. Overwrites the previously existing annotation if it exists.

0 commit comments

Comments
 (0)