-
Notifications
You must be signed in to change notification settings - Fork 780
feat(hub): update version mapping with Proxy v3.4 #1447
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
base: master
Are you sure you want to change the base?
Conversation
{{- else if semverCompare "<v3.15.3-0" $version -}} | ||
{{ $hubProxyVersion = "v3.3" }} | ||
{{- else if or (semverCompare "=v3.16.0" $version) (semverCompare "=v3.16.1" $version) -}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{{- else if semverCompare "<v3.15.3-0" $version -}} | |
{{ $hubProxyVersion = "v3.3" }} | |
{{- else if or (semverCompare "=v3.16.0" $version) (semverCompare "=v3.16.1" $version) -}} | |
{{- else if semverCompare "<v3.15.3-0 || >= v3.16.0 < v3.16.2" $version -}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't get why this version is better, I prefer my version actually
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll try to explain it.
FTM, one condition == one version. So it's quite simple.
With multiple conditions for the same version, it makes it more complex.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mloiseleur I agree with @lbenguigui, having one condition per Hub minor version to check seems more understandable for maintenance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What does this PR do?
This PR updates the Traefik Hub / Traefik Proxy version mapping.
Motivation
Keep the mapping up to date.
More
make test
and all the tests passed