Skip to content

Set ImagePullPolicy to IfNotPresent on OpenStackClient pod#1949

Open
abays wants to merge 1 commit into
openstack-k8s-operators:mainfrom
abays:fix/openstackclient-pull-policy
Open

Set ImagePullPolicy to IfNotPresent on OpenStackClient pod#1949
abays wants to merge 1 commit into
openstack-k8s-operators:mainfrom
abays:fix/openstackclient-pull-policy

Conversation

@abays

@abays abays commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

The OpenStackClient pod is created as a raw corev1.Pod directly, bypassing lib-common workload helpers where SetPullPolicyDefaults is applied. When ImagePullPolicy is not explicitly set and the image tag is "latest" or unset, Kubernetes defaults the policy to Always. Explicitly set PullIfNotPresent to avoid unnecessary image pulls.

@abays abays requested a review from stuggi June 22, 2026 15:45
@openshift-ci openshift-ci Bot requested review from fultonj and slagle June 22, 2026 15:45
@github-actions

github-actions Bot commented Jun 22, 2026

Copy link
Copy Markdown

OpenStackControlPlane CRD Size Report

Metric Value
CRD JSON size 349935 bytes (342KB)
Base branch size 349969 bytes
Change -0.01%
Status yellow — growing
Threshold reference
Color Range Meaning
🟢 green < 300KB Comfortable
🟡 yellow 300–400KB Growing
🟠 orange 400–750KB Concerning
🔴 red > 750KB Approaching 1.5MB etcd limit (cut in half to allow space for update)

@stuggi stuggi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci

openshift-ci Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abays, stuggi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

The OpenStackClient pod is created as a raw corev1.Pod directly,
bypassing lib-common workload helpers where SetPullPolicyDefaults
is applied. When ImagePullPolicy is not explicitly set and the
image tag is "latest" or unset, Kubernetes defaults the policy to
Always. Explicitly set PullIfNotPresent to avoid unnecessary image
pulls.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@abays abays force-pushed the fix/openstackclient-pull-policy branch from 5378dfb to bb1efbb Compare June 22, 2026 16:44
@openshift-ci openshift-ci Bot removed the lgtm label Jun 22, 2026
@openshift-ci

openshift-ci Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

New changes are detected. LGTM label has been removed.

@abays

abays commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

Fixed indentation, adding LGTM label back

@abays abays added the lgtm label Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants