Browse Source

Modify imagepullpolicy (#6816)

pull/6823/head
Samuel Liu 4 years ago
committed by GitHub
parent
commit
dbe6eb20c8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions
  1. 2
      roles/kubernetes-apps/ingress_controller/ambassador/templates/deploy-ambassador.yml.j2
  2. 4
      roles/kubernetes-apps/metallb/templates/metallb.yml.j2

2
roles/kubernetes-apps/ingress_controller/ambassador/templates/deploy-ambassador.yml.j2

@ -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:

4
roles/kubernetes-apps/metallb/templates/metallb.yml.j2

@ -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 }}
@ -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 }}

Loading…
Cancel
Save