Skip to content

Conversation

salasberryfin
Copy link
Contributor

What this PR does / why we need it:

Operator plugin provides a solution to create a ConfigMap with the contents of a resource manifest fetched from an OCI registry. This PR adds support for using GitHub/GitLab releases as source.

The existing -u parameter maintains the current behavior if an OCI registry is passed but will first validate if the provided URL contains a GitHub/GitLab host and, if so, will retrieve the manifest file from the full release URL.

If using this new alternative source, the full URL must be set, e.g. -u https://github.com/kubernetes-sigs/cluster-api/releases/v1.10.5/core-components.yaml, including schema, version, and components file. In this case, the provider version is always included in the URL.

New examples are added to the plugin's executable and the CAPI Operator book.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Copy link

netlify bot commented Sep 22, 2025

Deploy Preview for kubernetes-sigs-cluster-api-operator ready!

Name Link
🔨 Latest commit c4aee92
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-sigs-cluster-api-operator/deploys/68d15eac039bae0008053de4
😎 Deploy Preview https://deploy-preview-894--kubernetes-sigs-cluster-api-operator.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.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Sep 22, 2025
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Sep 22, 2025
Signed-off-by: Carlos Salas <carlos.salas@suse.com>
@salasberryfin salasberryfin force-pushed the feat-support-gh-releases-in-plugin branch from a2b7bf8 to c4aee92 Compare September 22, 2025 14:35
@salasberryfin salasberryfin moved this to PR to be reviewed in CAPI / Turtles Sep 22, 2025
Copy link
Contributor

@alexander-demicev alexander-demicev left a comment

Choose a reason for hiding this comment

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

/approve

@alexander-demicev
Copy link
Contributor

thanks!

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alexander-demicev

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 23, 2025
@salasberryfin
Copy link
Contributor Author

There are some strange failures in E2E that we're troubleshooting. It's failed in separate executions unrelated to these changes: https://prow.k8s.io/job-history/gs/kubernetes-ci-logs/logs/periodic-cluster-api-operator-e2e-main

@furkatgofurov7
Copy link
Member

/test pull-cluster-api-operator-e2e-main

I am retriggering to see if it is fixed now, since it is passing in other PR #880

@furkatgofurov7
Copy link
Member

/test pull-cluster-api-operator-e2e-main

Copy link
Member

@furkatgofurov7 furkatgofurov7 left a comment

Choose a reason for hiding this comment

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

/lgtm
/backport release-0.23

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 23, 2025
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 9dae3de3a038fbbc2beb281641f7cda063826739

@salasberryfin
Copy link
Contributor Author

/cherry-pick release-0.23

@k8s-infra-cherrypick-robot

@salasberryfin: once the present PR merges, I will cherry-pick it on top of release-0.23 in a new PR and assign it to you.

In response to this:

/cherry-pick release-0.23

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-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot merged commit fb2f897 into kubernetes-sigs:main Sep 23, 2025
14 checks passed
@github-project-automation github-project-automation bot moved this from PR to be reviewed to Done in CAPI / Turtles Sep 23, 2025
@k8s-infra-cherrypick-robot

@salasberryfin: new pull request created: #895

In response to this:

/cherry-pick release-0.23

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-sigs/prow repository.

@furkatgofurov7
Copy link
Member

/retitle 🌱 support Git release URLs as source for plugin ConfigMap

@k8s-ci-robot k8s-ci-robot changed the title ✨ feat: support Git release URLs as source for plugin ConfigMap 🌱 support Git release URLs as source for plugin ConfigMap Sep 23, 2025
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants