Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
flux2
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
fluxcd
flux2
Commits
143609b9
Unverified
Commit
143609b9
authored
2 years ago
by
Stefan Prodan
Browse files
Options
Downloads
Patches
Plain Diff
Add specification for `spec.url`
Signed-off-by:
Stefan Prodan
<
stefan.prodan@gmail.com
>
parent
a22438b7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
rfcs/kubernetes-oci/README.md
+5
-1
5 additions, 1 deletion
rfcs/kubernetes-oci/README.md
with
5 additions
and
1 deletion
rfcs/kubernetes-oci/README.md
+
5
−
1
View file @
143609b9
...
...
@@ -51,7 +51,7 @@ flux push artifact docker.io/org/app-config:v1.0.0 \
--revision
=
"
$(
git branch
--show-current
)
/
$(
git rev-parse HEAD
)
"
```
The Flux CLI wi
th
produce artifacts of type
`
"
application/vnd.docker.distribution.manifest.v2+json`
The Flux CLI wi
ll
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.
The directory pointed to by
`--path`
is archived and compressed in the
`tar+gzip`
format
...
...
@@ -100,6 +100,10 @@ spec:
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:
```
yaml
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment