-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Add support to pull & build OCI kustomize manifests #5147
base: master
Are you sure you want to change the base?
Add support to pull & build OCI kustomize manifests #5147
Conversation
This PR has multiple commits, and the default merge method is: merge. 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. |
Welcome @FrenchBen! |
Hi @FrenchBen. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
Hi @FrenchBen, thank you for your PR. It seems that this PR is specifically targeting adding oci support to IMO we can accept either of these options:
I left another comment on #5134 (comment) to further clarify the requirements. |
@natasha41575 Makes sense, and was on my list of things to add :) |
/hold |
987b9d6
to
f351682
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: FrenchBen The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
With the recent changes from kube-openapi to adopt gnostic-model instead of gnostic, it had lead to a few broken dependencies (Flux PKG being one of them) |
@FrenchBen Could you clean up the PR title and commits to ease review? |
@natasha41575 which commits do you want to see squashed? |
PR needs rebase. 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 just mean to clean it up so that they are organized in a way that makes sense. E.g. maybe one commit can add your OCI library, another can add the functionality + tests to build, another to localize, and another can update docs. Each commit should have one clear purpose so that it is easy to understand what each does. The commit messages become the release notes. We can always edit them during release but it is easier if they make sense from the get-go. |
Is there anything that I can do to help get this approved? I'm blocked waiting on this PR to be accepted. EDIT: Seems this is no longer needed as #5167 has been merged. |
It seems like this doesn't allow digest-pinned images eh?
|
I understand the need for this feature. I myself want to set up an OCI registry that houses a collection of services. A similar setup can be seen here: In my experience configuring Helm charts can be a daunting task, and I often only need to template a handful of the Helm values I change. As a result, I prefer to reuse my flux-gitops HelmReleases, rather than creating and managing multiple versions across different clusters. While Git sources allow for this, the current process can be cumbersome. In order to reference these services with flux kustomizations, I'm required to create a separate flux kustomization for each service. However, if the feature in question were available, I could simply create one flux kustomization that points to a standard kustomization file. This file would then reference services as an OCI reference including a path. While I can't speak for all workflows, I believe this proposed feature would be beneficial to many. It provides a flexible approach to deploy from OCI, and enhances reusability where it's currently lacking. Could we possibly prioritize this PR? 🙏🏻 |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
I don't know that I can, but I'd like to |
Catching up on this PR. I believe the changes here are still needed if we want generic resources to live in an OCI repo. Can I get some feedback from the maintainers, so any updates don't go stale as they have in the past? |
/lint |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
Any update on getting this reviewed / merged? This PR is almost two years old and OCI is only getting more and more popular. |
Fixes #5134
I created a new OCI package to support this feature, which caused a few go.mod updates, thus adding a lot of noise.
Core/relevant files changed are:
The example in
examples/oci-test
is to build the OCI manifest, that is used in the golang tests - Ideally this moves under thekubernetes-sigs/kustomize
repo package repository, once this PR is merged