Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traefik v2 integration #2910

Merged
merged 5 commits into from
Mar 1, 2021
Merged

Traefik v2 integration #2910

merged 5 commits into from
Mar 1, 2021

Conversation

erikwilson
Copy link
Contributor

@erikwilson erikwilson commented Feb 8, 2021

Proposed Changes

Happy path Traefik v2 integration, modified from #2774

Types of Changes

Skip Traefik v2 if Traefik v1 is present
Combine manifests (still deploys 2 helm charts)

Verification

k8s 1.20.2 -> this PR

  1. If I am upgrading a cluster which already has Traefik v1 then do not install Traefik v2
  2. If I am creating a new cluster then Traefik v2 should be installed

Linked Issues

#1141

Further Comments

Due to the annotation -> crd nature of Traefik v1 -> v2 we can not upgrade, needs manual migration (see https://github.com/traefik/traefik-migration-tool)

@erikwilson erikwilson requested a review from a team as a code owner February 8, 2021 22:05
@erikwilson erikwilson force-pushed the traefik-v2 branch 4 times, most recently from d0993ee to d4f11c7 Compare February 11, 2021 00:32
@erikwilson erikwilson changed the title wip - Traefik v2 integration Traefik v2 integration Feb 11, 2021
@erikwilson erikwilson requested a review from a team February 18, 2021 19:48
pkg/server/server.go Outdated Show resolved Hide resolved
pkg/server/server.go Outdated Show resolved Hide resolved
pkg/server/server.go Outdated Show resolved Hide resolved
c3y1huang and others added 5 commits March 1, 2021 10:44
K3s upgrade via watch over file change of static file and manifest
and triggers helm-controller for change. It seems reasonable to
only allow upgrade traefik v1->v2 when there is no existing custom
traefik HelmChartConfig in the cluster to avoid any
incompatibility.

Here also separate the CRDs and put them into a different chart
to support CRD upgrade.

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
Allow writing static files regardless of the version.

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
Logging cleanup

Co-authored-by: Brad Davidson <brad@oatmail.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants