diff --git a/controllers/pkg/reconcilers/spire-bootstrap/reconciler.go b/controllers/pkg/reconcilers/spire-bootstrap/reconciler.go index cf361981..902c53f8 100644 --- a/controllers/pkg/reconcilers/spire-bootstrap/reconciler.go +++ b/controllers/pkg/reconcilers/spire-bootstrap/reconciler.go @@ -374,11 +374,11 @@ func (r *reconciler) createKubeconfigConfigMap(ctx context.Context, clientset *k "kind": "Config", "clusters": []map[string]interface{}{ { + "name": "regional", "cluster": map[string]string{ "certificate-authority-data": base64.StdEncoding.EncodeToString([]byte(caCert)), "server": clientset.RESTClient().Get().URL().String(), }, - "name": "regional", }, }, "contexts": []map[string]interface{}{