Fixes networking.k8s.io/v1 Ingress fields #65

Merged
techknowlogick merged 1 commits from joelgallant/helm-chart:v1-ingress into master 2020-11-25 15:28:53 +00:00
Contributor

Appologies - I was just trying out 2.0.4. I'm new to helm so I'm not entirely sure how I'd test this without doing a separate deployment. Fixes my mistake from !63.

Docs https://kubernetes.io/docs/concepts/services-networking/ingress/

Appologies - I was just trying out 2.0.4. I'm new to helm so I'm not entirely sure how I'd test this without doing a separate deployment. Fixes my mistake from !63. Docs https://kubernetes.io/docs/concepts/services-networking/ingress/
joelgallant added 1 commit 2020-11-24 23:11:39 +00:00
Use apiVersion v1 for Ingress in 1.19+
All checks were successful
continuous-integration/drone/pr Build is passing
cf51165ecb
Currently, a warning is shown in newer versions of kubernetes: ``` W1120 10:04:16.194312 8003 warnings.go:67] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress ```
Member

please resolve the conflicts in your branch

please resolve the conflicts in your branch
luhahn requested changes 2020-11-25 09:02:28 +00:00
Dismissed
@@ -33,7 +35,14 @@ spec:
paths:
- path: /
backend:
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}}
Member

isn't this logically wrong and should be <= ? Since serviceName and servicePort are the old values

isn't this logically wrong and should be <= ? Since serviceName and servicePort are the old values
Author
Contributor

You're right, thanks!

You're right, thanks!
joelgallant marked this conversation as resolved
Contributor
Closes https://gitea.com/gitea/helm-chart/issues/66
joelgallant force-pushed v1-ingress from 044d36c92d to 40f8d4557a 2020-11-25 14:30:41 +00:00 Compare
joelgallant requested review from luhahn 2020-11-25 14:31:44 +00:00
luhahn approved these changes 2020-11-25 14:34:45 +00:00
Dismissed
techknowlogick approved these changes 2020-11-25 15:28:47 +00:00
Dismissed
techknowlogick merged commit a26b4e10d1 into master 2020-11-25 15:28:53 +00:00
joelgallant deleted branch v1-ingress 2020-11-25 15:31:37 +00:00
Sign in to join this conversation.
No description provided.