From acc547860f99c1433d7267858c5f877e7b5e3836 Mon Sep 17 00:00:00 2001 From: chris-vest Date: Fri, 15 Nov 2024 17:13:44 +0100 Subject: [PATCH] update serviceName to use headless service --- charts/nitro/templates/statefulset.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/nitro/templates/statefulset.yaml b/charts/nitro/templates/statefulset.yaml index 4d8d27c..01f322a 100644 --- a/charts/nitro/templates/statefulset.yaml +++ b/charts/nitro/templates/statefulset.yaml @@ -7,7 +7,7 @@ metadata: annotations: nitro.arbitrum.io/desiredReplicas: {{ $.Values.replicaCount | quote }} spec: - serviceName: "{{ include "nitro.fullname" . }}" + serviceName: {{ include "nitro.fullname" . }}-headless replicas: {{ .Values.replicaCount }} selector: matchLabels: @@ -15,7 +15,7 @@ spec: podManagementPolicy: Parallel {{- if .Values.updateStrategy }} {{- with .Values.updateStrategy }} - updateStrategy: + updateStrategy: {{- toYaml . | nindent 4 }} {{- end }} {{- end }} @@ -276,7 +276,7 @@ spec: app: {{ template "nitro.name" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} - spec: + spec: accessModes: {{- toYaml .Values.blobPersistence.accessModes | nindent 8 }} {{- if .Values.blobPersistence.storageClassName }}