Skip to content

Commit

Permalink
fix: bug squashed
Browse files Browse the repository at this point in the history
  • Loading branch information
JayGhiya committed Mar 14, 2024
1 parent ab4b63a commit 653c66c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/vespa/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Service
metadata:
name: {{ .Values.service.name }}
labels:
{{- include "vespa.labels" . | nindent 4 }}
{{- toYaml .Values.labels | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
Expand Down
6 changes: 3 additions & 3 deletions charts/vespa/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ kind: StatefulSet
metadata:
name: {{ .Values.statefulSet.name }}
labels:
{{- include "vespa.labels" . | nindent 4 }}
{{- toYaml .Values.labels | nindent 4 }}
spec:
serviceName: {{ .Values.statefulSet.name }}
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
Expand All @@ -18,7 +19,6 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "vespa.labels" . | nindent 8 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
Expand Down Expand Up @@ -53,7 +53,7 @@ spec:
{{- end }}
env:
- name: VESPA_CONFIGSERVERS
value: vespa-0.vespa.default.svc.cluster.local
value: vespa-0.vespa.{{ .Release.Namespace }}.svc.cluster.local

volumeClaimTemplates:
{{- range .Values.volumeClaimTemplates }}
Expand Down
3 changes: 3 additions & 0 deletions charts/vespa/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ securityContext:
# runAsNonRoot: true
runAsUser: 1000

labels:
app: vespa

service:
name: document-index-service
type: LoadBalancer
Expand Down

0 comments on commit 653c66c

Please sign in to comment.