Skip to content

Commit

Permalink
update the legacy id annotation name to the right one (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mengqi Yu authored Nov 11, 2021
1 parent ff7b47b commit a327429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts/kpt-functions/src/metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a327429

Please sign in to comment.