kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: name: redhat-argocd-plugin rules: # Base for Kubernetes plugin - apiGroups: - '' resources: - pods/log - pods - services - configmaps - limitranges verbs: - get - watch - list - apiGroups: - metrics.k8s.io resources: - pods verbs: - get - watch - list - apiGroups: - apps resources: - daemonsets - deployments - replicasets - statefulsets verbs: - get - watch - list - apiGroups: - autoscaling resources: - horizontalpodautoscalers verbs: - get - watch - list - apiGroups: - networking.k8s.io resources: - ingresses verbs: - get - watch - list - apiGroups: - batch resources: - jobs - cronjobs verbs: - get - watch - list # Additional permissions for the redhat-argocd-plugin - apiGroups: - argoproj.io resources: - rollouts - analysisruns verbs: - get - list