Skip to content

Commit

Permalink
Added traefik-proxy rules to helm chart (#3325)
Browse files Browse the repository at this point in the history
* Added traefik-proxy rules to helm chart

* Added new Traefik api group to chart

Signed-off-by: Thomas Kosiewski <thoma471@googlemail.com>

* Added changelog entry

Signed-off-by: Thomas Kosiewski <thomas.kosiewski@loft.sh>

---------

Signed-off-by: Thomas Kosiewski <thoma471@googlemail.com>
Signed-off-by: Thomas Kosiewski <thomas.kosiewski@loft.sh>
  • Loading branch information
ThomasK33 authored Jun 28, 2023
1 parent d25ba9f commit 440f513
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/external-dns/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### All Changes

- Disallowed privilege escalation in container security context and set the seccomp profile type to `RuntimeDefault`. ([#3689](https://github.com/kubernetes-sigs/external-dns/pull/3689)) [@nrvnrvn](https://github.com/nrvnrvn)
- Added RBAC for Traefik to ClusterRole. ([#3325](https://github.com/kubernetes-sigs/external-dns/pull/3325)) [@ThomasK33](https://github.com/thomask33)

## [v1.13.0] - 2023-03-30

Expand Down
5 changes: 5 additions & 0 deletions charts/external-dns/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ rules:
resources: ["tcpingresses"]
verbs: ["get","watch","list"]
{{- end }}
{{- if has "traefik-proxy" .Values.sources }}
- apiGroups: ["traefik.containo.us", "traefik.io"]
resources: ["ingressroutes", "ingressroutetcps", "ingressrouteudps"]
verbs: ["get","watch","list"]
{{- end }}
{{- if has "openshift-route" .Values.sources }}
- apiGroups: ["route.openshift.io"]
resources: ["routes"]
Expand Down

0 comments on commit 440f513

Please sign in to comment.