Commit Graph

15 Commits

Author SHA1 Message Date
Edu Gómez Escandell
f3d0060353
Update DataVolume doc references from the 'pvc' API to the 'storage' API (#3244)
* Docs: Replace instances of pvc with storage

All instances of DataVolume > Spec > PVC have been replaced with storage,
except for two cases in datavolumes.md:
- Data Volumes>Target Storage/PVC>PVC
    https://github.com/kubevirt/containerized-data-importer/blob/338bafe/doc/datavolumes.md#pvc
- Data Volumes>Source>PVC source
    https://github.com/kubevirt/containerized-data-importer/blob/338bafe/doc/datavolumes.md#pvc-source

Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>

* Docs: Replace `Storage` with `storage` in doc/datavolumes.md

I also reworded it so that the paragraph does not start in lower-case.

Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>

* Docs: Remove optional default 'accessModes: ReadWriteOnce' from docs

Removed from storage options, I still kept it for the pvc.

Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>

* Docs: Remove resources/requests/storage when cloning a PVC

This argument is optional. Only removed for 'storage', not 'pvc'.

Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>

* Replace 'pvc' with 'storage' API in manifests

Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>

* Docs: Moved 'Target Storage/PVC' section above 'Source'

Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>

* Docs: Rephrase the Storage target section to emphasize it over PVC

Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>

* Fix empty field in YAML file

Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>

* Rephrase prose around filesystem volume mode

Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>

* Fix grammar and spelling

Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>

* Write acces mode in upgrade-testing-artifacts manifest

Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>

* Update doc/datavolumes.md

Co-authored-by: Alexander Wels <awels@redhat.com>
Signed-off-by: Edu Gómez Escandell <edu1997xyz@gmail.com>

---------

Signed-off-by: Edu Gómez Escandell <egomez@redhat.com>
Signed-off-by: Edu Gómez Escandell <edu1997xyz@gmail.com>
Co-authored-by: Alexander Wels <awels@redhat.com>
2024-06-07 19:02:12 +02:00
Felix Matouschek
e262fb1d8d
docs: Add docs for containerdisk labels (#3153)
Add docs which explain how PVCs of imported containerdisks can be
decorated with additional labels.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-03-27 07:33:35 +01:00
Ivan Mikheykin
5f90a7c8b5
fix(docs): registry datasource expect CA certs with .crt (#2987)
Registry source requires .crt suffix for CA certificates. It is a feature of the library "github.com/containers/image":
See 536af6b1ad/vendor/github.com/containers/image/v5/pkg/tlsclientconfig/tlsclientconfig.go (L36)

Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
2023-11-16 19:23:28 +01:00
Maya Rashish
a2fd370a0d
Update external links. (#1946)
* Update doc links.

Signed-off-by: Maya Rashish <mrashish@redhat.com>

* Remove reference for travis-ci, no longer used

Signed-off-by: Maya Rashish <mrashish@redhat.com>

* Follow links and update links

Signed-off-by: Maya Rashish <mrashish@redhat.com>
2021-09-22 14:16:30 +02:00
Arnon Gilboa
addf25b4f9
Support registry import using node docker cache (#1913)
* Support registry import using node docker cache

The new CRI (container runtime interface) importer pod is created with three containers and a shared emptyDir volume:
-Init container: copies static http server binary to empty dir
-Server container: container image container configured to run the http binary and serve up the image file in /data
-Client container: import.sh uses cdi-import to import from server container, and writes "done" file on emptydir
-Server container sees "done" file and exits

Thanks mhenriks for the PoC!

Done:
-added ImportMethod to DataVolumeSourceRegistry (DataVolume.Spec.Source.Registry, DataImportCron.Spec.Source.Registry).
Import method can be "skopeo" (default), or "cri" for container runtime interface based import
-added cdi-containerimage-server & import.sh to the cdi-importer container

ToDo:
-utests and func tests
-doc

Signed-off-by: Arnon Gilboa <agilboa@redhat.com>

* Add tests, fix CR comments

Signed-off-by: Arnon Gilboa <agilboa@redhat.com>

* CR fixes

Signed-off-by: Arnon Gilboa <agilboa@redhat.com>

* Use deployment docker prefix and tag in func tests

Signed-off-by: Arnon Gilboa <agilboa@redhat.com>

* Add OpenShift ImageStreams import support

Signed-off-by: Arnon Gilboa <agilboa@redhat.com>

* Add importer pod lookup annotation for image streams

Signed-off-by: Arnon Gilboa <agilboa@redhat.com>

* Add pullMethod and imageStream doc

Signed-off-by: Arnon Gilboa <agilboa@redhat.com>
2021-09-20 22:05:36 +02:00
Arnon Gilboa
3c192b42b5
Add insecureRegistries to CDIConfig; keep supporting ConfigMap for upgrade (#1754)
Signed-off-by: Arnon Gilboa <agilboa@redhat.com>
2021-04-22 04:21:05 +02:00
Michael Henriksen
9e2c79b1e0
move api groups to v1beta1 (#1232)
* move upload.cdi.kubevirt.io API group to v1beta1

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

* move core api to v1beta1

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

* fix os-3.11 cluster sync and add functional tests for alpha api

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

* change more occurences of v1alpha1

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

* updates after rebase

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
2020-07-10 15:47:38 +02:00
Michael Henriksen
f017dedde8 explicitly state that certConfigMap must be in same namespace as resource (#865) 2019-06-25 08:46:34 -04:00
Michael Henriksen
5740cee5fd fix host:port not allowed in insecure registry configmap 2019-05-29 17:05:55 -04:00
Michael Henriksen
d68afe9abd doc updates 2019-05-29 10:44:43 -04:00
Michael Henriksen
da60bc2003 add documentation on registry security 2019-03-20 11:19:04 -04:00
Alexander Wels
1854618522 Update examples to use data volumes everywhere.
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-02-28 11:22:09 -05:00
annastopel
b9edce9ef0 Import VM disk from ContainerDisk image 2019-02-12 21:11:39 +02:00
Daniel Erez
bf9de5b585 manifests example: import registry image
Change-Id: I3cd19b512ff46e295ae4a093400c5cac9b189652
Signed-off-by: Daniel Erez <derez@redhat.com>
2018-12-19 15:04:18 +02:00
Fred Rolland
01a0c8b0b6 Add doc how to build a registry image with VM disk 2018-12-18 16:13:29 +02:00