Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whether you can provide a read-only option for a graphical interface #14040

Closed
zhaomingcheng01 opened this issue Dec 31, 2024 · 2 comments
Closed
Labels
type/feature Feature request

Comments

@zhaomingcheng01
Copy link

Whether you can provide a read-only option for a graphical interface

@zhaomingcheng01 zhaomingcheng01 added the type/feature Feature request label Dec 31, 2024
@tooptoop4
Copy link
Contributor

u can, look at RBAC docs

@shuangkun
Copy link
Member

You can bind read-only permissions to logged-in users.

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  labels:
    rbac.authorization.k8s.io/aggregate-to-view: "true"
  name: argo-aggregate-to-view
rules:
- apiGroups:
  - argoproj.io
  resources:
  - workflows
  - workflows/finalizers
  - workfloweventbindings
  - workfloweventbindings/finalizers
  - workflowtemplates
  - workflowtemplates/finalizers
  - cronworkflows
  - cronworkflows/finalizers
  - clusterworkflowtemplates
  - clusterworkflowtemplates/finalizers
  - workflowtaskresults
  - workflowtaskresults/finalizers
  verbs:
  - get
  - list
  - watch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Feature request
Projects
None yet
Development

No branches or pull requests

3 participants