kustomize-controller icon indicating copy to clipboard operation
kustomize-controller copied to clipboard

Provid Support for Alterative SourceRef's

Open rawkode opened this issue 2 years ago • 1 comments

I have a controller running that can monitor the source-controller types (Git, OCI, Bucket) for revisions and allowed for third-party transformations (cdk8s, CUE, Dhall, jsonnet).

My plan was to feed this back to FluxCD and allow the kustomize-controller to apply, but unfortunately that isn't possible because of the Kind checks.

I'd like to propose that FluxCD supports external / alternative sources provided they have .status.Artifact that can be deserialised.

rawkode avatar Aug 21 '23 21:08 rawkode

There are several ideas around how to support source files other than Kubernetes yaml. We have been internally discussing different avenues on how to enable this, such as introducing a new Artifact API or simply using duck typing to fetch an arbitrary resource that promises to have a .status.artifact. We want to publish an RFC soon, so that we can start work on this.

aryan9600 avatar Aug 22 '23 06:08 aryan9600

This is covered by: https://github.com/fluxcd/flux2/pull/5292

stefanprodan avatar Sep 02 '25 16:09 stefanprodan