-
Notifications
You must be signed in to change notification settings - Fork 225
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
Ingress from namespace networking.k8s.io/v1beta1 deprecated #146
Comments
Noticed this with a recent opensuse kubic update; the patch to fix is as follows i think --- a/wireguard/charts/wg-access-server/templates/ingress.yaml
+++ b/wireguard/charts/wg-access-server/templates/ingress.yaml
@@ -1,6 +1,6 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "wg-access-server.fullname" . -}}
-apiVersion: networking.k8s.io/v1beta1
+apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ $fullName }}
@@ -27,8 +27,11 @@ spec:
http:
paths:
- path: /
+ pathType: Prefix
backend:
- serviceName: {{ $fullName }}-web
- servicePort: 80
+ service:
+ name: {{ $fullName }}-web
+ port:
+ number: 80
{{- end }}
{{- end }} |
Any news on this? This seems like a fairly straightforward change. |
I would need this also, helm breaking in kubernetes 1.22+ |
This was referenced Apr 26, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Upon install/uinstall of the helm package, I receive the following warning:
Could you update the ingress resource to the newest namespace so it will still be available in v1.22+?
The text was updated successfully, but these errors were encountered: