From ae9f3128e88d71964c20716b6bebf988672b6ac8 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Sun, 28 Apr 2024 10:49:25 +0300 Subject: [PATCH] Add artifact contents to spec Signed-off-by: Stefan Prodan --- rfcs/000X-flux-bootstrap-oci/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/rfcs/000X-flux-bootstrap-oci/README.md b/rfcs/000X-flux-bootstrap-oci/README.md index f04cc3ef..7cefbd6a 100644 --- a/rfcs/000X-flux-bootstrap-oci/README.md +++ b/rfcs/000X-flux-bootstrap-oci/README.md @@ -82,6 +82,14 @@ Artifacts pushed to the registry: - `/:` (immutable artifact) - `/:` (tag pointing to the immutable artifact) +The OCI artifact has the following content: + +```shell +./flux-system/ +├── gotk_components.yaml +└── kustomization.yaml +``` + Objects created by the command in the `flux-system` namespace: - `flux-components` Secret - `flux-components` OCIRepository @@ -110,6 +118,13 @@ Objects created by the command in the `flux-system` namespace: If the cluster registry is the same as the Flux components registry, the command could reuse the `flux-components` image pull secret. +If the cluster OCI artifact is not found, the generated one contains the following: + +```shell +./clusters/my-cluster/ # taken from --cluster-path +└── kustomization.yaml # empty overlay with no resources +``` + ### Registry authentication The `flux bootstrap oci` command supports the following authentication methods: