Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

Commit

Permalink
Temporary fix for cluster-api 1.4
Browse files Browse the repository at this point in the history
Signed-off-by: Chuck Ha <[email protected]>
  • Loading branch information
chuckha committed Jun 27, 2019
1 parent b433f80 commit 114b321
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion actuators/actuators.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ func kubeconfigToSecret(clusterName, namespace string) (*v1.Secret, error) {
// write it to a secret
return &v1.Secret{
ObjectMeta: metav1.ObjectMeta{
Name: fmt.Sprintf("kubeconfig-%s", clusterName),
// TODO pull in the kubeconfig secret function from cluster api
Name: fmt.Sprintf("%s-kubeconfig", clusterName),
Namespace: namespace,
},
Data: map[string][]byte{
Expand Down

0 comments on commit 114b321

Please sign in to comment.