mirror of
https://github.com/fluxcd/flux2.git
synced 2025-11-11 17:07:10 +08:00
Put image specs and refs in place
This adds the image controller specs and refs to the workflow that prepares the docs, and links to them in the index. Signed-off-by: Michael Bridgen <michael@weave.works>
This commit is contained in:
committed by
Hidde Beydals
parent
7568f301b8
commit
6a2b53fbf5
12
.github/workflows/docs.yaml
vendored
12
.github/workflows/docs.yaml
vendored
@@ -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
|
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
|
# install script
|
||||||
cp install/flux.sh docs/install.sh
|
cp install/flux.sh docs/install.sh
|
||||||
|
|||||||
@@ -24,3 +24,7 @@ A reference for each component and API type is linked below.
|
|||||||
- [Provider CRD](notification/provider.md)
|
- [Provider CRD](notification/provider.md)
|
||||||
- [Alert CRD](notification/alert.md)
|
- [Alert CRD](notification/alert.md)
|
||||||
- [Receiver CRD](notification/receiver.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)
|
||||||
|
|||||||
Reference in New Issue
Block a user