Skip to content

Commit d23dd5f

Browse files
authored
Merge pull request #2 from kerberos-io/feature/add-support-for-oauth2-proxy
Upgrade to 0.58.0
2 parents 5a506cf + f65a75a commit d23dd5f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

charts/hub/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type: application
1616
# This is the chart version. This version number should be incremented each time you make changes
1717
# to the chart and its templates, including the app version.
1818
# Versions are expected to follow Semantic Versioning (https://semver.org/)
19-
version: 0.57.0
19+
version: 0.58.0
2020

2121
# This is the version number of the application being deployed. This version number should be
2222
# incremented each time you make changes to the application. Versions are not expected to

charts/hub/templates/kerberos-hub/hub-frontend.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ spec:
1313
selector:
1414
app: hub-frontend
1515
---
16-
{{ if .Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
16+
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
1717
apiVersion: networking.k8s.io/v1
18-
{{ else }}
18+
{{- else }}
1919
apiVersion: networking.k8s.io/v1beta1
20-
{{ end }}
20+
{{- end }}
2121
kind: Ingress
2222
metadata:
2323
name: hub-frontend-ingress
2424
annotations:
2525
kubernetes.io/ingress.class: {{ .Values.ingress }}
26-
{{ if .Values.kerberoshub.oauth2Proxy.enabled }}
26+
{{- if .Values.kerberoshub.oauth2Proxy.enabled }}
2727
nginx.ingress.kubernetes.io/auth-url: "https://$host/oauth2/auth"
2828
nginx.ingress.kubernetes.io/auth-signin: "https://$host/oauth2/start?rd=$escaped_request_uri"
2929
{{- end }}
@@ -38,7 +38,7 @@ spec:
3838
tls:
3939
{{- toYaml . | nindent 8 }}
4040
{{- end }}
41-
{{ if .Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
41+
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
4242
rules:
4343
- host: "{{ .Values.kerberoshub.frontend.url }}"
4444
http:
@@ -75,7 +75,7 @@ spec:
7575
number: 80
7676
{{- end }}
7777

78-
{{ else }}
78+
{{- else }}
7979
rules:
8080
- host: "{{ .Values.kerberoshub.frontend.url }}"
8181
http:
@@ -102,7 +102,7 @@ spec:
102102
serviceName: hub-frontend-svc
103103
servicePort: 80
104104
{{- end }}
105-
{{ end }}
105+
{{- end }}
106106
{{- if .Values.kerberoshub.oauth2Proxy.enabled -}}
107107
---
108108
apiVersion: networking.k8s.io/v1

0 commit comments

Comments
 (0)