From d41beeee35556522926fd268502d93a90e9656ae Mon Sep 17 00:00:00 2001 From: TrueCharts-Bot Date: Sun, 14 Aug 2022 12:12:11 +0000 Subject: [PATCH] Commit new Chart releases for TrueCharts Signed-off-by: TrueCharts-Bot --- .../netdata/{2.0.28 => 2.0.29}/CHANGELOG.md | 18 ++--- stable/netdata/{2.0.28 => 2.0.29}/Chart.lock | 2 +- stable/netdata/{2.0.28 => 2.0.29}/Chart.yaml | 2 +- stable/netdata/{2.0.28 => 2.0.29}/README.md | 2 +- .../netdata/{2.0.28 => 2.0.29}/app-readme.md | 0 .../charts/common-10.4.12.tgz | Bin .../netdata/{2.0.28 => 2.0.29}/ix_values.yaml | 70 +++++++++++++++--- .../netdata/{2.0.28 => 2.0.29}/questions.yaml | 0 .../{2.0.28 => 2.0.29}/templates/common.yaml | 0 stable/netdata/{2.0.28 => 2.0.29}/values.yaml | 0 10 files changed, 70 insertions(+), 24 deletions(-) rename stable/netdata/{2.0.28 => 2.0.29}/CHANGELOG.md (92%) rename stable/netdata/{2.0.28 => 2.0.29}/Chart.lock (80%) rename stable/netdata/{2.0.28 => 2.0.29}/Chart.yaml (97%) rename stable/netdata/{2.0.28 => 2.0.29}/README.md (98%) rename stable/netdata/{2.0.28 => 2.0.29}/app-readme.md (100%) rename stable/netdata/{2.0.28 => 2.0.29}/charts/common-10.4.12.tgz (100%) rename stable/netdata/{2.0.28 => 2.0.29}/ix_values.yaml (60%) rename stable/netdata/{2.0.28 => 2.0.29}/questions.yaml (100%) rename stable/netdata/{2.0.28 => 2.0.29}/templates/common.yaml (100%) rename stable/netdata/{2.0.28 => 2.0.29}/values.yaml (100%) diff --git a/stable/netdata/2.0.28/CHANGELOG.md b/stable/netdata/2.0.29/CHANGELOG.md similarity index 92% rename from stable/netdata/2.0.28/CHANGELOG.md rename to stable/netdata/2.0.29/CHANGELOG.md index c6a658a35e..c5cee1dcb2 100644 --- a/stable/netdata/2.0.28/CHANGELOG.md +++ b/stable/netdata/2.0.29/CHANGELOG.md @@ -2,6 +2,15 @@ +## [netdata-2.0.29](https://github.com/truecharts/charts/compare/netdata-2.0.28...netdata-2.0.29) (2022-08-14) + +### Chore + +- add some more default confs ([#3473](https://github.com/truecharts/charts/issues/3473)) + + + + ## [netdata-2.0.28](https://github.com/truecharts/charts/compare/netdata-2.0.27...netdata-2.0.28) (2022-08-14) ### Chore @@ -88,12 +97,3 @@ ## [netdata-2.0.23](https://github.com/truecharts/apps/compare/netdata-2.0.22...netdata-2.0.23) (2022-07-23) ### Chore - -- update helm general non-major helm releases ([#3280](https://github.com/truecharts/apps/issues/3280)) - - - - -## [netdata-2.0.22](https://github.com/truecharts/apps/compare/netdata-2.0.20...netdata-2.0.22) (2022-07-22) - -### Chore diff --git a/stable/netdata/2.0.28/Chart.lock b/stable/netdata/2.0.29/Chart.lock similarity index 80% rename from stable/netdata/2.0.28/Chart.lock rename to stable/netdata/2.0.29/Chart.lock index 3c223ad609..a953944625 100644 --- a/stable/netdata/2.0.28/Chart.lock +++ b/stable/netdata/2.0.29/Chart.lock @@ -3,4 +3,4 @@ dependencies: repository: https://library-charts.truecharts.org version: 10.4.12 digest: sha256:2b926ab794b2ebae2ba0c898ffe38320266e86eafebe44d869c8f0721f5dac27 -generated: "2022-08-14T09:28:27.415223874Z" +generated: "2022-08-14T12:05:59.627949017Z" diff --git a/stable/netdata/2.0.28/Chart.yaml b/stable/netdata/2.0.29/Chart.yaml similarity index 97% rename from stable/netdata/2.0.28/Chart.yaml rename to stable/netdata/2.0.29/Chart.yaml index e18101291b..72de81435f 100644 --- a/stable/netdata/2.0.28/Chart.yaml +++ b/stable/netdata/2.0.29/Chart.yaml @@ -19,7 +19,7 @@ name: netdata sources: - https://github.com/truecharts/charts/tree/master/charts/stable/netdata - https://github.com/netdata -version: 2.0.28 +version: 2.0.29 annotations: truecharts.org/catagories: | - utilities diff --git a/stable/netdata/2.0.28/README.md b/stable/netdata/2.0.29/README.md similarity index 98% rename from stable/netdata/2.0.28/README.md rename to stable/netdata/2.0.29/README.md index 036a48847a..25d60294c3 100644 --- a/stable/netdata/2.0.28/README.md +++ b/stable/netdata/2.0.29/README.md @@ -1,6 +1,6 @@ # netdata -![Version: 2.0.28](https://img.shields.io/badge/Version-2.0.28-informational?style=flat-square) ![AppVersion: 1.36.0](https://img.shields.io/badge/AppVersion-1.36.0-informational?style=flat-square) +![Version: 2.0.29](https://img.shields.io/badge/Version-2.0.29-informational?style=flat-square) ![AppVersion: 1.36.0](https://img.shields.io/badge/AppVersion-1.36.0-informational?style=flat-square) Netdata is high-fidelity infrastructure monitoring and troubleshooting. diff --git a/stable/netdata/2.0.28/app-readme.md b/stable/netdata/2.0.29/app-readme.md similarity index 100% rename from stable/netdata/2.0.28/app-readme.md rename to stable/netdata/2.0.29/app-readme.md diff --git a/stable/netdata/2.0.28/charts/common-10.4.12.tgz b/stable/netdata/2.0.29/charts/common-10.4.12.tgz similarity index 100% rename from stable/netdata/2.0.28/charts/common-10.4.12.tgz rename to stable/netdata/2.0.29/charts/common-10.4.12.tgz diff --git a/stable/netdata/2.0.28/ix_values.yaml b/stable/netdata/2.0.29/ix_values.yaml similarity index 60% rename from stable/netdata/2.0.28/ix_values.yaml rename to stable/netdata/2.0.29/ix_values.yaml index 97f99fd489..22c53ed8b4 100644 --- a/stable/netdata/2.0.28/ix_values.yaml +++ b/stable/netdata/2.0.29/ix_values.yaml @@ -26,9 +26,16 @@ configmap: data: netdata-conf: |- [global] - memory mode = dbengine - dbengine multihost disk space = 4096 - page cache size = 64 + memory mode = dbengine + dbengine multihost disk space = 4096 + page cache size = 64 + go-d-conf: |- + modules: + k8s_state: yes + go-d-k8s-state-conf: |- + jobs: + - name: k8s_state + update_every: 1 rbac: main: @@ -138,6 +145,22 @@ persistence: volumeSpec: configMap: name: '{{ printf "%v-configs" (include "tc.common.names.fullname" .) }}' + go-d-configs: + enabled: "true" + mountPath: "/etc/netdata/truecharts-defaults/.go.d.conf" + subPath: "go-d-conf" + type: "custom" + volumeSpec: + configMap: + name: '{{ printf "%v-configs" (include "tc.common.names.fullname" .) }}' + go-d-k8s-state-configs: + enabled: "true" + mountPath: "/etc/netdata/truecharts-defaults/go.d/.k8s_state.conf" + subPath: "go-d-k8s-state-conf" + type: "custom" + volumeSpec: + configMap: + name: '{{ printf "%v-configs" (include "tc.common.names.fullname" .) }}' initContainers: create-config: @@ -150,16 +173,39 @@ initContainers: mountPath: "/etc/netdata/truecharts-defaults/.netdata.conf" subPath: netdata-conf readOnly: true - command: ["/bin/sh", "-c"] + - name: go-d-configs + mountPath: "/etc/netdata/truecharts-defaults/.go.d.conf" + subPath: go-d-conf + readOnly: true + - name: go-d-k8s-state-configs + mountPath: "/etc/netdata/truecharts-defaults/go.d/.k8s_state.conf" + subPath: go-d-k8s-state-conf + readOnly: true + command: ["/bin/bash", "-c"] args: - - > - export configfile=/etc/netdata/netdata.conf; - if [ ! -f $configfile ]; then - cp /etc/netdata/truecharts-defaults/.netdata.conf $configfile - else - echo "Config file exists, skipping..."; - fi; - cat $configfile + - |- + copy_config () { + local confSource="$1" + local confTarget="$2" + local dirTarget + dirTarget="$(dirname "${confTarget}")" + + if [ ! -f "$confTarget" ]; then + if [ ! -d "${dirTarget}" ]; then + mkdir -p "$dirTarget" + fi; + cp "$confSource" "$confTarget" + echo "Content of $(basename "${confTarget}")" + cat "$confTarget" + else + echo "Config $confTarget exists, skipping..." + fi; + } + export -f copy_config + + copy_config "/etc/netdata/truecharts-defaults/.netdata.conf" "/etc/netdata/netdata.conf" + copy_config "/etc/netdata/truecharts-defaults/.go.d.conf" "/etc/netdata/go.d.conf" + copy_config "/etc/netdata/truecharts-defaults/go.d/.k8s_state.conf" "/etc/netdata/go.d/k8s_state.conf" portal: enabled: true diff --git a/stable/netdata/2.0.28/questions.yaml b/stable/netdata/2.0.29/questions.yaml similarity index 100% rename from stable/netdata/2.0.28/questions.yaml rename to stable/netdata/2.0.29/questions.yaml diff --git a/stable/netdata/2.0.28/templates/common.yaml b/stable/netdata/2.0.29/templates/common.yaml similarity index 100% rename from stable/netdata/2.0.28/templates/common.yaml rename to stable/netdata/2.0.29/templates/common.yaml diff --git a/stable/netdata/2.0.28/values.yaml b/stable/netdata/2.0.29/values.yaml similarity index 100% rename from stable/netdata/2.0.28/values.yaml rename to stable/netdata/2.0.29/values.yaml