kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  namespace: test-ns
  name: test-spring-cloud-apps-role
rules:
  - apiGroups: ["", "extensions", "apps"]
    resources: ["configmaps", "pods", "services", "endpoints", "secrets"]
    verbs: ["get", "list", "watch"]