We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 353766e commit 9dd01cdCopy full SHA for 9dd01cd
porch/controllers/workloadidentitybindings/pkg/controllers/workloadidentitybinding/controller.go
@@ -350,7 +350,7 @@ func (r *WorkloadIdentityBindingReconciler) updateServiceAccount(ctx context.Con
350
return err
351
}
352
353
- mapping, err := r.restMapper.RESTMapping(corev1.SchemeGroupVersion.WithKind("ServiceAccount").GroupKind())
+ mapping, err := r.restMapper.RESTMapping(corev1.SchemeGroupVersion.WithKind("ServiceAccount").GroupKind(), corev1.SchemeGroupVersion.Version)
354
if err != nil {
355
356
0 commit comments