forked from openshift/kubernetes-sigs-kueue
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add steps how to access VisibilityOnDemand via curl (kubernetes-sigs#…
…3160) * Add steps how to access VisibilityOnDemand via curl. Co-authored-by: Marek Molisch <[email protected]> * Review remarks. --------- Co-authored-by: Marek Molisch <[email protected]>
- Loading branch information
Showing
2 changed files
with
226 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
site/static/examples/visibility/cluster-role-and-binding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: kueue-visibility-server-api | ||
rules: | ||
- apiGroups: | ||
- "visibility.kueue.x-k8s.io" | ||
resources: | ||
- "clusterqueues/pendingworkloads" | ||
- "localqueues/pendingworkloads" | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: kueue-visibility-server-api | ||
namespace: default | ||
subjects: | ||
- kind: ServiceAccount | ||
name: default | ||
namespace: default | ||
roleRef: | ||
kind: ClusterRole | ||
name: kueue-visibility-server-api | ||
apiGroup: rbac.authorization.k8s.io |