apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: istio-kyma-patch
rules:
- apiGroups: [""]
  resources: ["services", "serviceaccounts", "secrets", "configmaps", "pods", "persistentvolumeclaims"]
  verbs: ["*"]
- apiGroups: ["extensions", "apps"]
  resources: ["deployments", "replicasets"]
  verbs: ["*"]
- apiGroups: ["batch"]
  resources: ["jobs"]
  verbs: ["*"]
- apiGroups: ["authentication.istio.io"]
  resources: ["policies"]
  verbs: ["*"]