Skip to content

Commit

Permalink
Updating marketplace helm chart to use corrected selectorLabels
Browse files Browse the repository at this point in the history
  • Loading branch information
clee231 committed Nov 3, 2023
1 parent c5b19ed commit 225f233
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/marketplace/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.3
version: 0.1.4

# 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: 0 additions & 4 deletions charts/marketplace/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ Selector labels
app.kubernetes.io/name: {{ include "marketplace.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{- define "db.selectorLabels" -}}
app.kubernetes.io/name: pocketbase
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}


{{/*
Expand Down
2 changes: 1 addition & 1 deletion charts/marketplace/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ spec:
protocol: TCP
name: db-port
selector:
{{- include "db.selectorLabels" . | nindent 4 }}
{{- include "marketplace.selectorLabels" . | nindent 4 }}

0 comments on commit 225f233

Please sign in to comment.