From 8414a95514050cbaad6b5cb4b7ff7c1923072332 Mon Sep 17 00:00:00 2001 From: TrueCharts-Bot Date: Mon, 2 May 2022 15:34:03 +0000 Subject: [PATCH] Commit new App releases for TrueCharts Signed-off-by: TrueCharts-Bot --- incubator/netdata/0.0.4/templates/common.yaml | 1 - .../netdata/{0.0.4 => 0.0.5}/CHANGELOG.md | 9 ++++++++ incubator/netdata/{0.0.4 => 0.0.5}/Chart.lock | 2 +- incubator/netdata/{0.0.4 => 0.0.5}/Chart.yaml | 2 +- incubator/netdata/{0.0.4 => 0.0.5}/README.md | 0 .../netdata/{0.0.4 => 0.0.5}/app-readme.md | 0 .../{0.0.4 => 0.0.5}/charts/common-9.3.2.tgz | Bin .../netdata/{0.0.4 => 0.0.5}/ix_values.yaml | 17 ++++++++++----- .../netdata/{0.0.4 => 0.0.5}/questions.yaml | 0 .../netdata/{0.0.4 => 0.0.5}/security.md | 0 incubator/netdata/0.0.5/templates/common.yaml | 20 ++++++++++++++++++ .../netdata/0.0.5/templates/configmap.yaml | 16 ++++++++++++++ .../netdata/{0.0.4 => 0.0.5}/values.yaml | 0 13 files changed, 59 insertions(+), 8 deletions(-) delete mode 100644 incubator/netdata/0.0.4/templates/common.yaml rename incubator/netdata/{0.0.4 => 0.0.5}/CHANGELOG.md (76%) rename incubator/netdata/{0.0.4 => 0.0.5}/Chart.lock (80%) rename incubator/netdata/{0.0.4 => 0.0.5}/Chart.yaml (97%) rename incubator/netdata/{0.0.4 => 0.0.5}/README.md (100%) rename incubator/netdata/{0.0.4 => 0.0.5}/app-readme.md (100%) rename incubator/netdata/{0.0.4 => 0.0.5}/charts/common-9.3.2.tgz (100%) rename incubator/netdata/{0.0.4 => 0.0.5}/ix_values.yaml (87%) rename incubator/netdata/{0.0.4 => 0.0.5}/questions.yaml (100%) rename incubator/netdata/{0.0.4 => 0.0.5}/security.md (100%) create mode 100644 incubator/netdata/0.0.5/templates/common.yaml create mode 100644 incubator/netdata/0.0.5/templates/configmap.yaml rename incubator/netdata/{0.0.4 => 0.0.5}/values.yaml (100%) diff --git a/incubator/netdata/0.0.4/templates/common.yaml b/incubator/netdata/0.0.4/templates/common.yaml deleted file mode 100644 index a6613c2ce21..00000000000 --- a/incubator/netdata/0.0.4/templates/common.yaml +++ /dev/null @@ -1 +0,0 @@ -{{ include "common.all" . }} diff --git a/incubator/netdata/0.0.4/CHANGELOG.md b/incubator/netdata/0.0.5/CHANGELOG.md similarity index 76% rename from incubator/netdata/0.0.4/CHANGELOG.md rename to incubator/netdata/0.0.5/CHANGELOG.md index cf2e22b72b2..6fc624d66b5 100644 --- a/incubator/netdata/0.0.4/CHANGELOG.md +++ b/incubator/netdata/0.0.5/CHANGELOG.md @@ -1,6 +1,15 @@ # Changelog
+ +### [netdata-0.0.5](https://github.com/truecharts/apps/compare/netdata-0.0.4...netdata-0.0.5) (2022-05-02) + +#### Chore + +* use configmap for readability and extendability ([#2601](https://github.com/truecharts/apps/issues/2601)) + + + ### [netdata-0.0.4](https://github.com/truecharts/apps/compare/netdata-0.0.3...netdata-0.0.4) (2022-05-02) diff --git a/incubator/netdata/0.0.4/Chart.lock b/incubator/netdata/0.0.5/Chart.lock similarity index 80% rename from incubator/netdata/0.0.4/Chart.lock rename to incubator/netdata/0.0.5/Chart.lock index d57db659672..8f6cb403494 100644 --- a/incubator/netdata/0.0.4/Chart.lock +++ b/incubator/netdata/0.0.5/Chart.lock @@ -3,4 +3,4 @@ dependencies: repository: https://library-charts.truecharts.org version: 9.3.2 digest: sha256:4514044d0d416a02c0029081a25943395114bcb29df51a2ede27d4257f71d412 -generated: "2022-05-02T08:01:14.684535489Z" +generated: "2022-05-02T15:25:22.477003974Z" diff --git a/incubator/netdata/0.0.4/Chart.yaml b/incubator/netdata/0.0.5/Chart.yaml similarity index 97% rename from incubator/netdata/0.0.4/Chart.yaml rename to incubator/netdata/0.0.5/Chart.yaml index 6b6a39bbd71..9d5e0c10a52 100644 --- a/incubator/netdata/0.0.4/Chart.yaml +++ b/incubator/netdata/0.0.5/Chart.yaml @@ -18,7 +18,7 @@ maintainers: name: netdata sources: - https://github.com/netdata -version: 0.0.4 +version: 0.0.5 annotations: truecharts.org/catagories: | - utilities diff --git a/incubator/netdata/0.0.4/README.md b/incubator/netdata/0.0.5/README.md similarity index 100% rename from incubator/netdata/0.0.4/README.md rename to incubator/netdata/0.0.5/README.md diff --git a/incubator/netdata/0.0.4/app-readme.md b/incubator/netdata/0.0.5/app-readme.md similarity index 100% rename from incubator/netdata/0.0.4/app-readme.md rename to incubator/netdata/0.0.5/app-readme.md diff --git a/incubator/netdata/0.0.4/charts/common-9.3.2.tgz b/incubator/netdata/0.0.5/charts/common-9.3.2.tgz similarity index 100% rename from incubator/netdata/0.0.4/charts/common-9.3.2.tgz rename to incubator/netdata/0.0.5/charts/common-9.3.2.tgz diff --git a/incubator/netdata/0.0.4/ix_values.yaml b/incubator/netdata/0.0.5/ix_values.yaml similarity index 87% rename from incubator/netdata/0.0.4/ix_values.yaml rename to incubator/netdata/0.0.5/ix_values.yaml index 19c27244a5d..fc962418a8e 100644 --- a/incubator/netdata/0.0.4/ix_values.yaml +++ b/incubator/netdata/0.0.5/ix_values.yaml @@ -99,6 +99,12 @@ persistence: hostPath: "/proc" mountPath: "/host/proc" readOnly: true + dev: + enabled: true + type: hostPath + hostPath: "/dev" + mountPath: "/host/dev" + readOnly: true sys: enabled: true type: hostPath @@ -119,16 +125,17 @@ initContainers: volumeMounts: - name: config mountPath: "/etc/netdata" + - name: netdata-configs + mountPath: "/etc/netdata/truecharts-defaults/.netdata.conf" + subPath: netdata-conf + readOnly: true command: ["/bin/sh", "-c"] args: - > export configfile=/etc/netdata/netdata.conf; if [ ! -f $configfile ]; then - echo "Creating config file..."; - echo '[global]' > $configfile; - echo ' memory mode = dbengine' >> $configfile; - echo ' dbengine multihost disk space = 4096' >> $configfile; - echo ' page cache size = 64' >> $configfile; + cp /etc/netdata/truecharts-defaults/.netdata.conf $configfile else echo "Config file exists, skipping..."; fi; + cat $configfile diff --git a/incubator/netdata/0.0.4/questions.yaml b/incubator/netdata/0.0.5/questions.yaml similarity index 100% rename from incubator/netdata/0.0.4/questions.yaml rename to incubator/netdata/0.0.5/questions.yaml diff --git a/incubator/netdata/0.0.4/security.md b/incubator/netdata/0.0.5/security.md similarity index 100% rename from incubator/netdata/0.0.4/security.md rename to incubator/netdata/0.0.5/security.md diff --git a/incubator/netdata/0.0.5/templates/common.yaml b/incubator/netdata/0.0.5/templates/common.yaml new file mode 100644 index 00000000000..88ed46b597d --- /dev/null +++ b/incubator/netdata/0.0.5/templates/common.yaml @@ -0,0 +1,20 @@ +{{- include "common.setup" . }} + +{{/* Append the hardcoded settings */}} +{{- define "netdata.harcodedValues" -}} +persistence: + netdata-configs: + enabled: "true" + mountPath: "/etc/netdata/truecharts-defaults/.netdata.conf" + subPath: "netdata-conf" + type: "custom" + volumeSpec: + configMap: + name: {{ printf "%v-configs" (include "common.names.fullname" .) }} +{{- end -}} +{{- $_ := mergeOverwrite .Values (include "netdata.harcodedValues" . | fromYaml) -}} + +{{- include "netdata.configmap" . }} + +{{/* Render the templates */}} +{{ include "common.postSetup" . }} diff --git a/incubator/netdata/0.0.5/templates/configmap.yaml b/incubator/netdata/0.0.5/templates/configmap.yaml new file mode 100644 index 00000000000..82244be10e5 --- /dev/null +++ b/incubator/netdata/0.0.5/templates/configmap.yaml @@ -0,0 +1,16 @@ +{{- define "netdata.configmap" -}} + +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ include "common.names.fullname" . }}-configs + labels: + {{- include "common.labels" . | nindent 4 }} +data: + netdata-conf: |- + [global] + memory mode = dbengine + dbengine multihost disk space = 4096 + page cache size = 64 +{{- end -}} diff --git a/incubator/netdata/0.0.4/values.yaml b/incubator/netdata/0.0.5/values.yaml similarity index 100% rename from incubator/netdata/0.0.4/values.yaml rename to incubator/netdata/0.0.5/values.yaml