Skip to content

Commit 2e14279

Browse files
[Library]: 3.0.0-rc.3 (#46)
[Library]: 3.0.0-rc.3
1 parent f403650 commit 2e14279

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

charts/library/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: library
33
description: Buttahtoast Helm Library
44
type: library
5-
version: 3.0.0-rc.1
5+
version: 3.0.0-rc.3
66
appVersion: 0.1.0
77
home: https://github.com/buttahtoast/helm-charts/tree/master/charts/library
88
icon: "https://avatars0.githubusercontent.com/u/67652090?s=400&u=874d1c989b0afc2789865be01051f0bbfc84ae32&v=4"

charts/library/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Buttahtoast Library
22

3-
![Version: 3.0.0-rc.1](https://img.shields.io/badge/Version-3.0.0--rc.1-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square)
3+
![Version: 3.0.0-rc.3](https://img.shields.io/badge/Version-3.0.0--rc.3-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square)
44

55
This is our take on a library Chart. It contains simple functions which are (will be) used across all of our charts. Feel free the add or improve the existing templates. This Chart is still under development/testing. Feel free to use it, if you find any issues with it, please create an issue/PR. We will try to get bugs fixed as soon as possible!
66

charts/library/templates/utils/_dicts.tpl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,11 @@
265265
{{- if (kindIs "slice" $.data) -}}
266266
{{- $_ := set $ "data" (without $.data (include "lib.utils.dicts.merge.int.inject_key" $)) -}}
267267
{{- range $d := $.data -}}
268-
{{- $mk := include "lib.utils.dicts.merge.int.merge_key" $d -}}
269-
{{- if $mk -}}
270-
{{- $_ := set $ "data" (without $.data $mk) -}}
268+
{{- if (kindIs "string" $d) -}}
269+
{{- $mk := include "lib.utils.dicts.merge.int.merge_key" $d -}}
270+
{{- if $mk -}}
271+
{{- $_ := set $ "data" (without $.data $mk) -}}
272+
{{- end -}}
271273
{{- end -}}
272274
{{- end -}}
273275
{{- end -}}

0 commit comments

Comments
 (0)