diff --git a/config/setup/yurthub.yaml b/config/setup/yurthub.yaml index 148922e68a4..f6fb35da228 100644 --- a/config/setup/yurthub.yaml +++ b/config/setup/yurthub.yaml @@ -22,7 +22,7 @@ spec: containers: - name: yurt-hub image: openyurt/yurthub:latest - imagePullPolicy: Always + imagePullPolicy: IfNotPresent volumeMounts: - name: hub-dir mountPath: /var/lib/yurthub diff --git a/config/yaml-template/yurthub.yaml b/config/yaml-template/yurthub.yaml index 6adc080113a..4bd0f354377 100644 --- a/config/yaml-template/yurthub.yaml +++ b/config/yaml-template/yurthub.yaml @@ -22,7 +22,7 @@ spec: containers: - name: __project_prefix__-hub image: __repo__/__project_prefix__hub:__tag__ - imagePullPolicy: Always + imagePullPolicy: IfNotPresent volumeMounts: - name: hub-dir mountPath: /var/lib/yurthub diff --git a/pkg/yurtctl/constants/yurt-app-manager-tmpl.go b/pkg/yurtctl/constants/yurt-app-manager-tmpl.go index 7d525e160d6..1fd7057d9b0 100644 --- a/pkg/yurtctl/constants/yurt-app-manager-tmpl.go +++ b/pkg/yurtctl/constants/yurt-app-manager-tmpl.go @@ -668,7 +668,7 @@ spec: command: - /usr/local/bin/yurt-app-manager image: {{.image}} - imagePullPolicy: Always + imagePullPolicy: IfNotPresent name: manager ports: - containerPort: 9443