diff --git a/helm/rustfs/templates/service.yaml b/helm/rustfs/templates/service.yaml index 3275a822..3e8d315a 100644 --- a/helm/rustfs/templates/service.yaml +++ b/helm/rustfs/templates/service.yaml @@ -44,7 +44,7 @@ spec: {{- if .Values.ingress.enabled }} type: ClusterIP {{- else }} - type: NodePort + type: {{ .Values.service.type }} sessionAffinity: ClientIP sessionAffinityConfig: clientIP: