From 30577f8187c909f4cc5f2c1f82e35d780df3f94f Mon Sep 17 00:00:00 2001 From: Richard Kuo Date: Tue, 5 Nov 2024 22:01:12 -0800 Subject: [PATCH] adjust service names --- charts/vespa/Chart.yaml | 2 +- charts/vespa/templates/statefulset.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/vespa/Chart.yaml b/charts/vespa/Chart.yaml index 2d930f7..5021627 100644 --- a/charts/vespa/Chart.yaml +++ b/charts/vespa/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.7 +version: 0.2.8 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/vespa/templates/statefulset.yaml b/charts/vespa/templates/statefulset.yaml index 348f9bc..901ad45 100644 --- a/charts/vespa/templates/statefulset.yaml +++ b/charts/vespa/templates/statefulset.yaml @@ -5,7 +5,7 @@ metadata: labels: {{- toYaml .Values.labels | nindent 4 }} spec: - serviceName: {{ .Release.Name }}-vespa + serviceName: vespa {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} {{- end }} @@ -53,7 +53,7 @@ spec: {{- end }} env: - name: VESPA_CONFIGSERVERS - value: vespa-0.vespa.{{ .Release.Namespace }}.svc.cluster.local + value: {{ .Release.Name }}-vespa-0.vespa.{{ .Release.Namespace }}.svc.cluster.local volumeClaimTemplates: {{- range .Values.volumeClaimTemplates }}