refactor(charts): BREAKING CHANGE (#2836)
* Update Apps with new Common version * Patch with the secret fixes from common * fix amd
This commit is contained in:
@@ -1,20 +1,4 @@
|
||||
{{- 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" . }}
|
||||
{{- include "tc.common.loader.init" . }}
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "common.postSetup" . }}
|
||||
{{ include "tc.common.loader.apply" . }}
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
{{- 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 -}}
|
||||
Reference in New Issue
Block a user