Skip to content

Instantly share code, notes, and snippets.

@aweiteka
Created January 21, 2019 17:04
Show Gist options
  • Save aweiteka/b72f0a015dec8d4d4e914cb9c5817067 to your computer and use it in GitHub Desktop.
Save aweiteka/b72f0a015dec8d4d4e914cb9c5817067 to your computer and use it in GitHub Desktop.
Allow internal users to manage ClusterServiceVersion (CSV)
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: aggregate-sd-csv-admin
labels:
# Add these permissions to the "dedicated-admin" role.
rbac.authorization.k8s.io/aggregate-to-dedicated-admin: "true"
rules:
- apiGroups: ["operators.coreos.com"]
resources: ["clusterserviceversions"]
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment