diff --git a/charts/beekeeper/templates/clusterrole.yaml b/charts/beekeeper/templates/clusterrole.yaml index 48dc2b8..bffdaca 100644 --- a/charts/beekeeper/templates/clusterrole.yaml +++ b/charts/beekeeper/templates/clusterrole.yaml @@ -43,8 +43,11 @@ rules: - apiGroups: [""] resources: ["secrets"] verbs: ["get", "create", "list", "watch"] -- apiGroups: ["apps"] - resources: ["statefulsets"] +- apiGroups: ["networking.k8s.io"] + resources: ["ingresses","ingressroutes"] + verbs: ["get", "list", "watch"] +- apiGroups: ["traefik.containo.us"] + resources: ["ingresses","ingressroutes"] verbs: ["get", "list", "watch"] --- @@ -62,4 +65,4 @@ roleRef: kind: ClusterRole name: {{ include "beekeeper.serviceAccountName" . }} apiGroup: rbac.authorization.k8s.io -{{- end -}} \ No newline at end of file +{{- end -}}