Skip to content

Commit

Permalink
Hypershift Image Pull Policy to IfNotPresent (openshift#1473)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrentsil committed Jun 23, 2022
1 parent 9fa74e3 commit 624dab0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/install/assets/hypershift_operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ func (o HyperShiftOperatorDeployment) Build() *appsv1.Deployment {
RunAsUser: k8sutilspointer.Int64Ptr(1000),
},
Image: image,
ImagePullPolicy: corev1.PullAlways,
ImagePullPolicy: corev1.PullIfNotPresent,
Env: envVars,
Command: []string{"/usr/bin/hypershift-operator"},
Args: args,
Expand Down
2 changes: 1 addition & 1 deletion hack/app-sre/saas_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ objects:
- name: AWS_SDK_LOAD_CONFIG
value: "1"
image: ${OPERATOR_IMG}:${IMAGE_TAG}
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 5
httpGet:
Expand Down

0 comments on commit 624dab0

Please sign in to comment.