summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorzivAnyvision <85830976+zivAnyvision@users.noreply.github.com>2021-12-07 12:52:41 +0200
committerzivAnyvision <ziv@oosto.com>2021-12-13 19:10:55 +0200
commitac4917b18da9a0856ed5f0a561eb4ef885173858 (patch)
tree264b1ceb1a6aebcf9967d7de304d742a21a35fc6 /build
parentMerge pull request #3459 from gy95/assert (diff)
downloadkubeedge-ac4917b18da9a0856ed5f0a561eb4ef885173858.tar.gz
fixes imagePullSecrets in cloudcore deployment and in iptablesManager daemonset
Signed-off-by: zivAnyvision <ziv@oosto.com>
Diffstat (limited to 'build')
-rw-r--r--build/helm/cloudcore/templates/daemonset_iptablesmanager.yaml5
-rw-r--r--build/helm/cloudcore/templates/deployment_cloudcore.yaml4
2 files changed, 6 insertions, 3 deletions
diff --git a/build/helm/cloudcore/templates/daemonset_iptablesmanager.yaml b/build/helm/cloudcore/templates/daemonset_iptablesmanager.yaml
index 1fe598381..99ad9eca1 100644
--- a/build/helm/cloudcore/templates/daemonset_iptablesmanager.yaml
+++ b/build/helm/cloudcore/templates/daemonset_iptablesmanager.yaml
@@ -33,6 +33,9 @@ spec:
nodeSelector: {{ toYaml . | nindent 8 }}
{{- end }}
restartPolicy: Always
+ {{- with .Values.iptablesManager.image.imagePullSecrets }}
+ imagePullSecrets: {{ toYaml . | nindent 8 }}
+ {{- end }}
containers:
- name: iptables-manager
command: ['iptables-manager']
@@ -44,4 +47,4 @@ spec:
{{- with .Values.iptablesManager.resources }}
resources: {{ toYaml . | nindent 10 }}
{{- end }}
-{{- end }} \ No newline at end of file
+{{- end }}
diff --git a/build/helm/cloudcore/templates/deployment_cloudcore.yaml b/build/helm/cloudcore/templates/deployment_cloudcore.yaml
index 6d759c889..b30a076d5 100644
--- a/build/helm/cloudcore/templates/deployment_cloudcore.yaml
+++ b/build/helm/cloudcore/templates/deployment_cloudcore.yaml
@@ -35,8 +35,8 @@ spec:
tolerations: {{ toYaml . | nindent 8 }}
{{- end }}
serviceAccount: cloudcore
- {{- with .Values.imagePullSecrets }}
- imagePullSecrets: {{- toYaml . | indent 8 }}
+ {{- with .Values.cloudCore.image.imagePullSecrets }}
+ imagePullSecrets: {{ toYaml . | nindent 8 }}
{{- end }}
containers:
- name: cloudcore