File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ Return the appropriate apiVersion for ingress.
6868Return a value indicating whether the restarter is enabled.
6969*/} }
7070{ {- define " netdata.restarter.enabled" -} }
71- { {- if and .Values.restarter.enabled (eq .Values.image.pullPolicy " Always" ) (or .Values.parent.enabled .Values.child.enabled .Values.k8sState.enabled) } }
71+ { {- if and .Values.restarter.enabled (eq .Values.image.pullPolicy " Always" ) (or .Values.parent.enabled .Values.child.enabled .Values.k8sState.enabled .Values.netdataOpentelemetry.enabled ) } }
7272{ {- " true" -} }
7373{ {- else -} }
7474{ {- " " -} }
Original file line number Diff line number Diff line change 77{{- $argsList = append $argsList (ternary $args "" .Values.child.enabled) }}
88{{- $args = printf "deployment/%s-k8s-state" (include "netdata.name" .) }}
99{{- $argsList = append $argsList (ternary $args "" .Values.k8sState.enabled) }}
10+ {{- $args = printf "deployment/%s-otel" (include "netdata.name" .) }}
11+ {{- $argsList = append $argsList (ternary $args "" .Values.netdataOpentelemetry.enabled) }}
1012{{- $argsList = compact $argsList }}
1113apiVersion : batch/v1
1214kind : CronJob
Original file line number Diff line number Diff line change 2020 - {{ template "netdata.name" . }}-parent
2121 - {{ template "netdata.name" . }}-child
2222 - {{ template "netdata.name" . }}-k8s-state
23+ - {{ template "netdata.name" . }}-otel
2324 verbs :
2425 - " get"
2526 - " patch"
You can’t perform that action at this time.
0 commit comments