Skip to content

Commit

Permalink
[Library]: 3.0.0-rc.3 (#46)
Browse files Browse the repository at this point in the history
[Library]: 3.0.0-rc.3
  • Loading branch information
oliverbaehler authored Sep 6, 2022
1 parent f403650 commit 2e14279
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/library/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: library
description: Buttahtoast Helm Library
type: library
version: 3.0.0-rc.1
version: 3.0.0-rc.3
appVersion: 0.1.0
home: https://github.com/buttahtoast/helm-charts/tree/master/charts/library
icon: "https://avatars0.githubusercontent.com/u/67652090?s=400&u=874d1c989b0afc2789865be01051f0bbfc84ae32&v=4"
Expand Down
2 changes: 1 addition & 1 deletion charts/library/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Buttahtoast Library

![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)
![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)

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!

Expand Down
8 changes: 5 additions & 3 deletions charts/library/templates/utils/_dicts.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,11 @@
{{- if (kindIs "slice" $.data) -}}
{{- $_ := set $ "data" (without $.data (include "lib.utils.dicts.merge.int.inject_key" $)) -}}
{{- range $d := $.data -}}
{{- $mk := include "lib.utils.dicts.merge.int.merge_key" $d -}}
{{- if $mk -}}
{{- $_ := set $ "data" (without $.data $mk) -}}
{{- if (kindIs "string" $d) -}}
{{- $mk := include "lib.utils.dicts.merge.int.merge_key" $d -}}
{{- if $mk -}}
{{- $_ := set $ "data" (without $.data $mk) -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- end -}}
Expand Down

0 comments on commit 2e14279

Please sign in to comment.