Browse Source
Helm chart fixes: (#4539)
- Allow TLS and Host name to be specified in values.yaml
pull/4550/head
Andrew Garrett
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
7 additions and
1 deletions
-
k8s/charts/seaweedfs/templates/ingress.yaml
-
k8s/charts/seaweedfs/values.yaml
|
|
@ -14,8 +14,11 @@ metadata: |
|
|
|
{{ omit .Values.filer.ingress.annotations "kubernetes.io/ingress.class" | toYaml | nindent 4 }} |
|
|
|
spec: |
|
|
|
ingressClassName: {{ .Values.filer.ingress.className | quote }} |
|
|
|
tls: |
|
|
|
{{ .Values.filer.ingress.tls | default list | toYaml | nindent 6}} |
|
|
|
rules: |
|
|
|
- http: |
|
|
|
- host: {{ .Values.filer.ingress.host }} |
|
|
|
http: |
|
|
|
paths: |
|
|
|
- path: /sw-filer/?(.*) |
|
|
|
pathType: ImplementationSpecific |
|
|
|
|
|
@ -124,6 +124,7 @@ master: |
|
|
|
ingress: |
|
|
|
enabled: false |
|
|
|
className: "nginx" |
|
|
|
host: "master.seaweedfs.local" |
|
|
|
annotations: |
|
|
|
nginx.ingress.kubernetes.io/auth-type: "basic" |
|
|
|
nginx.ingress.kubernetes.io/auth-secret: "default/ingress-basic-auth-secret" |
|
|
@ -371,7 +372,9 @@ filer: |
|
|
|
ingress: |
|
|
|
enabled: false |
|
|
|
className: "nginx" |
|
|
|
host: "seaweedfs.cluster.local" |
|
|
|
annotations: |
|
|
|
nginx.ingress.kubernetes.io/backend-protocol: GRPC |
|
|
|
nginx.ingress.kubernetes.io/auth-type: "basic" |
|
|
|
nginx.ingress.kubernetes.io/auth-secret: "default/ingress-basic-auth-secret" |
|
|
|
nginx.ingress.kubernetes.io/auth-realm: 'Authentication Required - SW-Filer' |
|
|
|