diff --git a/README.md b/README.md index 690f1957..a55fdb76 100644 --- a/README.md +++ b/README.md @@ -378,7 +378,7 @@ spec: ``` **Note**: The proxy needs read access to keycloakrealms as well as patch access to the /status subresource. -In the example above there is a ClusterRole called keycloakrealm-proxy granting just that. This ClusterRole also is bundled in the helm chart, you may use {releaseName}-proxy for the RoleBinding. +In the example above there is a ClusterRole called keycloakrealm-proxy granting just that. This ClusterRole also is bundled in the helm chart, you may use {releaseName}-reconcile-proxy for the RoleBinding. ## Installation diff --git a/chart/keycloak-controller/templates/clusterrole.yaml b/chart/keycloak-controller/templates/clusterrole.yaml index f7bef02b..0a064187 100644 --- a/chart/keycloak-controller/templates/clusterrole.yaml +++ b/chart/keycloak-controller/templates/clusterrole.yaml @@ -2,7 +2,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - name: {{ template "keycloak-controller.fullname" . }}-proxy + name: {{ template "keycloak-controller.fullname" . }}-reconcile-proxy rules: - apiGroups: ["keycloak.infra.doodle.com"] resources: @@ -85,4 +85,4 @@ rules: - patch - update - watch -{{- end }} \ No newline at end of file +{{- end }}