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 }} image: {{ ingress_ambassador_image_repo }}:{{ ingress_ambassador_image_tag }}
command: command:
- ambassador-operator - ambassador-operator
imagePullPolicy: Always
imagePullPolicy: {{ k8s_image_pull_policy }}
env: env:
- name: WATCH_NAMESPACE - name: WATCH_NAMESPACE
valueFrom: valueFrom:

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

@ -318,7 +318,7 @@ spec:
name: memberlist name: memberlist
key: secretkey key: secretkey
image: {{ metallb_speaker_image_repo }}:{{ metallb_version }} image: {{ metallb_speaker_image_repo }}:{{ metallb_version }}
imagePullPolicy: Always
imagePullPolicy: {{ k8s_image_pull_policy }}
name: speaker name: speaker
ports: ports:
- containerPort: {{ metallb_port }} - containerPort: {{ metallb_port }}
@ -374,7 +374,7 @@ spec:
- --port={{ metallb_port }} - --port={{ metallb_port }}
- --config=config - --config=config
image: {{ metallb_controller_image_repo }}:{{ metallb_version }} image: {{ metallb_controller_image_repo }}:{{ metallb_version }}
imagePullPolicy: Always
imagePullPolicy: {{ k8s_image_pull_policy }}
name: controller name: controller
ports: ports:
- containerPort: {{ metallb_port }} - containerPort: {{ metallb_port }}

Loading…
Cancel
Save