-
Notifications
You must be signed in to change notification settings - Fork 764
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
Allow wildcards in resource syncing specification #3057
Comments
Sort of...#1664 asks to make the But there are absolutely use-cases where I'd want to sync in all resources of a given API group, or maybe all resources that have the same So I'd say my request is a superset of #1664, not a dupe. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
Bumping as this is not stale |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
Bumping as not stale |
@skaven81 does the comment in #1664 (comment) address the pain point you're seeing? Basically, if there was some way to suss out what resources constraint templates require and sync those (and only those) would that moot the issue? |
Yes, I think that sums it up ... mostly. The "durability over upgrades" is of course one of the issues. But that only addresses the I just want that flexibility and to not be tied into an arbitrary model of GVK specifications when ultimately all we're doing with |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
Not stale |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
Not stale |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
not stale |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
not stale |
Describe the solution you'd like
In the Gatekeeper config resource, the
syncOnly
section requires that resources be fully qualified with a group, version and kind. There are types of resources (Gatekeeper Constraints come to mind) where one or more of these values is not known. It is also often the case that multiple versions of resources (such as the various API versions of Ingress resources) are desired to be synced, without needing to explicitly list each one.Currently, specifying wildcards results in an error:
Environment:
kubectl version
):version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.8", GitCommit:"395f0a2fdc940aeb9ab88849e8fa4321decbf6e1", GitTreeState:"clean", BuildDate:"2023-08-24T00:43:07Z", GoVersion:"go1.20.7", Compiler:"gc", Platform:"linux/amd64"}
The text was updated successfully, but these errors were encountered: