mirror of
https://github.com/rustfs/rustfs.git
synced 2026-09-22 02:23:45 +00:00
feat(helm): add ingress support for both console and endpoint (#7972)
This commit is contained in:
@@ -43,7 +43,7 @@ spec:
|
||||
service:
|
||||
name: {{ include "rustfs.fullname" $ }}-svc
|
||||
port:
|
||||
name: console
|
||||
name: {{ .servicePort }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -335,10 +335,16 @@ ingress:
|
||||
customAnnotations: # Deprecated: use ingress.annotations instead
|
||||
{}
|
||||
hosts:
|
||||
- host: example.rustfs.com
|
||||
- host: console.rustfs.com
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
servicePort: console
|
||||
- host: endpoint.rustfs.com
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
servicePort: endpoint
|
||||
tls:
|
||||
enabled: false # Enable tls and access rustfs via https.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user