Skip to content

Commit 8f28abc

Browse files
committed
No doc about Storage
Signed-off-by: Philippe Martin <[email protected]>
1 parent 6283507 commit 8f28abc

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

DEVFILE_REGISTRY.md

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -134,31 +134,6 @@ spec:
134134
EOF
135135
```
136136

137-
## Using a Persistent Volume to store OCI images
138-
139-
The Devfile stacks are stored in OCI images served by the OCI registry container. By default, an Ephemeral volume is created and used to store these images.
140-
141-
You can ask the operator to create a Persistent Volume and to mount it into the `oci-registry` container's filesystem, so the OCI images are stored into this persistent volume, by setting the field `spec.storage.enabled` to `true`.
142-
143-
By default, the requested size for the Persistent Volume will be `1Gi`. You can ask to set a specific size with the field `spec.storage.registryVolumeSize`
144-
145-
```bash
146-
$ cat <<EOF | oc apply -f -
147-
apiVersion: registry.devfile.io/v1alpha1
148-
kind: DevfileRegistry
149-
metadata:
150-
name: devfile-registry
151-
spec:
152-
devfileIndex:
153-
image: quay.io/devfile/devfile-index:next
154-
telemetry:
155-
registryName: test
156-
storage:
157-
enabled: true
158-
registryVolumeSize: 2Gi
159-
EOF
160-
```
161-
162137
## Configuring TLS for Ingress/Route resource
163138

164139
The operator creates a Route resource (on OpenShift) or an Ingress resources (on Kubernetes)

0 commit comments

Comments
 (0)