Skip to content

Commit

Permalink
feat: update extra labels on container
Browse files Browse the repository at this point in the history
  • Loading branch information
vickenliu committed Oct 11, 2024
1 parent 8e9c2f1 commit 5c70281
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type: application
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)

version: 1.3.0-extralabels
version: 1.3.1-extralabels

# 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
6 changes: 6 additions & 0 deletions templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ Selector labels
{{- define "ddhub-client-gateway-api.selectorLabels" -}}
app.kubernetes.io/name: {{ include "ddhub-client-gateway-api.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- with .Values.extraLabels }}
{{ toYaml . }}
{{- end }}
{{- end }}

{{/*
Expand All @@ -74,6 +77,9 @@ Selector scheduler labels
{{- define "ddhub-client-gateway-api.scheduler.selectorLabels" -}}
app.kubernetes.io/name: {{ include "ddhub-client-gateway-api.name" . }}-scheduler
app.kubernetes.io/instance: {{ .Release.Name }}
{{- with .Values.extraLabels }}
{{ toYaml . }}
{{- end }}
{{- end }}

{{/*
Expand Down

0 comments on commit 5c70281

Please sign in to comment.