Skip to content

Commit 53e9dc7

Browse files
authored
New wgetImage settings (#180)
1 parent efc705d commit 53e9dc7

4 files changed

Lines changed: 12 additions & 1 deletion

File tree

charts/netdata/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@ The following table lists the configurable parameters of the netdata chart and t
148148
| `sysctlImage.tag` | sysctlImage Init container tag | `latest` |
149149
| `sysctlImage.pullPolicy` | sysctlImage Init container pull policy | `Always` |
150150
| `sysctlImage.resources` | sysctlImage Init container CPU/Memory resource requests/limits | {} |
151+
| `wgetImage.repository` | wgetImage Init container name | `alpine` |
152+
| `wgetImage.tag` | wgetImage Init container tag | `latest` |
153+
| `wgetImage.pullPolicy` | wgetImage Init container pull policy | `Always` |
151154
| `sd.image.repository` | Service-discovery image repo | `netdata/agent-sd` |
152155
| `sd.image.tag` | Service-discovery image tag | Latest stable release (e.g. `v0.1.0`) |
153156
| `sd.image.pullPolicy` | Service-discovery image pull policy | `Always` |

charts/netdata/templates/daemonset.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ spec:
4848
{{- if .Values.sysctlImage.enabled }}
4949
- name: init-sysctl
5050
image: "{{ .Values.sysctlImage.repository }}:{{ .Values.sysctlImage.tag }}"
51+
imagePullPolicy: {{ .Values.sysctlImage.pullPolicy }}
5152
command:
5253
{{ toYaml .Values.sysctlImage.command | indent 12 }}
5354
securityContext:
@@ -59,7 +60,8 @@ spec:
5960
{{- end }}
6061
{{- if .Values.child.persistUniqueID }}
6162
- name: init-nodeuid
62-
image: netdata/wget
63+
image: "{{ .Values.wgetImage.repository }}:{{ .Values.wgetImage.tag }}"
64+
imagePullPolicy: {{ .Values.wgetImage.pullPolicy }}
6365
volumeMounts:
6466
- name: nodeuid
6567
mountPath: "/nodeuid"

charts/netdata/templates/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ spec:
4141
{{- if .Values.sysctlImage.enabled }}
4242
- name: init-sysctl
4343
image: "{{ .Values.sysctlImage.repository }}:{{ .Values.sysctlImage.tag }}"
44+
imagePullPolicy: {{ .Values.sysctlImage.pullPolicy }}
4445
command:
4546
{{ toYaml .Values.sysctlImage.command | indent 12 }}
4647
securityContext:

charts/netdata/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ sysctlImage:
3636
command: []
3737
resources: {}
3838

39+
wgetImage:
40+
repository: netdata/wget
41+
tag: latest
42+
pullPolicy: Always
43+
3944
service:
4045
type: ClusterIP
4146
port: 19999

0 commit comments

Comments
 (0)