Skip to content

Commit

Permalink
fix: do not modify selectors on existing deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
owlas committed Jun 13, 2024
1 parent d3b6307 commit 52a8d69
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/lightdash/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,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.9.0
version: 0.9.1

# 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
Expand Down
4 changes: 2 additions & 2 deletions charts/lightdash/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ spec:
{{- end }}
selector:
matchLabels:
{{- include "lightdash.backendSelectorLabels" . | nindent 6 }}
{{- include "lightdash.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "lightdash.backendSelectorLabels" . | nindent 8 }}
{{- include "lightdash.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down
4 changes: 2 additions & 2 deletions charts/lightdash/templates/scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ spec:
replicas: {{ .Values.scheduler.replicas }}
selector:
matchLabels:
{{- include "lightdash.schedulerSelectorLabels" . | nindent 6 }}
{{- include "lightdash.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "lightdash.schedulerSelectorLabels" . | nindent 8 }}
{{- include "lightdash.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down
2 changes: 1 addition & 1 deletion charts/lightdash/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ spec:
protocol: TCP
name: http
selector:
{{- include "lightdash.backendSelectorLabels" . | nindent 6 }}
{{- include "lightdash.selectorLabels" . | nindent 6 }}

0 comments on commit 52a8d69

Please sign in to comment.