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

Commit

Permalink
Merge pull request #39 from chuckha/secretname
Browse files Browse the repository at this point in the history
Temporary fix for cluster-api 1.4
  • Loading branch information
k8s-ci-robot authored Jun 28, 2019
2 parents 0e80989 + 114b321 commit fa2316e
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 fa2316e

Please sign in to comment.