mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-25 09:01:48 +00:00
[RFC-0003] OCI select layer by media type
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
81d2ad8245
commit
16d3180e42
1 changed files with 13 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
**Creation date:** 2022-03-31
|
**Creation date:** 2022-03-31
|
||||||
|
|
||||||
**Last update:** 2022-08-11
|
**Last update:** 2022-08-22
|
||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
|
|
@ -134,6 +134,18 @@ spec:
|
||||||
name: cosign-key
|
name: cosign-key
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Layer selection
|
||||||
|
|
||||||
|
By default, Flux assumes that the first layer of the OCI artifact contains the Kubernetes configuration.
|
||||||
|
For multi-layer artifacts created by other tools than Flux CLI, users can specify the media type of the layer
|
||||||
|
which contains the tarball with Kubernetes manifests.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
spec:
|
||||||
|
layerSelector:
|
||||||
|
mediaType: "application/vnd.cncf.flux.content.v1.tar+gzip"
|
||||||
|
```
|
||||||
|
|
||||||
### Pull artifacts from private repositories
|
### Pull artifacts from private repositories
|
||||||
|
|
||||||
For authentication purposes, Flux users can choose between supplying static credentials with Kubernetes secrets
|
For authentication purposes, Flux users can choose between supplying static credentials with Kubernetes secrets
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue