doc updates

This commit is contained in:
Michael Henriksen 2019-05-29 10:41:20 -04:00
parent eaf6e21fd1
commit d68afe9abd
2 changed files with 4 additions and 4 deletions

View File

@ -112,7 +112,7 @@ kind: DataVolume
spec: spec:
source: source:
registry: registry:
url: "docker://my-private-registry:5000/my-username/my-image" url: "docker://my-private-registry-host:5000/my-username/my-image"
certConfigMap: my-registry-certs certConfigMap: my-registry-certs
... ...
``` ```
@ -124,6 +124,6 @@ To disable TLS security for a registry:
Add the registry to the `cdi-insecure-registries` `ConfigMap` in the `cdi` namespace. Add the registry to the `cdi-insecure-registries` `ConfigMap` in the `cdi` namespace.
```bash ```bash
patch configmap cdi-insecure-registries -n cdi \ kubectl patch configmap cdi-insecure-registries -n cdi \
--type merge -p '{"data":{"my-private-registry:5000": ""}}' --type merge -p '{"data":{"my-private-registry-host": ""}}'
``` ```

View File

@ -89,7 +89,7 @@ kubectl apply -f manifests/example/upload-datavolume.yaml
``` ```
## Request an Upload Token ## Request an Upload Token
Before sending data to the Upload Proxy, and Upload Token must be requested. The CDI API Server validatees that the user has permissions to `post` to `uploadtokenrequest` resources. Before sending data to the Upload Proxy, an Upload Token must be requested.
Take a look at at `manifests/example/upload-token.yaml` for an example. Take a look at at `manifests/example/upload-token.yaml` for an example.
```yaml ```yaml