Skip to content

Commit

Permalink
update serviceName to use headless service
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-vest committed Nov 15, 2024
1 parent 70390be commit acc5478
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/nitro/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ metadata:
annotations:
nitro.arbitrum.io/desiredReplicas: {{ $.Values.replicaCount | quote }}
spec:
serviceName: "{{ include "nitro.fullname" . }}"
serviceName: {{ include "nitro.fullname" . }}-headless
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
{{- include "nitro.selectorLabels" . | nindent 6 }}
podManagementPolicy: Parallel
{{- if .Values.updateStrategy }}
{{- with .Values.updateStrategy }}
updateStrategy:
updateStrategy:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit acc5478

Please sign in to comment.