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

Change api version from extensions/v1beta1 to networking.k8s.io/v1 #341

Open
wants to merge 1 commit into
base: 2.0-rc1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "2.0-rc1"
description: A Helm chart for Kubernetes to install Auth0 Authorization application for Traefik forward authentication.
name: forwardauth
version: 2.0.8
version: 2.0.14
20 changes: 13 additions & 7 deletions helm/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{- $ingressPath := .Values.ingress.path -}}
{{- if .Values.mode.path -}}
---
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ $fullName }}
Expand All @@ -22,9 +22,12 @@ spec:
- http:
paths:
- path: {{ default "/oauth2" .Values.ingress.path | quote }}
pathType: ImplementationSpecific
backend:
serviceName: {{ $fullName }}
servicePort: {{ $servicePort }}
service:
name: {{ $fullName }}
port:
number: {{ $servicePort }}
{{- if .Values.ingress.tls }}
tls:
{{ toYaml .Values.ingress.tls | indent 4 }}
Expand All @@ -33,7 +36,7 @@ spec:

{{- if .Values.mode.host -}}
---
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ $fullName }}
Expand All @@ -52,9 +55,12 @@ spec:
- host: {{ .Values.ingress.hostname }}
http:
paths:
- backend:
serviceName: {{ $fullName }}
servicePort: {{ $servicePort }}
- pathType: ImplementationSpecific
backend:
service:
name: {{ $fullName }}
port:
number: {{ $servicePort }}
{{- if .Values.ingress.tls }}
tls:
{{ toYaml .Values.ingress.tls | indent 4 }}
Expand Down