-
Notifications
You must be signed in to change notification settings - Fork 1.9k
ingress networking.k8s.io/v1beta1 is deprecated #1136
Comments
Hi @zerkms, thanks for submitting this issue 👍🏻 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Right, I may do a PR if nobody from the team decides to fix themselves then :-) |
Bumping this again as kibana refuses to deploy on kubernetes 1.22, which was released 10 days ago. The recommended way to define API versions in helm is something like this from kube-prometheus-stack. It detects the current Kubernetes version, and uses the best apiversion for it. |
Any update on this? Thanks |
@jmlrt - those changes are not the ideal way to solve this issue. Ideally you version check to determine which apiVersion you should support:
|
Yeah, that was the initial plan but as we removed the support of K8S 1.18 in #1410 we decided to skip the additional code for handling the previous apiVersion. People using K8S 1.18 or lower can stay with the previous version of these charts. |
Chart version: 7.12.0
Kubernetes version: 1.19
Kubernetes provider: E.g. GKE (Google Kubernetes Engine) n/a
Helm Version: n/a
helm get release
output n/ae.g.
helm get elasticsearch
(replaceelasticsearch
with the name of your helm release)Be careful to obfuscate every secrets (credentials, token, public IP, ...) that could be visible in the output before copy-pasting.
If you find some secrets in plain text in
helm get release
output you should use Kubernetes Secrets to managed them is a secure way (see Security Example).Output of helm get release
Describe the bug:
As of kubernetes 1.19
networking.k8s.io/v1beta1
version ofIngress
is deprecated and is to be removed in kubernetes 1.22It should be upgraded to
networking.k8s.io/v1
Deprecation details: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#ingress-v122
Steps to reproduce:
helm-charts/elasticsearch/templates/ingress.yaml
Lines 5 to 6 in b3a4b75
Expected behavior:
Provide logs and/or server output (if relevant):
Be careful to obfuscate every secrets (credentials, token, public IP, ...) that could be visible in the output before copy-pasting
Any additional context:
The text was updated successfully, but these errors were encountered: