Repository navigation
Accept TYPE/NAME resource args in get/reconcile - #6134
Merged
stefanprodan merged 1 commit intoOct 22, 2026
Merged
Conversation
Allow the get and reconcile commands to take kubectl-style resource arguments, e.g. "flux get hr/podinfo" or "flux reconcile helmreleases.helm.toolkit.fluxcd.io/podinfo", so that commands from kubectl history can be reused. The arguments are rewritten to the existing "TYPE NAME" form before cobra dispatches, so sub-command flags and behavior are unchanged. An optional API version and group are checked against the registered Flux types. Arguments that don't match are left as they are. Signed-off-by: Souvik Biswas <[email protected]>
stefanprodan
approved these changes
Oct 22, 2026
stefanprodan
left a comment
Member
There was a problem hiding this comment.
LGTM
Thanks @souvik-biswas-dev 🏅
PS. This partially covers the Flux type, we'll do a followup for the nested source/image commands.
Contributor
Author
|
Thanks for the quick review and the merge @stefanprodan Glad it's useful. If you're okay with it, I'd be happy to pick up the follow-up for the nested source/image commands (like |
Member
|
@souvik-biswas-dev I'm going to do a followup for this |
hbjydev
pushed a commit
to hbjydev/phoebe
that referenced
this pull request
Oct 27, 2026
…1013) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [aqua:fluxcd/flux2](https://github.com/fluxcd/flux2) | tools | minor | `2.9.6` → `2.10.0` | --- ### Release Notes <details> <summary>fluxcd/flux2 (aqua:fluxcd/flux2)</summary> ### [`v2.10.0`](https://github.com/fluxcd/flux2/releases/tag/v2.10.0) [Compare Source](fluxcd/flux2@v2.9.6...v2.10.0) #### Highlights Flux v2.10.0 is a feature release. Users are encouraged to upgrade for the best experience. Overview of the new features: - Object identity is generally available; the `ObjectLevelWorkloadIdentity` feature gate is retired - SPIFFE mTLS for inter-controller communication - Notification `Event`, `Alert` and `Provider` APIs promoted to `v1` - `OCIRepository` as a chart source for `HelmRelease` - SOPS decryption for files encrypted with comment regexes, and `--override-manager-before-dry-run` (`Kustomization`) - Image update batching with `.spec.policyChangeDelay`, retry on rejected pushes, and `.Changed.Summary` (`ImageUpdateAutomation`) - Flux artifact storage backend enabled by default for `ImageRepository` tags - Cross-namespace artifacts, tenant namespace provisioning, and path-pattern discovery (`ArtifactGenerator`) - New Zoom, incident.io and Mastodon notification providers - Built with Kubernetes 1.37 and Go 1.27 ❤️ Big thanks to all the Flux contributors that helped us with this release! ##### Kubernetes compatibility This release is compatible with the following Kubernetes versions: | Kubernetes version | Minimum required | | ------------------ | ---------------- | | `v1.35` | `>= 1.35.2` | | `v1.36` | `>= 1.36.1` | | `v1.37` | `>= 1.37.0` | > \[!NOTE] > Note that the Flux project offers support only for the latest three minor versions of Kubernetes. > Backwards compatibility with older versions of Kubernetes and OpenShift is offered by vendors such as > [ControlPlane](https://control-plane.io/enterprise-for-flux-cd/) that provide enterprise support for Flux. ##### OpenShift compatibility Flux can be installed on Red Hat OpenShift cluster directly from OperatorHub using [Flux Operator](https://operatorhub.io/operator/flux-operator). The operator allows the configuration of Flux multi-tenancy lockdown, network policies, persistent storage, sharding, vertical scaling and the synchronization of the cluster state from Git repositories, OCI artifacts, and S3-compatible storage. #### Upgrade procedure⚠️ **Breaking changes in this release:** - Object identity is always enabled and the default Flux RBAC no longer grants the `create` verb on the `serviceaccounts/token` resource. If your installation relies on the default RBAC, bind a ClusterRole with this permission to the controller ServiceAccount before upgrading. See [fluxcd/flux2#6139](fluxcd/flux2#6139) for the required ClusterRole and ClusterRoleBinding. - The notification `Alert` and `Provider` APIs are promoted to `v1`. Converting a `v1beta3` `Alert` or `Provider` to `v1` drops the deprecated `Alert.spec.summary` and `Provider.spec.interval` fields, the static JWT token for Azure Event Hub, and TLS or proxy configuration in `Provider.spec.secretRef`. Use `eventMetadata.summary`, `proxySecretRef` and `certSecretRef` instead. - The Flux artifact storage backend is now the default for the `ImageRepository` tag database. Switching the gate wipes the local tag database, so the first reconciliation after the upgrade rescans every `ImageRepository`. Set `--feature-gates=FluxStorage=false` to keep using BadgerDB. - Remote cluster authentication with `.spec.kubeConfig.configMapRef` uses object identity; replace the legacy `audiences` key with `credential.auth.fluxcd.io/audiences`. Please follow the [Upgrade Procedure for Flux v2.7+](fluxcd/flux2#5572) for a smooth upgrade from older versions of Flux to v2.10. #### Components changelog - source-controller [v1.10.1](https://github.com/fluxcd/source-controller/blob/v1.10.1/CHANGELOG.md) - kustomize-controller [v1.10.1](https://github.com/fluxcd/kustomize-controller/blob/v1.10.1/CHANGELOG.md) - notification-controller [v1.10.0](https://github.com/fluxcd/notification-controller/blob/v1.10.0/CHANGELOG.md) - helm-controller [v1.7.1](https://github.com/fluxcd/helm-controller/blob/v1.7.1/CHANGELOG.md) - image-reflector-controller [v1.3.0](https://github.com/fluxcd/image-reflector-controller/blob/v1.3.0/CHANGELOG.md) - image-automation-controller [v1.3.0](https://github.com/fluxcd/image-automation-controller/blob/v1.3.0/CHANGELOG.md) - source-watcher [v2.3.1](https://github.com/fluxcd/source-watcher/blob/v2.3.1/CHANGELOG.md) #### CLI changelog - Add backport label for 2.9 by [@​matheuscscp](https://github.com/matheuscscp) in [#​5970](fluxcd/flux2#5970) - Fix breaking change in-memory kustomization build by [@​matheuscscp](https://github.com/matheuscscp) in [#​5969](fluxcd/flux2#5969) - Update fluxcd/pkg dependencies by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5976](fluxcd/flux2#5976) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5978](fluxcd/flux2#5978) - Add checksum verification for SOPS in e2e workflows by [@​ivonaest](https://github.com/ivonaest) in [#​5961](fluxcd/flux2#5961) - Add --add-ignore-paths flag to artifact commands by [@​ruslan-shaydullin](https://github.com/ruslan-shaydullin) in [#​5885](fluxcd/flux2#5885) - Update fluxcd/pkg dependencies by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5983](fluxcd/flux2#5983) - Update fluxcd/pkg dependencies by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5989](fluxcd/flux2#5989) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​5993](fluxcd/flux2#5993) - Include source-watcher to oci flux-manifests by [@​sergelogvinov](https://github.com/sergelogvinov) in [#​5995](fluxcd/flux2#5995) - docs: fix typo in RFC-0004 (enviornment -> environment) by [@​mridulagithub](https://github.com/mridulagithub) in [#​6002](fluxcd/flux2#6002) - Update fluxcd/pkg dependencies by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​6005](fluxcd/flux2#6005) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​6010](fluxcd/flux2#6010) - Add version-file input to the Flux CLI action by [@​somaz94](https://github.com/somaz94) in [#​5975](fluxcd/flux2#5975) - Add support for 2.9 in `migrate -f` by [@​matheuscscp](https://github.com/matheuscscp) in [#​6020](fluxcd/flux2#6020) - Fix Azure e2e tests after new major version with breaking changes by [@​matheuscscp](https://github.com/matheuscscp) in [#​6022](fluxcd/flux2#6022) - fix: restrict `allow-webhooks` netpol to receiver port by [@​stefanprodan](https://github.com/stefanprodan) in [#​6028](fluxcd/flux2#6028) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​6030](fluxcd/flux2#6030) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​6050](fluxcd/flux2#6050) - build(deps): bump the ci group across 1 directory with 19 updates by [@​dependabot](https://github.com/dependabot)\[bot] in [#​6052](fluxcd/flux2#6052) - Format reproducible created timestamp in UTC by [@​lexfrei](https://github.com/lexfrei) in [#​6074](fluxcd/flux2#6074) - Update to Kubernetes 1.37 by [@​stefanprodan](https://github.com/stefanprodan) in [#​6082](fluxcd/flux2#6082) - Run conformance tests for Kubernetes 1.37 by [@​stefanprodan](https://github.com/stefanprodan) in [#​6083](fluxcd/flux2#6083) - Remove the Cosign v2.6.1 pin by [@​matheuscscp](https://github.com/matheuscscp) in [#​6084](fluxcd/flux2#6084) - Add `--app-client-id` flag to `create secret githubapp` by [@​Erik-Schuetze](https://github.com/Erik-Schuetze) in [#​6090](fluxcd/flux2#6090) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​6096](fluxcd/flux2#6096) - Match plugin archive entries with a leading ./ by [@​Saadanjum0](https://github.com/Saadanjum0) in [#​6099](fluxcd/flux2#6099) - Stop diff processing after an error by [@​idelchi](https://github.com/idelchi) in [#​6070](fluxcd/flux2#6070) - Respect pruning exclusions in kustomization diff by [@​idelchi](https://github.com/idelchi) in [#​6073](fluxcd/flux2#6073) - Introduce RBAC for ArtifactGenerator cross-namespace artifacts by [@​matheuscscp](https://github.com/matheuscscp) in [#​6101](fluxcd/flux2#6101) - \[RFC-0014] Advanced Support for Short-Lived Cryptographic Material by [@​matheuscscp](https://github.com/matheuscscp) in [#​5702](fluxcd/flux2#5702) - Validate plugin manifest name by [@​Arawoof06](https://github.com/Arawoof06) in [#​6104](fluxcd/flux2#6104) - ci: disable Replicated conformance tests by [@​stefanprodan](https://github.com/stefanprodan) in [#​6111](fluxcd/flux2#6111) - \[RFC-0014] RFC refinements by [@​matheuscscp](https://github.com/matheuscscp) in [#​6105](fluxcd/flux2#6105) - \[RFC-0014] Annotations for AWS STS Endpoint and Docker Hub OIDC Connection by [@​matheuscscp](https://github.com/matheuscscp) in [#​6114](fluxcd/flux2#6114) - Update to Kubernetes 1.37.1 and Go 1.27 by [@​stefanprodan](https://github.com/stefanprodan) in [#​6117](fluxcd/flux2#6117) - build(deps): bump the ci group across 1 directory with 15 updates by [@​dependabot](https://github.com/dependabot)\[bot] in [#​6118](fluxcd/flux2#6118) - \[RFC-0014] Add rules for missing corner cases by [@​matheuscscp](https://github.com/matheuscscp) in [#​6121](fluxcd/flux2#6121) - \[RFC-0014] Address final nits arising from apis/crypto implementation by [@​matheuscscp](https://github.com/matheuscscp) in [#​6122](fluxcd/flux2#6122) - \[RFC-0014] Final iterations for 2.10 by [@​matheuscscp](https://github.com/matheuscscp) in [#​6125](fluxcd/flux2#6125) - Revert "Introduce RBAC for ArtifactGenerator cross-namespace artifacts" by [@​matheuscscp](https://github.com/matheuscscp) in [#​6129](fluxcd/flux2#6129) - Allow controllers to perform SubjectAccessReview by [@​matheuscscp](https://github.com/matheuscscp) in [#​6132](fluxcd/flux2#6132) - Accept TYPE/NAME resource args in get/reconcile by [@​souvik-biswas-dev](https://github.com/souvik-biswas-dev) in [#​6134](fluxcd/flux2#6134) - Add digests flag to plugin search, which displays SHA values for all os/arch per binary by [@​datosh](https://github.com/datosh) in [#​6016](fluxcd/flux2#6016) - Extend kubectl-style resource args to all Flux kinds and commands by [@​stefanprodan](https://github.com/stefanprodan) in [#​6135](fluxcd/flux2#6135) - Escape terminal control characters in CLI output by [@​Arawoof06](https://github.com/Arawoof06) in [#​6110](fluxcd/flux2#6110) - Add suspend, resume and reconcile commands for ArtifactGenerator by [@​xchose](https://github.com/xchose) in [#​6119](fluxcd/flux2#6119) - \[RFC-0014] Address review findings by [@​matheuscscp](https://github.com/matheuscscp) in [#​6136](fluxcd/flux2#6136) - \[RFC-0014] Inter-controller mTLS via SPIFFE by [@​matheuscscp](https://github.com/matheuscscp) in [#​6127](fluxcd/flux2#6127) - Fix proxy bypass in bootstrap --ca-file by [@​ljluestc](https://github.com/ljluestc) in [#​6038](fluxcd/flux2#6038) - use restrictive file modes for generated manifests by [@​Arawoof06](https://github.com/Arawoof06) in [#​6113](fluxcd/flux2#6113) - fix(goreleaser): make Homebrew formula pass brew audit by [@​trademomentumllc](https://github.com/trademomentumllc) in [#​5973](fluxcd/flux2#5973) - Fix envsubst dropping input on long lines by [@​stefanprodan](https://github.com/stefanprodan) in [#​6138](fluxcd/flux2#6138) - fix: return clear error when --private-key-file path starts with '\~' by [@​rafaelperoco](https://github.com/rafaelperoco) in [#​5859](fluxcd/flux2#5859) - Fix stale flags and commands in CLI examples by [@​rawsun007](https://github.com/rawsun007) in [#​6123](fluxcd/flux2#6123) - Fix typos in user-facing CLI messages and comments by [@​MsfPablo](https://github.com/MsfPablo) in [#​6051](fluxcd/flux2#6051) - Remove unused fields from installFlags by [@​Pranav-error](https://github.com/Pranav-error) in [#​6061](fluxcd/flux2#6061) -⚠️ Breaking change: Harden RBAC for controllers by [@​matheuscscp](https://github.com/matheuscscp) in [#​6139](fluxcd/flux2#6139) - Fix `--in-memory-build` restricting disk access by [@​rycli](https://github.com/rycli) in [#​5974](fluxcd/flux2#5974) - Update dependencies for Flux 2.10 by [@​stefanprodan](https://github.com/stefanprodan) in [#​6140](fluxcd/flux2#6140) - \[RFC-0014] Add 2.10 notes to RFC by [@​matheuscscp](https://github.com/matheuscscp) in [#​6145](fluxcd/flux2#6145) - fix(create): reject conflicting image policy selectors for every flag pair by [@​NUAAwqy](https://github.com/NUAAwqy) in [#​6144](fluxcd/flux2#6144) - ci: Update GitHub Actions by [@​stefanprodan](https://github.com/stefanprodan) in [#​6147](fluxcd/flux2#6147) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​6148](fluxcd/flux2#6148) - Add `--policy-change-delay` to create image update by [@​stefanprodan](https://github.com/stefanprodan) in [#​6146](fluxcd/flux2#6146) - \[RFC-0014] Remove temporary workarounds for mTLS e2e by [@​matheuscscp](https://github.com/matheuscscp) in [#​6137](fluxcd/flux2#6137) - \[RFC-0014] Add HTTPS port to controller Services by [@​stefanprodan](https://github.com/stefanprodan) in [#​6149](fluxcd/flux2#6149) - \[RFC-0014] Include SPIFFE mTLS in the e2e workflow by [@​stefanprodan](https://github.com/stefanprodan) in [#​6150](fluxcd/flux2#6150) - ci: fix goreleaser signing with cosign v3 by [@​stefanprodan](https://github.com/stefanprodan) in [#​6151](fluxcd/flux2#6151) - Remove unsupported fields in migrate -f by [@​stefanprodan](https://github.com/stefanprodan) in [#​6152](fluxcd/flux2#6152) - Bump minimum Kubernetes version to 1.35 by [@​stefanprodan](https://github.com/stefanprodan) in [#​6153](fluxcd/flux2#6153) - Update toolkit components by [@​fluxcdbot](https://github.com/fluxcdbot) in [#​6154](fluxcd/flux2#6154) - Use podinfo in the SPIFFE mTLS e2e test by [@​stefanprodan](https://github.com/stefanprodan) in [#​6156](fluxcd/flux2#6156) #### New Contributors - [@​ivonaest](https://github.com/ivonaest) made their first contribution in [#​5961](fluxcd/flux2#5961) - [@​ruslan-shaydullin](https://github.com/ruslan-shaydullin) made their first contribution in [#​5885](fluxcd/flux2#5885) - [@​sergelogvinov](https://github.com/sergelogvinov) made their first contribution in [#​5995](fluxcd/flux2#5995) - [@​mridulagithub](https://github.com/mridulagithub) made their first contribution in [#​6002](fluxcd/flux2#6002) - [@​somaz94](https://github.com/somaz94) made their first contribution in [#​5975](fluxcd/flux2#5975) - [@​lexfrei](https://github.com/lexfrei) made their first contribution in [#​6074](fluxcd/flux2#6074) - [@​Erik-Schuetze](https://github.com/Erik-Schuetze) made their first contribution in [#​6090](fluxcd/flux2#6090) - [@​Saadanjum0](https://github.com/Saadanjum0) made their first contribution in [#​6099](fluxcd/flux2#6099) - [@​idelchi](https://github.com/idelchi) made their first contribution in [#​6070](fluxcd/flux2#6070) - [@​Arawoof06](https://github.com/Arawoof06) made their first contribution in [#​6104](fluxcd/flux2#6104) - [@​souvik-biswas-dev](https://github.com/souvik-biswas-dev) made their first contribution in [#​6134](fluxcd/flux2#6134) - [@​datosh](https://github.com/datosh) made their first contribution in [#​6016](fluxcd/flux2#6016) - [@​xchose](https://github.com/xchose) made their first contribution in [#​6119](fluxcd/flux2#6119) - [@​ljluestc](https://github.com/ljluestc) made their first contribution in [#​6038](fluxcd/flux2#6038) - [@​trademomentumllc](https://github.com/trademomentumllc) made their first contribution in [#​5973](fluxcd/flux2#5973) - [@​rawsun007](https://github.com/rawsun007) made their first contribution in [#​6123](fluxcd/flux2#6123) - [@​MsfPablo](https://github.com/MsfPablo) made their first contribution in [#​6051](fluxcd/flux2#6051) - [@​Pranav-error](https://github.com/Pranav-error) made their first contribution in [#​6061](fluxcd/flux2#6061) - [@​NUAAwqy](https://github.com/NUAAwqy) made their first contribution in [#​6144](fluxcd/flux2#6144) **Full Changelog**: <fluxcd/flux2@v2.9.6...v2.10.0> </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/London) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xODEuNyIsInVwZGF0ZWRJblZlciI6IjQ0LjE4MS43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL21pbm9yIl19--> Reviewed-on: https://git.hayden.moe/hayden/phoebe/pulls/1013
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of: #6130
flux getandflux reconcilenow accept kubectl-styleTYPE/NAMEresource arguments, so commands copied fromkubectlhistory work as-is. For example,flux get hr/podinfoandflux reconcile helmreleases.helm.toolkit.fluxcd.io/podinfonow behave the same asflux get helmrelease podinfoandflux reconcile helmrelease podinfo.How: the arguments are rewritten to the existing "TYPE NAME" form before cobra dispatches, so sub-command flags and behavior are unchanged. An optional API version and group are checked against the registered Flux types. Arguments that don't match are left as they are.
Scope: get and reconcile for runnable resource types; nested groups like "source git" aren't covered yet.
Tests: unit tests for the parsing and envtest tests comparing the new forms to the existing ones.