apiVersion: v1 kind: ServiceAccount metadata: name: certman-istio-operator namespace: cert-manager --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: certman-istio-operator rules: - apiGroups: - extensions resources: - ingresses verbs: ["get", "list", "watch"] - apiGroups: - networking.istio.io resources: - gateways - virtualservices verbs: ["*"] - apiGroups: - networking.istio.io resources: - destinationrules verbs: ["get", "create", "delete"] - apiGroups: - cio.giftfish.de resources: - refmaps verbs: ["get", "list", "create", "delete"] --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: certman-istio-operator roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: certman-istio-operator subjects: - kind: ServiceAccount name: certman-istio-operator namespace: cert-manager