mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-26 17:34:59 +00:00
Add specification for spec.url
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
a22438b7fa
commit
143609b9fb
1 changed files with 5 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ flux push artifact docker.io/org/app-config:v1.0.0 \
|
||||||
--revision="$(git branch --show-current)/$(git rev-parse HEAD)"
|
--revision="$(git branch --show-current)/$(git rev-parse HEAD)"
|
||||||
```
|
```
|
||||||
|
|
||||||
The Flux CLI with produce artifacts of type `"application/vnd.docker.distribution.manifest.v2+json`
|
The Flux CLI will produce artifacts of type `application/vnd.docker.distribution.manifest.v2+json`
|
||||||
which ensures compatibility with container registries that don't support custom OCI media types.
|
which ensures compatibility with container registries that don't support custom OCI media types.
|
||||||
|
|
||||||
The directory pointed to by `--path` is archived and compressed in the `tar+gzip` format
|
The directory pointed to by `--path` is archived and compressed in the `tar+gzip` format
|
||||||
|
|
@ -100,6 +100,10 @@ spec:
|
||||||
tag: v1.0.0
|
tag: v1.0.0
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The `spec.url` field points to the container image repository in the format `<host>:<port>/<org-name>/<repo-name>`.
|
||||||
|
Note that specifying a tag or digest is not in accepted for this field. The `spec.url` value is used by the controller
|
||||||
|
to fetch the list of tags from the remote OCI repository.
|
||||||
|
|
||||||
An `OCIRepository` can refer to an artifact by tag, digest or semver range:
|
An `OCIRepository` can refer to an artifact by tag, digest or semver range:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue