- added configMap example for OIDC

- corrected ingress configuration to make chart work
This commit is contained in:
Dennis Sieben
2022-09-22 16:44:00 +02:00
parent fbb9fc8c51
commit 202ace192c
4 changed files with 94 additions and 5 deletions

View File

@ -2,7 +2,7 @@
{{- $fullName := include "owncloud.fullname" . -}}
{{- $svcPort := .Values.service.port -}}
{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
{{- else -}}
apiVersion: extensions/v1beta1
{{- end }}
@ -33,9 +33,12 @@ spec:
paths:
{{- range .paths }}
- path: {{ . }}
pathType: Prefix
backend:
serviceName: {{ $fullName }}
servicePort: {{ $svcPort }}
service:
name: {{ $fullName }}
port:
number: {{ $svcPort }}
{{- end }}
{{- end }}
{{- end }}