Skip to content

Commit

Permalink
Merge pull request #549 from deads2k/pull-policy
Browse files Browse the repository at this point in the history
bug 1874856: use local must-gather image if it is present
  • Loading branch information
openshift-merge-robot committed Sep 3, 2020
2 parents f0dcdbc + de7c254 commit 1496ed8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cli/admin/mustgather/mustgather.go
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ func (o *MustGatherOptions) newPod(node, image string) *corev1.Pod {
{
Name: "gather",
Image: image,
ImagePullPolicy: corev1.PullAlways,
ImagePullPolicy: corev1.PullIfNotPresent,
Command: []string{"/usr/bin/gather"},
VolumeMounts: []corev1.VolumeMount{
{
Expand All @@ -519,7 +519,7 @@ func (o *MustGatherOptions) newPod(node, image string) *corev1.Pod {
{
Name: "copy",
Image: image,
ImagePullPolicy: corev1.PullAlways,
ImagePullPolicy: corev1.PullIfNotPresent,
Command: []string{"/bin/bash", "-c", "trap : TERM INT; sleep infinity & wait"},
VolumeMounts: []corev1.VolumeMount{
{
Expand Down

0 comments on commit 1496ed8

Please sign in to comment.