Skip to content

Commit

Permalink
fix: rename proxy role (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
raffis authored Dec 6, 2023
1 parent b7d2e9c commit 4f16d61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions chart/keycloak-controller/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -85,4 +85,4 @@ rules:
- patch
- update
- watch
{{- end }}
{{- end }}

0 comments on commit 4f16d61

Please sign in to comment.