Skip to content

Commit

Permalink
BREAKING CHANGE: Traefik 2.10 comes with CRDs update on API Group
Browse files Browse the repository at this point in the history
  • Loading branch information
mloiseleur authored Apr 26, 2023
1 parent 3a36923 commit 008d665
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 16 deletions.
6 changes: 3 additions & 3 deletions EXAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ extraObjects:
username: admin
password: changeme

- apiVersion: traefik.containo.us/v1alpha1
- apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: traefik-dashboard-auth
Expand Down Expand Up @@ -138,7 +138,7 @@ extraObjects:
username: admin
password: changeme

- apiVersion: traefik.containo.us/v1alpha1
- apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: traefik-dashboard-auth
Expand Down Expand Up @@ -403,7 +403,7 @@ tlsStore:
They should use websecure entrypoint like this:

```yaml
apiVersion: traefik.containo.us/v1alpha1
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: example-com-tls
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ helm repo update
# See current Chart & Traefik version
helm search repo traefik/traefik
# Upgrade Traefik
helm upgrade --reuse-values traefik traefik/traefik
helm upgrade traefik traefik/traefik
```

New major version indicates that there is an incompatible breaking change.
Expand Down
9 changes: 8 additions & 1 deletion traefik/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
# Change Log

## 23.0.0 ![AppVersion: v2.10.0](https://img.shields.io/static/v1?label=AppVersion&message=v2.10.0&color=success&logo=) ![Kubernetes: >=1.16.0-0](https://img.shields.io/static/v1?label=Kubernetes&message=%3E%3D1.16.0-0&color=informational&logo=kubernetes) ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm)

**Release date:** 2023-04-26

* BREAKING CHANGE: Traefik 2.10 comes with CRDs update on API Group


## 22.3.0 ![AppVersion: v2.10.0](https://img.shields.io/static/v1?label=AppVersion&message=v2.10.0&color=success&logo=) ![Kubernetes: >=1.16.0-0](https://img.shields.io/static/v1?label=Kubernetes&message=%3E%3D1.16.0-0&color=informational&logo=kubernetes) ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm)

**Release date:** 2023-04-25

* release: ⬆️ Upgrade traefik Docker tag to v2.10.0
* ⬆️ Upgrade traefik Docker tag to v2.10.0
* fix: 🐛 update rbac for both traefik.io and containo.us apigroups (#836)
* breaking: 💥 update CRDs needed for Traefik v2.10

Expand Down
6 changes: 2 additions & 4 deletions traefik/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: traefik
description: A Traefik based Kubernetes ingress controller
type: application
version: 22.3.0
version: 23.0.0
# renovate: image=traefik
appVersion: v2.10.0
kubeVersion: ">=1.16.0-0"
Expand All @@ -28,6 +28,4 @@ maintainers:
icon: https://raw.githubusercontent.com/traefik/traefik/v2.3/docs/content/assets/img/traefik.logo.png
annotations:
artifacthub.io/changes: |
- "release: ⬆️ Upgrade traefik Docker tag to v2.10.0"
- "fix: 🐛 update rbac for both traefik.io and containo.us apigroups (#836)"
- "breaking: 💥 update CRDs needed for Traefik v2.10"
- "BREAKING CHANGE: Traefik 2.10 comes with CRDs update on API Group"
1 change: 0 additions & 1 deletion traefik/templates/_podtemplate.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,6 @@
{{- end }}
{{- end }}
{{- if .Values.hub.enabled }}
- "--experimental.hub"
- "--hub"
{{- if .Values.hub.tunnelPort }}
- --entrypoints.traefikhub-tunl.address=:{{.Values.hub.tunnelPort}}
Expand Down
2 changes: 1 addition & 1 deletion traefik/templates/dashboard-ingressroute.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.ingressRoute.dashboard.enabled -}}
apiVersion: traefik.containo.us/v1alpha1
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: {{ template "traefik.fullname" . }}-dashboard
Expand Down
2 changes: 1 addition & 1 deletion traefik/templates/tlsoption.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- range $name, $config := .Values.tlsOptions }}
apiVersion: traefik.containo.us/v1alpha1
apiVersion: traefik.io/v1alpha1
kind: TLSOption
metadata:
name: {{ $name }}
Expand Down
2 changes: 1 addition & 1 deletion traefik/templates/tlsstore.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- range $name, $config := .Values.tlsStore }}
apiVersion: traefik.containo.us/v1alpha1
apiVersion: traefik.io/v1alpha1
kind: TLSStore
metadata:
name: {{ $name }}
Expand Down
3 changes: 0 additions & 3 deletions traefik/tests/hub-integration-config_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ tests:
- contains:
path: spec.template.spec.containers[0].args
content: "--hub"
- contains:
path: spec.template.spec.containers[0].args
content: "--experimental.hub"
- contains:
path: spec.template.spec.containers[0].args
content: "--metrics.prometheus.addRoutersLabels=true"
Expand Down

0 comments on commit 008d665

Please sign in to comment.