Skip to content

Conversation

@tmshort
Copy link
Contributor

@tmshort tmshort commented Nov 18, 2025

Use the local cached source of kind to determine the k8s version it supports. It avoids hitting github if possible.

Description

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

Use the local cached source of kind to determine the k8s version it
supports. It avoids hitting github if possible.

Signed-off-by: Todd Short <tshort@redhat.com>
@tmshort tmshort requested a review from a team as a code owner November 18, 2025 22:11
@openshift-ci openshift-ci bot requested a review from joelanford November 18, 2025 22:11
@netlify
Copy link

netlify bot commented Nov 18, 2025

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit 6682925
🔍 Latest deploy log https://app.netlify.com/projects/olmv1/deploys/691ceefe9e404a000865d466
😎 Deploy Preview https://deploy-preview-2346--olmv1.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 project configuration.

@openshift-ci openshift-ci bot requested a review from pedjak November 18, 2025 22:11
@tmshort
Copy link
Contributor Author

tmshort commented Nov 18, 2025

github had issues yesterday; this avoids git hub when running kind locally.

Copy link
Contributor

@pedjak pedjak left a comment

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 added the lgtm Indicates that a PR is ready to be merged. label Nov 19, 2025
Comment on lines +16 to +19
# Get the version of the image from github
if [ -z "${KIND_VER}" ]; then
KIND_VER=$(curl -L -s https://github.com/kubernetes-sigs/kind/raw/refs/tags/${KIND}/pkg/apis/config/defaults/image.go | grep -Eo "${REGEX}")
fi
Copy link
Contributor

Choose a reason for hiding this comment

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

is there a situation when we cannot resolve KIND_VER from the local cache? Can we remove this actually?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the original check that broke when github was down yesterday. It's possible someone may have cleaned up their local cache, so I'd rather just leave it as a "just-in-case".

Copy link
Member

@rashmigottipati rashmigottipati left a comment

Choose a reason for hiding this comment

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

/lgtm

@tmshort
Copy link
Contributor Author

tmshort commented Nov 19, 2025

/approve

@openshift-ci
Copy link

openshift-ci bot commented Nov 19, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: grokspawn, pedjak, rashmigottipati, tmshort

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 Nov 19, 2025
@openshift-merge-bot openshift-merge-bot bot merged commit 03eb884 into operator-framework:main Nov 19, 2025
22 checks passed
@tmshort tmshort deleted the offline-kindest-check branch November 19, 2025 15:38
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants