Skip to content

Commit

Permalink
Merge pull request #35 from Elbehery/set-imagePullPolicy-to-ifNotPresent
Browse files Browse the repository at this point in the history
Bug 1947774: fix imagePullPolicy to ifNotPresent
  • Loading branch information
openshift-merge-robot committed Apr 21, 2021
2 parents 8e1a39c + 7dd5835 commit 9c21c25
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
10 changes: 5 additions & 5 deletions assets/controller.yaml
Expand Up @@ -29,6 +29,7 @@ spec:
containers:
- name: csi-driver
image: ${DRIVER_IMAGE}
imagePullPolicy: IfNotPresent
args:
- /bin/cinder-csi-plugin
- "--nodeid=$(NODE_ID)"
Expand All @@ -45,7 +46,6 @@ spec:
value: unix://csi/csi.sock
- name: CLOUD_CONFIG
value: /etc/kubernetes/config/cloud.conf
imagePullPolicy: "IfNotPresent"
volumeMounts:
- name: socket-dir
mountPath: /csi
Expand All @@ -63,6 +63,7 @@ spec:
cpu: 10m
- name: csi-provisioner
image: ${PROVISIONER_IMAGE}
imagePullPolicy: IfNotPresent
args:
- "--csi-address=$(ADDRESS)"
- "--timeout=3m"
Expand All @@ -73,7 +74,6 @@ spec:
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
imagePullPolicy: "IfNotPresent"
volumeMounts:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
Expand Down Expand Up @@ -105,6 +105,7 @@ spec:
name: metrics-serving-cert
- name: csi-attacher
image: ${ATTACHER_IMAGE}
imagePullPolicy: IfNotPresent
args:
- "--csi-address=$(ADDRESS)"
- "--timeout=3m"
Expand All @@ -113,7 +114,6 @@ spec:
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
imagePullPolicy: "IfNotPresent"
volumeMounts:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
Expand Down Expand Up @@ -143,14 +143,14 @@ spec:
name: metrics-serving-cert
- name: csi-resizer
image: ${RESIZER_IMAGE}
imagePullPolicy: IfNotPresent
args:
- "--csi-address=$(ADDRESS)"
- "--http-endpoint=localhost:8204"
- "--v=${LOG_LEVEL}"
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
imagePullPolicy: "IfNotPresent"
volumeMounts:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
Expand Down Expand Up @@ -180,14 +180,14 @@ spec:
name: metrics-serving-cert
- name: csi-snapshotter
image: ${SNAPSHOTTER_IMAGE}
imagePullPolicy: IfNotPresent
args:
- "--csi-address=$(ADDRESS)"
- "--http-endpoint=localhost:8205"
- "--v=${LOG_LEVEL}"
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
imagePullPolicy: "IfNotPresent"
volumeMounts:
- mountPath: /var/lib/csi/sockets/pluginproxy/
name: socket-dir
Expand Down
4 changes: 2 additions & 2 deletions assets/node.yaml
Expand Up @@ -33,6 +33,7 @@ spec:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
image: ${DRIVER_IMAGE}
imagePullPolicy: IfNotPresent
args :
- /bin/cinder-csi-plugin
- "--nodeid=$(NODE_ID)"
Expand All @@ -48,7 +49,6 @@ spec:
value: unix://csi/csi.sock
- name: CLOUD_CONFIG
value: /etc/kubernetes/config/cloud.conf
imagePullPolicy: "IfNotPresent"
volumeMounts:
- name: socket-dir
mountPath: /csi
Expand All @@ -75,6 +75,7 @@ spec:
cpu: 10m
- name: node-driver-registrar
image: ${NODE_DRIVER_REGISTRAR_IMAGE}
imagePullPolicy: IfNotPresent
args:
- "--v=5"
- "--csi-address=$(ADDRESS)"
Expand All @@ -92,7 +93,6 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
imagePullPolicy: "IfNotPresent"
volumeMounts:
- name: socket-dir
mountPath: /csi
Expand Down
14 changes: 7 additions & 7 deletions pkg/generated/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9c21c25

Please sign in to comment.