Add artifact contents to spec

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan 2024-04-28 10:49:25 +03:00
parent d6113982c7
commit ae9f3128e8
No known key found for this signature in database
GPG key ID: 3299AEB0E4085BAF

View file

@ -82,6 +82,14 @@ Artifacts pushed to the registry:
- `<registry-url>/<flux-manifests>:<checksum>` (immutable artifact) - `<registry-url>/<flux-manifests>:<checksum>` (immutable artifact)
- `<registry-url>/<flux-manifests>:<tag>` (tag pointing to the immutable artifact) - `<registry-url>/<flux-manifests>:<tag>` (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: Objects created by the command in the `flux-system` namespace:
- `flux-components` Secret - `flux-components` Secret
- `flux-components` OCIRepository - `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 If the cluster registry is the same as the Flux components registry, the command could reuse the
`flux-components` image pull secret. `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 ### Registry authentication
The `flux bootstrap oci` command supports the following authentication methods: The `flux bootstrap oci` command supports the following authentication methods: