Skip to content

Commit

Permalink
feat: Bump traefik to 20.3.0 (#818)
Browse files Browse the repository at this point in the history
* chore: Update traefik 10.30.1 => 20.1.1

* chore: Move traefik/10.30.1 => traefik/20.1.1

* chore: Update kommander defaults: traefik 10.30.1 => 20.1.1

* chore: bump base tech version in dashboard cm

build: bump version in licenses

Signed-off-by: Tarun Gupta Akirala <[email protected]>

* feat: bump traefik to v20.2.0

Signed-off-by: Tarun Gupta Akirala <[email protected]>

* fix: force upgrade traefik

Signed-off-by: Tarun Gupta Akirala <[email protected]>

* chore: remove unused velero port exposure

Signed-off-by: Tarun Gupta Akirala <[email protected]>

* feat: bump traefik to v20.3.0

Signed-off-by: Tarun Gupta Akirala <[email protected]>

Signed-off-by: Tarun Gupta Akirala <[email protected]>
Co-authored-by: d2iq-mergebot <[email protected]>
Co-authored-by: Tarun Gupta Akirala <[email protected]>
  • Loading branch information
3 people authored Nov 18, 2022
1 parent 6bb6471 commit 10743a6
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 18 deletions.
4 changes: 2 additions & 2 deletions licenses.d2iq.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ resources:
- url: https://github.com/kubernetes-sigs/dashboard-metrics-scraper
ref: ${image_tag}
license_path: LICENSE
- container_image: docker.io/library/traefik:2.8.7
- container_image: docker.io/library/traefik:v2.9.4
sources:
- url: https://github.com/traefik/traefik
ref: v${image_tag}
ref: ${image_tag}
license_path: LICENSE.md
- container_image: docker.io/mesosphere/capimate:v2.3.0
sources:
Expand Down
2 changes: 1 addition & 1 deletion services/kommander/0.5.0/defaults/cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ data:
prerequisites:
defaultApps:
reloader: "0.0.124"
traefik: "10.30.1"
traefik: "20.3.0"
kubernetes-dashboard: "5.11.0"
kubecost: "0.29.0"
kube-prometheus-stack: "40.0.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
name: traefik-10.30.1-d2iq-defaults
name: traefik-20.3.0-d2iq-defaults
namespace: ${releaseNamespace}
data:
values.yaml: |
Expand Down Expand Up @@ -197,12 +196,8 @@ data:
# pathOverride: "${releaseNamespace}/kommander-traefik"
pilot:
dashboard: false
ports:
# Minio must be hosted on a separate port and not on a subpath,
# see explaination in https://github.com/minio/minio/issues/10162
velero-minio:
# port: 9000 is occupied by the "traefik" endpoint which is not exposed
port: 9090
expose: true
exposedPort: 9000 # Velero is configured to use this value
protocol: TCP
# This value should be equal to release name. Justification with timeline of changes:
# 1. This was set to `kommander-treafik` in an old chart version - https://github.com/traefik/traefik-helm-chart/blob/v10.30.1/traefik/templates/deployment.yaml#L42 (Shipped in DKP 2.4)
# 2. A breaking change was made in traefik 17.0.1 https://github.com/traefik/traefik-helm-chart/blob/v17.0.1/traefik/templates/deployment.yaml#L38 which caused it to be renamed to `kommander-treafik-${releaseNamespace}`
# 3. Another change was made in 20.3.0 for backwards compatibility thats lets a user override the label value - https://github.com/traefik/traefik-helm-chart/blob/v20.3.0/traefik/templates/_helpers.tpl#L42-L47
instanceLabelOverride: "kommander-traefik"
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
kind: HelmRepository
name: helm.traefik.io-traefik
namespace: kommander-flux
version: 10.30.1
version: 20.3.0
interval: 15s
install:
crds: CreateReplace
Expand All @@ -25,7 +25,7 @@ spec:
releaseName: kommander-traefik
valuesFrom:
- kind: ConfigMap
name: traefik-10.30.1-d2iq-defaults
name: traefik-20.3.0-d2iq-defaults
---
apiVersion: v1
kind: ConfigMap
Expand All @@ -37,9 +37,9 @@ metadata:
data:
name: "Traefik"
dashboardLink: "/dkp/traefik/dashboard/"
docsLink: "https://doc.traefik.io/traefik/v2.5"
docsLink: "https://doc.traefik.io/traefik/v2.9"
# Check https://artifacthub.io/packages/helm/traefik/traefik for app version
version: "2.8.7"
version: "2.9.4"
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
Expand Down

0 comments on commit 10743a6

Please sign in to comment.