Skip to content

Commit c4438a5

Browse files
Merge pull request #1953 from openshift-cherrypick-robot/cherry-pick-1949-to-18.0-fr6
[18.0-fr6] Set ImagePullPolicy to IfNotPresent on OpenStackClient pod
2 parents b999929 + 95be94c commit c4438a5

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

internal/openstackclient/funcs.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,11 @@ func ClientPodSpec(
7777
Volumes: volumes,
7878
Containers: []corev1.Container{
7979
{
80-
Name: "openstackclient",
81-
Image: instance.Spec.ContainerImage,
82-
Command: []string{"/bin/sleep"},
83-
Args: []string{"infinity"},
80+
Name: "openstackclient",
81+
Image: instance.Spec.ContainerImage,
82+
ImagePullPolicy: corev1.PullIfNotPresent,
83+
Command: []string{"/bin/sleep"},
84+
Args: []string{"infinity"},
8485
SecurityContext: &corev1.SecurityContext{
8586
RunAsUser: ptr.To[int64](42401),
8687
RunAsGroup: ptr.To[int64](42401),

0 commit comments

Comments
 (0)