Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ImagePullPolicyIfNotPresent for HO #1473

Merged
merged 1 commit into from
Jun 23, 2022

Conversation

pcrentsil
Copy link
Contributor

Do not always pull Hypershift images

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #

Checklist

  • Subject and description added to both, commit and PR.
  • Relevant issues have been referenced.
  • This change includes docs.
  • This change includes unit tests.

@pcrentsil pcrentsil changed the title Image pull policy Hypershift Image Pull Policy Jun 21, 2022
@netlify
Copy link

netlify bot commented Jun 21, 2022

Deploy Preview for hypershift-docs ready!

Name Link
🔨 Latest commit 43d084b
🔍 Latest deploy log https://app.netlify.com/sites/hypershift-docs/deploys/62b49b439894bd0008b13595
😎 Deploy Preview https://deploy-preview-1473--hypershift-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@openshift-ci openshift-ci bot requested review from csrwng and enxebre June 21, 2022 14:42
@enxebre
Copy link
Member

enxebre commented Jun 21, 2022

/hold
Thanks @pcrentsil. Please squash commits reasonably, use imperative mood and add a PR and commit desc elaborating "why" this change.

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 21, 2022
@@ -17,7 +17,7 @@ spec:
- command:
- /usr/bin/admission-tracer
image: quay.io/sjenning/admission-tracer:latest
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
name: admission-tracer
Copy link
Contributor

Choose a reason for hiding this comment

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

@sjenning Do we want to keep this as Always? I see that the image references the latest tag.

Copy link
Contributor

Choose a reason for hiding this comment

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

This is a dev debugging tool, I think Always makes more sense

@@ -191,7 +191,8 @@ func generateConfig(p KubeAPIServerConfigParams, version semver.Version) *kcpv1.
args.Set("service-account-lookup", "true")
args.Set("service-account-signing-key-file", cpath(kasVolumeServiceAccountKey().Name, pki.ServiceSignerPrivateKey))
args.Set("service-node-port-range", p.NodePortRange)
args.Set("shutdown-delay-duration", "10s")
args.Set("shutdown-delay-duration", "70s")
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't see how this is related to ImagePullPolicy. Please read our contributing guide: https://hypershift-docs.netlify.app/contribute/

/hold

@alvaroaleman
Copy link
Contributor

/label tide/merge-method/squash
/hold

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 23, 2022

@alvaroaleman: The label(s) /label tide/merge-method/squash cannot be applied. These labels are supported: platform/aws, platform/azure, platform/baremetal, platform/google, platform/libvirt, platform/openstack, ga, tide/merge-method-merge, tide/merge-method-rebase, tide/merge-method-squash, px-approved, docs-approved, qe-approved, downstream-change-needed, approved, backport-risk-assessed, cherry-pick-approved

In response to this:

/label tide/merge-method/squash
/hold

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@alvaroaleman
Copy link
Contributor

/label tide/merge-method-squash

@openshift-ci openshift-ci bot added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Jun 23, 2022
@pcrentsil
Copy link
Contributor Author

@alvaroaleman comments were updated, commits squashed please take a look. Thank you,

Copy link
Contributor

@alvaroaleman alvaroaleman left a comment

Choose a reason for hiding this comment

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

/retitle Use ImagePullPolicyIfNotPresent for HO
/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 23, 2022
@openshift-ci openshift-ci bot changed the title Hypershift Image Pull Policy Use ImagePullPolicyIfNotPresent for HO Jun 23, 2022
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jun 23, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 23, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alvaroaleman, pcrentsil

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

The pull request process is described here

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 23, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 23, 2022

@pcrentsil: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@openshift-ci openshift-ci bot merged commit 624dab0 into openshift:main Jun 23, 2022
@hasueki
Copy link
Contributor

hasueki commented Jun 23, 2022

/cherry-pick release-4.9

@openshift-cherrypick-robot

@hasueki: new pull request created: #1482

In response to this:

/cherry-pick release-4.9

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@hasueki
Copy link
Contributor

hasueki commented Jun 23, 2022

/cherry-pick release-4.10

@openshift-cherrypick-robot

@hasueki: new pull request created: #1483

In response to this:

/cherry-pick release-4.10

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants