opendistro-for-elasticsearch / opendistro-build

🧰 Open Distro Build Scripts
https://opendistro.github.io/
Apache License 2.0
344 stars 175 forks source link

[HELM] Kubernetes 1.22: Deprecated apiVersion #782

Open rexbut opened 3 years ago

rexbut commented 3 years ago

Issue #, if available:

Kubernetes Ingress apiVersion: extensions/v1beta1 is deprecated and will be removed in 1.22 Kubernetes Ingress apiVersion: rbac.authorization.k8s.io/v1beta1 is deprecated and will be removed in 1.22

Description of changes:

Use the new APIVersion. (Fix: https://github.com/opendistro-for-elasticsearch/opendistro-build/issues/779)

Test Results:

elasticsearch: client: ingress: enabled: true hosts:

Note: If this PR is related to Helm, please also update the README for related documentation changes. Thanks. https://github.com/opendistro-for-elasticsearch/opendistro-build/blob/master/helm/README.md

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on signing off your commits, please check here.

Tomasz-Kluczkowski commented 2 years ago

Looks like this got approved, is there anything outstanding?

Tomasz-Kluczkowski commented 2 years ago

I have used this PR with newest master and deployed to kubernetes 1.22.6 in production.

All works.