Browse Source

Merge "Change docker image pulling policy from Always to IfNotPresent"

changes/23/604823/3
Zuul 3 years ago
committed by Gerrit Code Review
parent
commit
30f6859b13
  1. 2
      magnum/drivers/common/templates/kubernetes/fragments/core-dns-service.sh
  2. 2
      magnum/drivers/common/templates/kubernetes/fragments/enable-prometheus-monitoring.sh
  3. 2
      magnum/drivers/k8s_coreos_v1/templates/fragments/enable-coredns.yaml

2
magnum/drivers/common/templates/kubernetes/fragments/core-dns-service.sh

@ -99,7 +99,7 @@ spec:
containers:
- name: coredns
image: ${_dns_prefix}coredns:1.0.1
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
args: [ "-conf", "/etc/coredns/Corefile" ]
volumeMounts:
- name: config-volume

2
magnum/drivers/common/templates/kubernetes/fragments/enable-prometheus-monitoring.sh

@ -331,7 +331,7 @@ spec:
spec:
containers:
- image: ${CONTAINER_INFRA_PREFIX:-docker.io/grafana/}grafana:${GRAFANA_TAG}
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
name: grafana
env:
- name: GF_SECURITY_ADMIN_PASSWORD

2
magnum/drivers/k8s_coreos_v1/templates/fragments/enable-coredns.yaml

@ -116,7 +116,7 @@ write_files:
containers:
- name: coredns
image: coredns/coredns:007
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
args: [ "-conf", "/etc/coredns/Corefile" ]
volumeMounts:
- name: config-volume

Loading…
Cancel
Save