Skip to content

Commit

Permalink
fix labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloudeng committed Dec 2, 2024
1 parent 0040c35 commit 1205503
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions charts/daemonset-app/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ The additional labels include:
{{- define "daemonset-app.labels" -}}
{{- $baseLabels := include "nd-common.labels" . | fromYaml -}}
{{- $extendedLabels := merge $baseLabels (dict
"helm.chart/name" "daemonset-app"
"helm.chart/version" .Chart.Version
"helm.sh/chartName" "daemonset-app"
"helm.sh/chartVersion" .Chart.Version
) -}}
{{- $extendedLabels | toYaml -}}
{{- end -}}
4 changes: 2 additions & 2 deletions charts/rollout-app/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ The additional labels include:
{{- define "rollout-app.labels" -}}
{{- $baseLabels := include "nd-common.labels" . | fromYaml -}}
{{- $extendedLabels := merge $baseLabels (dict
"helm.chart/name" "rollout-app"
"helm.chart/version" .Chart.Version
"helm.sh/chartName" "rollout-app"
"helm.sh/chartVersion" .Chart.Version
) -}}
{{- $extendedLabels | toYaml -}}
{{- end -}}
4 changes: 2 additions & 2 deletions charts/simple-app/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ The additional labels include:
{{- define "simple-app.labels" -}}
{{- $baseLabels := include "nd-common.labels" . | fromYaml -}}
{{- $extendedLabels := merge $baseLabels (dict
"helm.chart/name" "simple-app"
"helm.chart/version" .Chart.Version
"helm.sh/chartName" "simple-app"
"helm.sh/chartVersion" .Chart.Version
) -}}
{{- $extendedLabels | toYaml -}}
{{- end -}}
4 changes: 2 additions & 2 deletions charts/stateful-app/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ The additional labels include:
{{- define "stateful-app.labels" -}}
{{- $baseLabels := include "nd-common.labels" . | fromYaml -}}
{{- $extendedLabels := merge $baseLabels (dict
"helm.chart/name" "stateful-app"
"helm.chart/version" .Chart.Version
"helm.sh/chartName" "stateful-app"
"helm.sh/chartVersion" .Chart.Version
) -}}
{{- $extendedLabels | toYaml -}}
{{- end -}}

0 comments on commit 1205503

Please sign in to comment.