Skip to content

Commit 815115e

Browse files
committed
Update tokengetter.go
Update go version checker (operator-framework#1474) * Handle new files (old version is empty) * Handle the case where .0 patch is added/removed Signed-off-by: Todd Short <[email protected]> sa not found Signed-off-by: rashmi_kh <[email protected]> 📖 Document OLMv1 permission model (operator-framework#1380) * changes to derice minimum service account Signed-off-by: rashmi_kh <[email protected]> * remove headers Signed-off-by: rashmi_kh <[email protected]> * add details about registry+v1 support * render yml correctly Signed-off-by: rashmi_kh <[email protected]> * create doc for olmv1 permission model Signed-off-by: rashmi_kh <[email protected]> * Delete docs/drafts directory * Update permission-model.md * update permission models with link Signed-off-by: rashmi_kh <[email protected]> * add space Signed-off-by: rashmi_kh <[email protected]> * add more structure Signed-off-by: rashmi_kh <[email protected]> * incorporate review comments Signed-off-by: rashmi_kh <[email protected]> * incorporate review comments Signed-off-by: rashmi_kh <[email protected]> * pers review comments-s * example as header-s * update the example Signed-off-by: rashmi_kh <[email protected]> --------- Signed-off-by: rashmi_kh <[email protected]> Delete docs/drafts/derive-serviceaccount.md add custom sa not found Signed-off-by: rashmi_kh <[email protected]>
1 parent 5d5d2de commit 815115e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/authentication/tokengetter.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package authentication
22

33
import (
4+
"fmt"
45
"context"
56
"fmt"
67
"strings"
@@ -11,6 +12,7 @@ import (
1112
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1213
"k8s.io/apimachinery/pkg/types"
1314
corev1 "k8s.io/client-go/kubernetes/typed/core/v1"
15+
"k8s.io/apimachinery/pkg/api/errors"
1416
"k8s.io/utils/ptr"
1517
)
1618

0 commit comments

Comments
 (0)