Skip to content

fix: replace kodata LICENSE symlinks with actual files#2056

Merged
tekton-robot merged 1 commit into
tektoncd:mainfrom
khrm:fix-kodata-symlinks
Jun 29, 2026
Merged

fix: replace kodata LICENSE symlinks with actual files#2056
tekton-robot merged 1 commit into
tektoncd:mainfrom
khrm:fix-kodata-symlinks

Conversation

@khrm

@khrm khrm commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

ko v0.19.0 introduced strict enforcement that kodata symlinks must not resolve outside the kodata root (ko-build/ko#1619). The existing LICENSE -> ../../../LICENSE symlinks in cmd/*/kodata/ resolve to the repo root, which ko v0.19.0 now rejects when tarring for any non-kind registry, breaking CI.

Replace the three symlinks with actual copies of the LICENSE file:

  • cmd/controller/kodata/LICENSE
  • cmd/eventlistenersink/kodata/LICENSE
  • cmd/webhook/kodata/LICENSE

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.0 introduced strict enforcement that kodata symlinks must not
resolve outside the kodata root (ko-build/ko#1619). The existing
LICENSE -> ../../../LICENSE symlinks in cmd/*/kodata/ resolve to the
repo root, which ko v0.19.0 now rejects when tarring for any non-kind
registry, breaking CI.

Replace the three symlinks with actual copies of the LICENSE file:
- cmd/controller/kodata/LICENSE
- cmd/eventlistenersink/kodata/LICENSE
- cmd/webhook/kodata/LICENSE

Co-Authored-By: Claude Sonnet 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 Jun 29, 2026
@tekton-robot tekton-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Jun 29, 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.

/approve

@tekton-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: khrm

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

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 29, 2026
@khrm khrm added the lgtm Indicates that a PR is ready to be merged. label Jun 29, 2026
@tekton-robot tekton-robot merged commit e62b1ce into tektoncd:main Jun 29, 2026
15 checks passed
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. release-note-none Denotes a PR that doesnt merit a release note. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants