constants: rename components annotation key

This commit is contained in:
Leonard Cohnen 2023-01-06 20:48:03 +01:00 committed by 3u13r
parent 703f73a761
commit 8c5e41b865
6 changed files with 35 additions and 35 deletions

View file

@ -174,7 +174,7 @@ func (k *KubeWrapper) InitCluster(
// Annotate Node with the hash of the installed components
if err := k.client.AnnotateNode(ctx, nodeName,
constants.NodeKubernetesComponentsHashAnnotationKey, k8sComponentsConfigMap,
constants.NodeKubernetesComponentsAnnotationKey, k8sComponentsConfigMap,
); err != nil {
return nil, fmt.Errorf("annotating node with Kubernetes components hash: %w", err)
}