diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index feefd56d..310d7dc0 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -54,6 +54,18 @@ jobs: curl -# -Lf "https://raw.githubusercontent.com/fluxcd/notification-controller/$NOTIFICATION_VER/docs/spec/v1beta1/receiver.md" > docs/components/notification/receiver.md } + { + # image-*-controller CRDs; these use the same API group + IMG_REFL_VER=$(controller_version image-reflector-controller) + curl -# -Lf "https://raw.githubusercontent.com/fluxcd/image-reflector-controller/$IMG_REFL_VER/docs/api/image-reflector.md" > docs/components/image/reflector-api.md + curl -# -Lf "https://raw.githubusercontent.com/fluxcd/image-reflector-controller/$IMG_REFL_VER/docs/spec/v1alpha1/imagerepositories.md" > docs/components/image/imagerepositories.md + curl -# -Lf "https://raw.githubusercontent.com/fluxcd/image-reflector-controller/$IMG_REFL_VER/docs/spec/v1alpha1/imagepolicies.md" > docs/components/image/imagepolicies.md + + IMG_AUTO_VER=$(controller_version image-automation-controller) + curl -# -Lf "https://raw.githubusercontent.com/fluxcd/image-automation-controller/$IMG_AUTO_VER/docs/api/image-automation.md" > docs/components/image/automation-api.md + curl -# -Lf "https://raw.githubusercontent.com/fluxcd/image-automation-controller/$IMG_AUTO_VER/docs/spec/v1alpha1/imageupdateautomations.md" > docs/components/image/imageupdateautomations.md + } + { # install script cp install/flux.sh docs/install.sh diff --git a/docs/components/index.md b/docs/components/index.md index b32efa28..09d08d66 100644 --- a/docs/components/index.md +++ b/docs/components/index.md @@ -24,3 +24,7 @@ A reference for each component and API type is linked below. - [Provider CRD](notification/provider.md) - [Alert CRD](notification/alert.md) - [Receiver CRD](notification/receiver.md) +- [Image automation controllers](image/controller.md) + - [ImageRepository CRD](image/imagerepositories.md) + - [ImagePolicy CRD](image/imagepolicies.md) + - [ImageUpdateAutomation CRD](image/imageupdateautomation.md)