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

Update Ingress apiVersion for support Kubernetes v1.16 #631

Merged

Conversation

ramrodo
Copy link
Contributor

@ramrodo ramrodo commented Jun 17, 2020

This PR is for update Ingress apiVersion from extensions/v1beta1 to networking.k8s.io/v1beta1 for supporting Kubernetes v1.16.

Closes #628

Signed-off-by: Rodolfo Martínez [email protected]

…s.io/v1beta1" for supporting Kubernetes v1.16

Signed-off-by: Rodolfo Martínez <[email protected]>
@heww
Copy link
Contributor

heww commented Jun 19, 2020

Please use Capabilities to deal with this problem when both helm 2 and 3 support Capabilities feature. Thanks!

…e and after v1.14

Signed-off-by: Rodolfo Martínez Vega <[email protected]>
Signed-off-by: Rodolfo Martínez Vega <[email protected]>
…n.GitVersion for support Helm 2 linter

Signed-off-by: Rodolfo Martínez Vega <[email protected]>
@ramrodo ramrodo force-pushed the 628/update-ingress-api-version-for-k8s-v116 branch from aefa190 to 6b8a0f1 Compare July 10, 2020 17:14
@ramrodo
Copy link
Contributor Author

ramrodo commented Jul 10, 2020

Thanks for the tip @heww. I just updated the PR.

@maxdanilov
Copy link

Hi 👋
Are there any updates on this?
We were wondering why the 1.4.1 chart is using a deprecated ingress version and found this PR.
Any estimation on when it will be released?

@ryan-a-baker
Copy link

Can we get this merged? This is blocking us from upgrading to 1.16.

@ryan-a-baker
Copy link

@reasonerjt or @ywk253100?

Copy link
Contributor

@stefannica stefannica left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I recently ran into this problem myself, tried to fix it, but didn't see this PR was already open.

@ramrodo
Copy link
Contributor Author

ramrodo commented Aug 28, 2020

Thanks Stefan. There is pending one more review in order to merge this. Can anyone else help us with this @reasonerjt or @ywk253100?

@ryan-a-baker
Copy link

It was just pointed out to me that this actually shouldn't block anything on 1.16 (I tested and confirmed as well on 1.16). I was just assuming that it would block us because it came back on the mapkubeapis plugin as having a deprecated API. Ingresses aren't removed in 1.16, but instead in 1.22, which is what this PR resolves.

The v1.22 release will stop serving the following deprecated API versions in favor of newer and more stable API versions:

Ingress in the extensions/v1beta1 API version will no longer be served
Migrate to use the networking.k8s.io/v1beta1 API version, available since v1.14. Existing persisted data can be retrieved/updated via the new version.

https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16

Still would be good to get this merged, but isn't blocking on 1.16 upgrades as I mentioned previously.

@reasonerjt
Copy link
Contributor

reasonerjt commented Sep 17, 2020

Thanks and I'll write another PR to remove the if chunks as we'll only support v1.16+ for chart v1.5.0

@ywk253100 ywk253100 merged commit f97f506 into goharbor:master Sep 17, 2020
stefannica added a commit to stefannica/harbor-helm that referenced this pull request Oct 8, 2020
Update Ingress apiVersion from extensions/v1beta1
to networking.k8s.io/v1beta1 for supporting Kubernetes v1.16 and older.

Backported from goharbor#631
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
8 participants