mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Helm chart fixes: (#4539)
- Allow TLS and Host name to be specified in values.yaml
This commit is contained in:
parent
0bd4f5ea61
commit
19fd0f7d5b
|
@ -14,8 +14,11 @@ metadata:
|
||||||
{{ omit .Values.filer.ingress.annotations "kubernetes.io/ingress.class" | toYaml | nindent 4 }}
|
{{ omit .Values.filer.ingress.annotations "kubernetes.io/ingress.class" | toYaml | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: {{ .Values.filer.ingress.className | quote }}
|
ingressClassName: {{ .Values.filer.ingress.className | quote }}
|
||||||
|
tls:
|
||||||
|
{{ .Values.filer.ingress.tls | default list | toYaml | nindent 6}}
|
||||||
rules:
|
rules:
|
||||||
- http:
|
- host: {{ .Values.filer.ingress.host }}
|
||||||
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /sw-filer/?(.*)
|
- path: /sw-filer/?(.*)
|
||||||
pathType: ImplementationSpecific
|
pathType: ImplementationSpecific
|
||||||
|
|
|
@ -124,6 +124,7 @@ master:
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
className: "nginx"
|
className: "nginx"
|
||||||
|
host: "master.seaweedfs.local"
|
||||||
annotations:
|
annotations:
|
||||||
nginx.ingress.kubernetes.io/auth-type: "basic"
|
nginx.ingress.kubernetes.io/auth-type: "basic"
|
||||||
nginx.ingress.kubernetes.io/auth-secret: "default/ingress-basic-auth-secret"
|
nginx.ingress.kubernetes.io/auth-secret: "default/ingress-basic-auth-secret"
|
||||||
|
@ -371,7 +372,9 @@ filer:
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
className: "nginx"
|
className: "nginx"
|
||||||
|
host: "seaweedfs.cluster.local"
|
||||||
annotations:
|
annotations:
|
||||||
|
nginx.ingress.kubernetes.io/backend-protocol: GRPC
|
||||||
nginx.ingress.kubernetes.io/auth-type: "basic"
|
nginx.ingress.kubernetes.io/auth-type: "basic"
|
||||||
nginx.ingress.kubernetes.io/auth-secret: "default/ingress-basic-auth-secret"
|
nginx.ingress.kubernetes.io/auth-secret: "default/ingress-basic-auth-secret"
|
||||||
nginx.ingress.kubernetes.io/auth-realm: 'Authentication Required - SW-Filer'
|
nginx.ingress.kubernetes.io/auth-realm: 'Authentication Required - SW-Filer'
|
||||||
|
|
Loading…
Reference in a new issue