Skip to content

Commit

Permalink
Reverting changes
Browse files Browse the repository at this point in the history
Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com>
  • Loading branch information
PrimalPimmy committed Jul 24, 2024
1 parent 3ca41fe commit 645631e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/pkg/reconcilers/spire-bootstrap/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}{
Expand Down

0 comments on commit 645631e

Please sign in to comment.