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

Temporary fix for cluster-api 1.4 #39

Merged
merged 1 commit into from
Jun 28, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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