Skip to content

Commit

Permalink
【Optimize】unified image pull policy (openyurtio#805)
Browse files Browse the repository at this point in the history
* add yurt-app-manager yurtappdaemon/yurtingress deploy and revert

* Revert "add yurt-app-manager yurtappdaemon/yurtingress deploy and revert"

This reverts commit ba28364.

* unified image pull policy
  • Loading branch information
JameKeal committed May 16, 2022
1 parent 9cab046 commit 30d45fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/setup/yurthub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/yaml-template/yurthub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/yurtctl/constants/yurt-app-manager-tmpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ spec:
command:
- /usr/local/bin/yurt-app-manager
image: {{.image}}
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
name: manager
ports:
- containerPort: 9443
Expand Down

0 comments on commit 30d45fe

Please sign in to comment.