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 16:53:42 +01:00
committed by GitHub
parent d7f8aa537a
commit 5aa63e1b07
4 changed files with 120 additions and 35 deletions

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