Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Commit

Permalink
fix generic params in defines
Browse files Browse the repository at this point in the history
  • Loading branch information
GRomR1 committed Dec 6, 2022
1 parent bb9c4da commit 6ca2d32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/universal-chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: Nixys universal Helm chart for deploy your apps to Kubernetes
name: universal-chart
version: 2.1.6
version: 2.1.7
maintainers:
- name: Roman Andreev
email: [email protected]
Expand Down
6 changes: 3 additions & 3 deletions charts/universal-chart/templates/helpers/_app.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
{{- with .Values.generic.labels }}
{{- with ((.Values).generic).labels }}
{{ include "helpers.tplvalues.render" (dict "value" . "context" $) }}
{{- end }}
{{- end }}
Expand All @@ -57,13 +57,13 @@ app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

{{- define "helpers.app.genericSelectorLabels" -}}
{{- with .Values.generic.extraSelectorLabels }}
{{- with ((.Values).generic).extraSelectorLabels }}
{{- include "helpers.tplvalues.render" (dict "value" . "context" .) }}
{{- end }}
{{- end }}

{{- define "helpers.app.genericAnnotations" -}}
{{- with .Values.generic.annotations }}
{{- with ((.Values).generic).annotations }}
{{ include "helpers.tplvalues.render" (dict "value" . "context" $) }}
{{- end }}
{{- end }}
Expand Down

0 comments on commit 6ca2d32

Please sign in to comment.