This issue tracks the implementation of [RFC-0012](https://github.com/fluxcd/flux2/blob/main/rfcs/0012-external-artifact/README.md). API Tasks: - [x] [Extract the `Artifact` type from source-controller to `github.com/fluxcd/pkg/apis/meta` package](https://github.com/fluxcd/pkg/pull/1018) - [x] Refactor source-controller to use the `Artifact` type from the meta package - [x] Add the `ExternalArtifact` API to the source-controller API package - [x] Add documentation for `ExternalArtifact` to source-controller API docs - [x] Add the `ExternalArtifact` API as a supported `sourceRef` in kustomize-controller including watchers - [x] Add the `ExternalArtifact` feature gate to kustomize-controller - [x] Add the `ExternalArtifact` as a supported `chartRef` in helm-controller including watchers - [x] Add the `ExternalArtifact` feature gate to helm-controller - [x] Add documentation for the feature gate and supported sources in kustomize-controller and helm-controller SDK Tasks: - [x] [Extract the source-controller storage component to a dedicated package](https://github.com/fluxcd/source-controller/pull/1864) - [x] Refactor source-controller to use the `github.com/fluxcd/pkg/artifact` package - [x] Define the public interfaces for the SDK - [x] Implement the server, client and storage components - [ ] Add development guide for the SDK to the GitOps Toolkit documentation Artifact Generators Tasks: - [x] [Implement artifact generators in source-watcher controller using the ExternalArtifact API and SDK](https://github.com/fluxcd/source-watcher/pull/255) - [x] Develop conformance testing for ExternalArtifact generators and consumers CLI Tasks: - [x] Add support for ExternalArtifact source type to the following commands: - `flux trace` (display `ExternalArtifact.spec.sourceRef`) - `flux reconcile ks/hr --with-source` (skip external artifact annotation) - [x] Add command `flux get source external` - [x] Add command `flux export source external`
This issue tracks the implementation of RFC-0012.
API Tasks:
Artifacttype from source-controller togithub.com/fluxcd/pkg/apis/metapackageArtifacttype from the meta packageExternalArtifactAPI to the source-controller API packageExternalArtifactto source-controller API docsExternalArtifactAPI as a supportedsourceRefin kustomize-controller including watchersExternalArtifactfeature gate to kustomize-controllerExternalArtifactas a supportedchartRefin helm-controller including watchersExternalArtifactfeature gate to helm-controllerSDK Tasks:
github.com/fluxcd/pkg/artifactpackageArtifact Generators Tasks:
CLI Tasks:
flux trace(displayExternalArtifact.spec.sourceRef)flux reconcile ks/hr --with-source(skip external artifact annotation)flux get source externalflux export source external