Skip to content

Commit

Permalink
Modify imagepullpolicy (kubernetes-sigs#6816)
Browse files Browse the repository at this point in the history
  • Loading branch information
liupeng0518 authored and LuckySB committed Jan 16, 2021
1 parent 4b8b9de commit eed51bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
image: {{ ingress_ambassador_image_repo }}:{{ ingress_ambassador_image_tag }}
command:
- ambassador-operator
imagePullPolicy: Always
imagePullPolicy: {{ k8s_image_pull_policy }}
env:
- name: WATCH_NAMESPACE
valueFrom:
Expand Down
4 changes: 2 additions & 2 deletions roles/kubernetes-apps/metallb/templates/metallb.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ spec:
name: memberlist
key: secretkey
image: {{ metallb_speaker_image_repo }}:{{ metallb_version }}
imagePullPolicy: Always
imagePullPolicy: {{ k8s_image_pull_policy }}
name: speaker
ports:
- containerPort: {{ metallb_port }}
Expand Down Expand Up @@ -374,7 +374,7 @@ spec:
- --port={{ metallb_port }}
- --config=config
image: {{ metallb_controller_image_repo }}:{{ metallb_version }}
imagePullPolicy: Always
imagePullPolicy: {{ k8s_image_pull_policy }}
name: controller
ports:
- containerPort: {{ metallb_port }}
Expand Down

0 comments on commit eed51bd

Please sign in to comment.