From a78ea6f0698f13ca8f113425cfe2860c107cba94 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Sun, 30 Jul 2023 11:23:28 +0300 Subject: [PATCH] fix(traefik): "local' plugins dont use the version (#11030) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** ⚒️ Fixes # **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** **📃 Notes:** **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --- charts/enterprise/traefik/Chart.yaml | 2 +- charts/enterprise/traefik/templates/_args.tpl | 3 --- charts/enterprise/traefik/values.yaml | 3 --- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/charts/enterprise/traefik/Chart.yaml b/charts/enterprise/traefik/Chart.yaml index e3482fcec54..c96a92273ff 100644 --- a/charts/enterprise/traefik/Chart.yaml +++ b/charts/enterprise/traefik/Chart.yaml @@ -23,7 +23,7 @@ sources: - https://github.com/traefik/traefik-helm-chart - https://traefik.io/ type: application -version: 19.0.2 +version: 19.0.3 annotations: truecharts.org/catagories: | - network diff --git a/charts/enterprise/traefik/templates/_args.tpl b/charts/enterprise/traefik/templates/_args.tpl index 12b73e8bcd5..04cd3461912 100644 --- a/charts/enterprise/traefik/templates/_args.tpl +++ b/charts/enterprise/traefik/templates/_args.tpl @@ -164,19 +164,16 @@ args: {{- if .Values.middlewares.themePark }} {{/* theme.park */}} - "--experimental.localPlugins.traefik-themepark.modulename=github.com/packruler/traefik-themepark" - - "--experimental.localPlugins.traefik-themepark.version={{ .Values.middlewares.themeParkVersion }}" {{- end }} {{/* End of theme.park */}} {{/* GeoBlock */}} {{- if .Values.middlewares.geoBlock }} - "--experimental.localPlugins.GeoBlock.modulename=github.com/PascalMinder/geoblock" - - "--experimental.localPlugins.GeoBlock.version={{ .Values.middlewares.geoBlockVersion }}" {{- end }} {{/* End of GeoBlock */}} {{/* RealIP */}} {{- if .Values.middlewares.realIP }} - "--experimental.localPlugins.traefik-real-ip.modulename=github.com/soulbalz/traefik-real-ip" - - "--experimental.localPlugins.traefik-real-ip.version={{ .Values.middlewares.realIPVersion }}" {{- end }} {{/* End of RealIP */}} {{- with .Values.additionalArguments }} diff --git a/charts/enterprise/traefik/values.yaml b/charts/enterprise/traefik/values.yaml index aaef9998a1b..4ade7b9f4c7 100644 --- a/charts/enterprise/traefik/values.yaml +++ b/charts/enterprise/traefik/values.yaml @@ -372,7 +372,6 @@ middlewares: # ipStrategy: # depth: 2 # excludedIPs: [] - themeParkVersion: v1.3.0 themePark: [] # - name: themeParkName # -- Supported apps, lower case name @@ -384,7 +383,6 @@ middlewares: # theme: themenamehere # -- https://theme-park.dev or a self hosted url # baseUrl: https://theme-park.dev - realIPVersion: v1.0.3 # Sets X-Real-Ip with an IP from the X-Forwarded-For or # Cf-Connecting-Ip (If from Cloudflare) # Evaluation of those headers will go from last to first @@ -397,7 +395,6 @@ middlewares: addPrefix: [] # - name: addPrefixName # prefix: "/foo" - geoBlockVersion: v0.2.4 geoBlock: [] # -- https://github.com/PascalMinder/geoblock # - name: geoBlockName