diff --git a/helm/rustfs/templates/ingress.yaml b/helm/rustfs/templates/ingress.yaml index aa5770abf..aaf2878a9 100644 --- a/helm/rustfs/templates/ingress.yaml +++ b/helm/rustfs/templates/ingress.yaml @@ -43,7 +43,7 @@ spec: service: name: {{ include "rustfs.fullname" $ }}-svc port: - name: console + name: {{ .servicePort }} {{- end }} {{- end }} {{- end }} diff --git a/helm/rustfs/values.yaml b/helm/rustfs/values.yaml index 365a1a57c..91a9e410b 100644 --- a/helm/rustfs/values.yaml +++ b/helm/rustfs/values.yaml @@ -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.