From a434b6134d9fe3a7bf8e4fbda99d937890aeb8c3 Mon Sep 17 00:00:00 2001 From: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com> Date: Mon, 13 Jan 2025 15:22:04 +0100 Subject: [PATCH] chore(release): publish v34.0.0 and CRDs v1.1.0 --- traefik-crds/Changelog.md | 37 ++++++++++++ traefik-crds/Chart.yaml | 7 ++- traefik-crds/VALUES.md | 2 +- traefik/Changelog.md | 117 ++++++++++++++++++++++++++++++++++++++ traefik/Chart.yaml | 16 +++++- traefik/VALUES.md | 2 +- 6 files changed, 174 insertions(+), 7 deletions(-) create mode 100644 traefik-crds/Changelog.md diff --git a/traefik-crds/Changelog.md b/traefik-crds/Changelog.md new file mode 100644 index 000000000..1e0360179 --- /dev/null +++ b/traefik-crds/Changelog.md @@ -0,0 +1,37 @@ +# Change Log + +## 1.1.0 ![Kubernetes: >=1.22.0-0](https://img.shields.io/static/v1?label=Kubernetes&message=%3E%3D1.22.0-0&color=informational&logo=kubernetes) ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + +**Release date:** 2025-01-13 + +* feat(CRDs): update CRDs for Traefik Proxy v3.3.x +* chore(release): publish CRDs v1.1.0 + +## 1.0.0 ![Kubernetes: >=1.22.0-0](https://img.shields.io/static/v1?label=Kubernetes&message=%3E%3D1.22.0-0&color=informational&logo=kubernetes) ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + +**Release date:** 2025-01-10 + +* feat(Chart): :package: add optional separated chart for CRDs + +### Default value changes + +```diff +# Default values for Traefik CRDs +# This is a YAML-formatted file. +# Declare variables to be passed into templates + +# -- Install Traefik CRDs by default +traefik: true +# -- Set it to true to install GatewayAPI CRDs. +# Needed if you set providers.kubernetesGateway.enabled to true in main chart +gatewayAPI: false +# -- Set it to true to install Traefik Hub CRDs. +# Needed if you set hub.enabled to true in main chart +hub: false +# -- Set it to true if you want to uninstall CRDs when uninstalling this chart. +# By default, CRDs will be kept so your custom resources will not be deleted accidentally. +deleteOnUninstall: false +``` + +--- +Autogenerated from Helm Chart and git history using [helm-changelog](https://github.com/mogensen/helm-changelog) diff --git a/traefik-crds/Chart.yaml b/traefik-crds/Chart.yaml index f14f60a92..65bbbbba9 100644 --- a/traefik-crds/Chart.yaml +++ b/traefik-crds/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: traefik-crds description: A Traefik based Kubernetes ingress controller type: application -version: 1.0.0 +version: 1.1.0 kubeVersion: ">=1.22.0-0" keywords: - traefik @@ -21,4 +21,7 @@ maintainers: email: remi.buisson@traefik.io - name: jnoordsij icon: https://raw.githubusercontent.com/traefik/traefik/v2.3/docs/content/assets/img/traefik.logo.png -annotations: {} +annotations: + artifacthub.io/changes: | + - "feat(CRDs): update CRDs for Traefik Proxy v3.3.x" + - "chore(release): publish CRDs v1.1.0" diff --git a/traefik-crds/VALUES.md b/traefik-crds/VALUES.md index a6d263b83..ef001552b 100644 --- a/traefik-crds/VALUES.md +++ b/traefik-crds/VALUES.md @@ -1,6 +1,6 @@ # traefik-crds -![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) A Traefik based Kubernetes ingress controller diff --git a/traefik/Changelog.md b/traefik/Changelog.md index 53e5ac5d4..d2ba4b370 100644 --- a/traefik/Changelog.md +++ b/traefik/Changelog.md @@ -1,5 +1,122 @@ # Change Log +## 34.0.0 ![AppVersion: v3.3.1](https://img.shields.io/static/v1?label=AppVersion&message=v3.3.1&color=success&logo=) ![Kubernetes: >=1.22.0-0](https://img.shields.io/static/v1?label=Kubernetes&message=%3E%3D1.22.0-0&color=informational&logo=kubernetes) ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + +**Release date:** 2025-01-13 + +* fix(Traefik Proxy)!: use namespaceOverride as expected +* fix(Traefik Proxy)!: move redirectTo => redirections +* fix(Gateway API): status should not use default service when it's disabled +* feat(deps): update traefik docker tag to v3.3.1 +* feat(deps): update traefik docker tag to v3.2.3 +* feat(Traefik Proxy): apply migration guide to v3.3 +* feat(Traefik Proxy): add support for experimental FastProxy +* feat(Traefik Hub): add support for AI Gateway +* feat(Chart): :package: add optional separated chart for CRDs +* feat(CRDs): update CRDs for Traefik Proxy v3.3.x +* chore(release): publish v34.0.0 +* chore(Gateway API): :recycle: remove template from values + +**Upgrade Notes** + +There are multiple breaking changes in this release: + +1. When using namespaceOverride, the label selector will be changed. On a production environment, it's recommended to deploy a new instance with the new version, switch the traffic to it and delete the previous one. See PR #1290 for more information +2. `ports.x.redirectTo` has been refactored to be aligned with upstream syntax. See PR #1301 for a complete before / after example. + + +### Default value changes + +```diff +diff --git a/traefik/values.yaml b/traefik/values.yaml +index 78c8ea4..f5922fe 100644 +--- a/traefik/values.yaml ++++ b/traefik/values.yaml +@@ -122,14 +122,19 @@ core: # @schema additionalProperties: false + experimental: + # -- Defines whether all plugins must be loaded successfully for Traefik to start + abortOnPluginFailure: false ++ fastProxy: ++ # -- Enables the FastProxy implementation. ++ enabled: false ++ # -- Enable debug mode for the FastProxy implementation. ++ debug: false ++ kubernetesGateway: ++ # -- Enable traefik experimental GatewayClass CRD ++ enabled: false + # -- Enable traefik experimental plugins + plugins: {} + # demo: + # moduleName: github.com/traefik/plugindemo + # version: v0.2.1 +- kubernetesGateway: +- # -- Enable traefik experimental GatewayClass CRD +- enabled: false + + gateway: + # -- When providers.kubernetesGateway.enabled, deploy a default gateway +@@ -314,8 +319,9 @@ providers: # @schema additionalProperties: false + hostname: "" + # -- The Kubernetes service to copy status addresses from. When using third parties tools like External-DNS, this option can be used to copy the service loadbalancer.status (containing the service's endpoints IPs) to the gateways. Default to Service of this Chart. + service: +- name: "{{ (include \"traefik.fullname\" .) }}" +- namespace: "{{ .Release.Namespace }}" ++ enabled: true ++ name: "" ++ namespace: "" + + file: + # -- Create a file provider +@@ -537,8 +543,8 @@ tracing: # @schema additionalProperties: false + addInternals: false + # -- Service name used in selected backend. Default: traefik. + serviceName: # @schema type:[string, null] +- # -- Applies a list of shared key:value attributes on all spans. +- globalAttributes: {} ++ # -- Defines additional resource attributes to be sent to the collector. ++ resourceAttributes: {} + # -- Defines the list of request headers to add as attributes. It applies to client and server kind spans. + capturedRequestHeaders: [] + # -- Defines the list of response headers to add as attributes. It applies to client and server kind spans. +@@ -642,10 +648,12 @@ ports: + protocol: TCP + # -- See [upstream documentation](https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport) + nodePort: # @schema type:[integer, null]; minimum:0 +- # Port Redirections +- # Added in 2.2, you can make permanent redirects via entrypoints. +- # https://docs.traefik.io/routing/entrypoints/#redirection +- redirectTo: {} ++ redirections: ++ # -- Port Redirections ++ # Added in 2.2, one can make permanent redirects via entrypoints. ++ # Same sets of parameters: to, scheme, permanent and priority. ++ # https://docs.traefik.io/routing/entrypoints/#redirection ++ entryPoint: {} + forwardedHeaders: + # -- Trust forwarded headers information (X-Forwarded-*). + trustedIPs: [] +@@ -869,7 +877,7 @@ affinity: {} + # - labelSelector: + # matchLabels: + # app.kubernetes.io/name: '{{ template "traefik.name" . }}' +-# app.kubernetes.io/instance: '{{ .Release.Name }}-{{ .Release.Namespace }}' ++# app.kubernetes.io/instance: '{{ .Release.Name }}-{{ include "traefik.namespace" . }}' + # topologyKey: kubernetes.io/hostname + + # -- nodeSelector is the simplest recommended form of node selection constraint. +@@ -933,7 +941,9 @@ hub: + listenAddr: "" + # -- Certificate of the WebHook admission server. Default: "hub-agent-cert". + secretName: "" +- ++ experimental: ++ # -- Set to true in order to enable AI Gateway. Requires a valid license token. ++ aigateway: false + redis: + # -- Enable Redis Cluster. Default: true. + cluster: # @schema type:[boolean, null] +``` + ## 33.2.1 ![AppVersion: v3.2.2](https://img.shields.io/static/v1?label=AppVersion&message=v3.2.2&color=success&logo=) ![Kubernetes: >=1.22.0-0](https://img.shields.io/static/v1?label=Kubernetes&message=%3E%3D1.22.0-0&color=informational&logo=kubernetes) ![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) **Release date:** 2024-12-13 diff --git a/traefik/Chart.yaml b/traefik/Chart.yaml index e2b355327..c07a725c5 100644 --- a/traefik/Chart.yaml +++ b/traefik/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: traefik description: A Traefik based Kubernetes ingress controller type: application -version: 33.2.1 +version: 34.0.0 # renovate: image=traefik appVersion: v3.3.1 kubeVersion: ">=1.22.0-0" @@ -25,5 +25,15 @@ maintainers: icon: https://raw.githubusercontent.com/traefik/traefik/v2.3/docs/content/assets/img/traefik.logo.png annotations: artifacthub.io/changes: | - - "fix(Gateway API): CRDs should only be defined once" - - "chore(release): 🚀 publish v33.2.1" + - "fix(Traefik Proxy)!: use namespaceOverride as expected" + - "fix(Traefik Proxy)!: move redirectTo => redirections" + - "fix(Gateway API): status should not use default service when it's disabled" + - "feat(deps): update traefik docker tag to v3.3.1" + - "feat(deps): update traefik docker tag to v3.2.3" + - "feat(Traefik Proxy): apply migration guide to v3.3" + - "feat(Traefik Proxy): add support for experimental FastProxy" + - "feat(Traefik Hub): add support for AI Gateway" + - "feat(Chart): :package: add optional separated chart for CRDs" + - "feat(CRDs): update CRDs for Traefik Proxy v3.3.x" + - "chore(release): publish v34.0.0" + - "chore(Gateway API): :recycle: remove template from values" diff --git a/traefik/VALUES.md b/traefik/VALUES.md index 897efe006..493a75b78 100644 --- a/traefik/VALUES.md +++ b/traefik/VALUES.md @@ -1,6 +1,6 @@ # traefik -![Version: 33.2.1](https://img.shields.io/badge/Version-33.2.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v3.3.1](https://img.shields.io/badge/AppVersion-v3.3.1-informational?style=flat-square) +![Version: 34.0.0](https://img.shields.io/badge/Version-34.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v3.3.1](https://img.shields.io/badge/AppVersion-v3.3.1-informational?style=flat-square) A Traefik based Kubernetes ingress controller