Skip to content

Commit 09a030a

Browse files
committed
add note about source of secret.
1 parent 1f6ea11 commit 09a030a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

controllers/hetznercluster_controller.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,9 @@ func reconcileWorkloadClusterSecret(ctx context.Context, clusterScope *scope.Clu
570570
wlSecret.Data["apiserver-host"] = []byte(clusterScope.HetznerCluster.Spec.ControlPlaneEndpoint.Host)
571571
wlSecret.Data["apiserver-port"] = []byte(strconv.Itoa(int(clusterScope.HetznerCluster.Spec.ControlPlaneEndpoint.Port)))
572572

573+
// Make things more obvious for people new to caph:
574+
wlSecret.Data["note"] = []byte("This secret gets reconciled by Cluster API Provider Hetzner")
575+
573576
return nil
574577
})
575578
if err != nil {

0 commit comments

Comments
 (0)