Commit new Chart releases for TrueCharts
Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
@@ -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
|
||||
@@ -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"
|
||||
@@ -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
|
||||
@@ -1,6 +1,6 @@
|
||||
# netdata
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
Netdata is high-fidelity infrastructure monitoring and troubleshooting.
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user