Created
April 7, 2020 17:39
-
-
Save andrleite/099e3d2dce0c24fe415e5d6e0faf57db to your computer and use it in GitHub Desktop.
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
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: argo-cluster-mgmt-custom | |
namespace: kube-system | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: argo-cluster-mgmt-custom | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: ClusterRole | |
name: argo-cluster-mgmt-custom | |
subjects: | |
- kind: ServiceAccount | |
name: argo-cluster-mgmt-custom | |
namespace: kube-system | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: ClusterRole | |
metadata: | |
name: argo-cluster-mgmt-custom | |
rules: | |
- apiGroups: | |
- '' | |
resources: | |
- persistentvolumeclaims | |
- pods | |
- configmaps | |
- serviceaccounts | |
- services | |
- replicationcontrollers | |
- podtemplates | |
- namespaces | |
verbs: | |
- get | |
- list | |
- watch | |
- create | |
- update | |
- patch | |
- apiGroups: | |
- batch | |
resources: | |
- cronjobs | |
- jobs | |
verbs: | |
- get | |
- list | |
- watch | |
- create | |
- update | |
- patch | |
- apiGroups: | |
- apiextensions.k8s.io | |
resources: | |
- customresourcedefinitions | |
verbs: | |
- get | |
- list | |
- watch | |
- create | |
- update | |
- patch | |
- apiGroups: | |
- apps | |
resources: | |
- deployments | |
- daemonsets | |
- statefulsets | |
- replicasets | |
- controllerrevisions | |
verbs: | |
- get | |
- list | |
- watch | |
- create | |
- update | |
- patch | |
- apiGroups: | |
- extensions | |
resources: | |
- deployments | |
- daemonsets | |
- statefulsets | |
- ingresses | |
- networkpolicies | |
- podsecuritypolicies | |
- replicasets | |
verbs: | |
- get | |
- list | |
- watch | |
- create | |
- update | |
- patch | |
- apiGroups: | |
- networking.istio.io | |
resources: | |
- destinationrules | |
- envoyfilters | |
- gateways | |
- serviceentries | |
- sidecars | |
- virtualservices | |
verbs: | |
- get | |
- list | |
- watch | |
- create | |
- update | |
- patch | |
- apiGroups: | |
- networking.k8s.io | |
resources: | |
- ingresses | |
- networkpolicies | |
verbs: | |
- get | |
- list | |
- watch | |
- create | |
- update | |
- patch | |
- apiGroups: | |
- rbac.authorization.k8s.io | |
resources: | |
- clusterrolebindings | |
- clusterroles | |
- rolebindings | |
- roles | |
verbs: | |
- get | |
- list | |
- watch | |
- create | |
- update | |
- patch | |
- apiGroups: | |
- cloud.google.com | |
resources: | |
- backendconfigs | |
verbs: | |
- get | |
- list | |
- watch | |
- create | |
- update | |
- patch | |
- apiGroups: | |
- monitoring.coreos.com | |
resources: | |
- prometheuses | |
- prometheusrules | |
- alertmanagers | |
verbs: | |
- get | |
- list | |
- watch | |
- create | |
- update | |
- patch | |
- apiGroups: | |
- '*' | |
resources: | |
- '*' | |
verbs: | |
- list | |
- watch | |
- nonResourceURLs: | |
- '/metrics' | |
verbs: | |
- get |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment