Skip to content

fix: pass --insecure-registry to ko for plain-HTTP KinD registry#2067

Merged
khrm merged 1 commit into
tektoncd:mainfrom
khrm:fix-e2e-ko-insecure-registry
Jul 14, 2026
Merged

fix: pass --insecure-registry to ko for plain-HTTP KinD registry#2067
khrm merged 1 commit into
tektoncd:mainfrom
khrm:fix-e2e-ko-insecure-registry

Conversation

@khrm

@khrm khrm commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

ko >=v0.19 writes SBOMs to the registry over HTTPS by default, which fails against the plain-HTTP KinD registry (registry.local:5000) with: "http: server gave HTTP response to HTTPS client"

Set KO_FLAGS=--insecure-registry in the e2e workflow and thread it through ko resolve calls in e2e-common.sh.

Changes

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
  • Has Tests included if any functionality added or changed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including functionality, content, code)
  • Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
  • Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
  • Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes

NONE

ko >=v0.19 writes SBOMs to the registry over HTTPS by default, which
fails against the plain-HTTP KinD registry (registry.local:5000) with:
"http: server gave HTTP response to HTTPS client"

Set KO_FLAGS=--insecure-registry in the e2e workflow and thread it
through ko resolve calls in e2e-common.sh.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@tekton-robot tekton-robot added the release-note-none Denotes a PR that doesnt merit a release note. label Jul 14, 2026
@tekton-robot tekton-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jul 14, 2026

@khrm khrm left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

/kind misc

@tekton-robot tekton-robot added the kind/misc Categorizes issue or PR as a miscellaneuous one. label Jul 14, 2026
@khrm khrm added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jul 14, 2026
@tekton-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by:

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

@khrm
khrm merged commit 08154dc into tektoncd:main Jul 14, 2026
15 checks passed
@khrm
khrm deleted the fix-e2e-ko-insecure-registry branch July 14, 2026 19:27
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. kind/misc Categorizes issue or PR as a miscellaneuous one. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesnt merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants