openshift_auth - fix discard token (#178)

* openshift_auth: when revoking token, compute the right name of the openshift resource to delete from token name

* conditional check to revoke token
This commit is contained in:
Bikouo Aubin
2023-01-12 10:53:42 -05:00
committed by GitHub
parent d7f8aa537a
commit 5aa63e1b07
4 changed files with 120 additions and 35 deletions
+1 -1
View File
@@ -54,7 +54,7 @@
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-reader
name: cluster-admin
subjects:
- apiGroup: rbac.authorization.k8s.io
kind: User