From ba521ac8608128a9f865d4125a7b1d2f02e5960a Mon Sep 17 00:00:00 2001 From: Francesco Romani Date: Thu, 2 Feb 2023 14:46:23 +0100 Subject: [PATCH] nrt: add attribute name definition Since the NRT API is moving towards top-level attributes (see: https://github.com/k8stopologyawareschedwg/noderesourcetopology-api/issues/24) add the preferred Attribute Name alongside the existing annotation Name. Signed-off-by: Francesco Romani --- podfingerprint.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/podfingerprint.go b/podfingerprint.go index b121015..4700715 100644 --- a/podfingerprint.go +++ b/podfingerprint.go @@ -48,6 +48,9 @@ const ( // Annotation is the recommended key to use to annotate objects // with the fingerprint. Annotation = "topology.node.k8s.io/fingerprint" + // Attribute is the recommended attribute name to use in + // NodeResourceTopology objects + Attribute = "nodeTopologyPodsFingerprint" ) const (