File tree Expand file tree Collapse file tree 4 files changed +23
-1
lines changed
charts/kube-arch-scheduler Expand file tree Collapse file tree 4 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,12 @@ addToDefaultScheduler: true
30
30
# and it will only affect pods with: [schedulerName: kube-arch-scheduler].
31
31
nonDefaultSchedulerName : kube-arch-scheduler
32
32
33
+ # dockerconfig.json is a base64 encoded docker config file, it will be used
34
+ # to pull the image manifests. The pod needs to have the secret mounted at
35
+ # /root/.docker/config.json. This is only needed if you are using a private
36
+ # registry. If you are using a public registry, you can leave this empty.
37
+ dockerConfigSecretName : " "
38
+
33
39
# The weight of each architecture,
34
40
# if a pod can sit on both, it will prefer the one with the higher weight.
35
41
# The default weight of undefined architectures is 0, meaning none will have
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ type: application
13
13
# This is the chart version. This version number should be incremented each time you make changes
14
14
# to the chart and its templates, including the app version.
15
15
# Versions are expected to follow Semantic Versioning (https://semver.org/)
16
- version : 0.0.14
16
+ version : 0.1.0
17
17
appVersion : 0.0.5
Original file line number Diff line number Diff line change 24
24
- name : scheduler-config
25
25
configMap :
26
26
name : {{ include "kube-arch-scheduler.fullname" . }}-config
27
+ {{ if .Values.dockerConfigSecretName }}
28
+ - name : registry-creds
29
+ secret :
30
+ secretName : {{ .Values.dockerConfigSecretName }}
31
+ {{ end }}
27
32
containers :
28
33
- name : scheduler-ctrl
29
34
image : {{ .Values.controllerManager.manager.image.repository }}:{{ .Values.controllerManager.manager.image.tag }}
37
42
volumeMounts :
38
43
- name : scheduler-config
39
44
mountPath : /scheduler
45
+ {{ if .Values.dockerConfigSecretName }}
46
+ - name : registry-creds
47
+ mountPath : " /root/.docker"
48
+ readOnly : true
49
+ {{ end }}
Original file line number Diff line number Diff line change @@ -17,6 +17,12 @@ addToDefaultScheduler: true
17
17
# and it will only affect pods with: [schedulerName: kube-arch-scheduler].
18
18
nonDefaultSchedulerName : kube-arch-scheduler
19
19
20
+ # dockerconfig.json is a base64 encoded docker config file, it will be used
21
+ # to pull the image manifests. The pod needs to have the secret mounted at
22
+ # /root/.docker/config.json. This is only needed if you are using a private
23
+ # registry. If you are using a public registry, you can leave this empty.
24
+ dockerConfigSecretName : " "
25
+
20
26
# The weight of each architecture,
21
27
# if a pod can sit on both, it will prefer the one with the higher weight.
22
28
# The default weight of undefined architectures is 0, meaning none will have
You can’t perform that action at this time.
0 commit comments