mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-06 16:25:21 -04:00
constants: rename components annotation key
This commit is contained in:
parent
703f73a761
commit
8c5e41b865
6 changed files with 35 additions and 35 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue