-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
fix ingress for k8s v1.19 #13173
fix ingress for k8s v1.19 #13173
Conversation
|
@@ -299,7 +299,7 @@ metadata: | |||
namespace: ingress-nginx | |||
spec: | |||
type: NodePort | |||
{{- if eq .IngressAPIVersion "v1"}} | |||
{{- if and (eq .IngressAPIVersion "v1") (not .LegacyKubernetesVersion)}} |
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 think we could choose a better future-proof than "legacyKubernetesVersion)" , since this field is used by all other addons and in future we might have other issues with other addons , these two legacies could conflict
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 would prefer any other name than legacyKubernetesVersion.
even something as preOneTwentyKuberentes
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.
it makes sense (and i like it!) - renamed accordingly
/ok-to-test |
Thanks @prezha looks like u might need to redo the CLA https://api.easycla.lfx.linuxfoundation.org/v2/repository-provider/github/sign/18706487/56353740/13173/#/?version=2 |
just did (2nd time!) |
kvm2 driver with docker runtime
Times for minikube (PR 13173) start: 45.8s 45.6s 45.2s 46.1s 44.8s Times for minikube ingress: 29.1s 29.6s 27.1s 29.6s 28.1s docker driver with docker runtime
Times for minikube ingress: 23.4s 23.9s 21.9s 22.9s 22.4s Times for minikube start: 26.4s 27.0s 26.8s 27.2s 26.1s docker driver with containerd runtime
Times for minikube ingress: 33.4s 29.9s 29.9s 28.9s 28.9s Times for minikube start: 36.4s 46.9s 46.7s 47.3s 47.4s |
These are the flake rates of all failed tests.
To see the flake rates of all tests by environment, click here. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: prezha, sharifelgamal The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Thanks @prezha |
fixes #13172
bonus: upgrades ingress-nginx/controller to the latest v1.1.0
example output: