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 00b4c1f commit 4dd0f46
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 @@ -395,7 +395,7 @@ func (r *reconciler) createKubeconfigConfigMap(ctx context.Context, clientset *k
if restrictedKC.Data == nil {
restrictedKC.Data = make(map[string]string)
}
restrictedKC.Data[newConfigKey] = string(kubeconfig)
restrictedKC.Data[newConfigKey] = kubeconfig

// _, err = clientset.CoreV1().ConfigMaps("spire").Create(context.TODO(), kubeconfigCM, metav1.CreateOptions{})
err = r.Update(ctx, restrictedKC)
Expand Down

0 comments on commit 4dd0f46

Please sign in to comment.