From 250e464f42a0e7de9e6ce6a674b677f06979c920 Mon Sep 17 00:00:00 2001 From: Richard Kuo Date: Tue, 5 Nov 2024 21:11:10 -0800 Subject: [PATCH] try naming like our other charts --- charts/vespa/Chart.yaml | 2 +- charts/vespa/templates/statefulset.yaml | 4 ++-- charts/vespa/values.yaml | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/charts/vespa/Chart.yaml b/charts/vespa/Chart.yaml index a7a25a0..2d930f7 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.6 +version: 0.2.7 # 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 21bd841..348f9bc 100644 --- a/charts/vespa/templates/statefulset.yaml +++ b/charts/vespa/templates/statefulset.yaml @@ -1,11 +1,11 @@ apiVersion: apps/v1 kind: StatefulSet metadata: - name: {{ .Values.statefulSet.name }} + name: {{ .Release.Name }}-vespa labels: {{- toYaml .Values.labels | nindent 4 }} spec: - serviceName: {{ .Values.statefulSet.name }} + serviceName: {{ .Release.Name }}-vespa {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} {{- end }} diff --git a/charts/vespa/values.yaml b/charts/vespa/values.yaml index 731752a..22a8de4 100644 --- a/charts/vespa/values.yaml +++ b/charts/vespa/values.yaml @@ -31,7 +31,6 @@ podLabels: app: vespa statefulSet: - name: vespa ports: - containerPort: 19071 - containerPort: 8081