From 6aa853491c3d032a40875d5919a1a386ac3ada9e Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Tue, 26 Jan 2021 10:40:13 +0100 Subject: [PATCH 1/3] Add image automation to menu Signed-off-by: Hidde Beydals --- mkdocs.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mkdocs.yml b/mkdocs.yml index f5d3cf9c..41e776ef 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -82,6 +82,12 @@ nav: - Alert CRD: components/notification/alert.md - Receiver CRD: components/notification/receiver.md - Notification API Reference: components/notification/api.md + - Image Automation Controllers: + - Overview: components/images/controller.md + - ImageRepository CRD: components/images/imagerepositories.md + - ImagePolicy CRD: docs/components/image/imagepolicies.md + - ImageUpdateAutomation CRD: docs/components/image/imageupdateautomations.md + - Automation API Reference: docs/components/image/automation-api.md - Flux CLI: - Overview: cmd/flux.md - Bootstrap: cmd/flux_bootstrap.md From a83c26a8649e368bf6a2c460ebfaa97336a66cb3 Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Tue, 26 Jan 2021 10:45:11 +0100 Subject: [PATCH 2/3] Provide link to CalVer, build ID, etc. policies Signed-off-by: Hidde Beydals --- docs/guides/image-update.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/guides/image-update.md b/docs/guides/image-update.md index 2be6bae8..df6530c5 100644 --- a/docs/guides/image-update.md +++ b/docs/guides/image-update.md @@ -185,6 +185,10 @@ spec: If you want to include pre-release e.g. `1.0.0-rc.1`, you can define a range like: `^1.x-0` or `>1.0.0-rc <2.0.0-rc`. +!!! hint "Other policy examples" + For policies that make use of CalVer, build IDs or alphabetical sorting, + have a look at [the examples](../components/image/imagepolicies.md#examples). + Commit and push changes to main branch: ```sh From df411cdb8884567922ac9d9bc65745c90fd1a40b Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Tue, 26 Jan 2021 10:48:33 +0100 Subject: [PATCH 3/3] Update alpha warning Signed-off-by: Hidde Beydals --- docs/guides/image-update.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/guides/image-update.md b/docs/guides/image-update.md index df6530c5..a36a80a3 100644 --- a/docs/guides/image-update.md +++ b/docs/guides/image-update.md @@ -11,9 +11,8 @@ For a container image you can configure Flux to: - apply the changes in-cluster and rollout the container image !!! warning "Alpha version" - Note that the image update feature is currently alpha and, it only supports **semver** filters. - In the future we plan to add support for other filtering options. - Please see the [roadmap](../roadmap/index.md) for more details. + Note that the image update feature is currently alpha, + see the [roadmap](../roadmap/index.md) for more details. For production environments, this feature allows you to automatically deploy application patches (CVEs and bug fixes), and keep a record of all deployments in Git history.