ves-io-schema-container_registry-API-Get
On This Page:
Examples of getting container_registry
Usecase:
Get example
Request using vesctl:
vesctl configuration get container_registry example --namespace documentation
vesctl yaml response:
metadata:
annotations: {}
labels: {}
name: example
namespace: documentation
referringObjects: []
resourceVersion: "384"
spec:
password:
clearSecretInfo: {}
registry: registry.example.com
status: []
systemMetadata:
creationTimestamp: "2022-05-09T09:44:59.382030070Z"
creatorClass: examplesvc
creatorId: examplesvc
finalizers: []
labels: {}
tenant: acmecorp
uid: 415291a1-e52b-4545-9e29-70419ddbb5c8
Request using curl:
curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build949174848_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/documentation/container_registrys/example?response_format=0'
curl response:
HTTP/1.1 200 OK
Content-Length: 1030
Content-Type: application/json
Date: Mon, 09 May 2022 09:44:59 GMT
Vary: Accept-Encoding
X-Volterra-Response-Fields-Deprecated: object
{
"object": null,
"create_form": null,
"replace_form": null,
"resource_version": "384",
"metadata": {
"name": "example",
"namespace": "documentation",
"labels": {
},
"annotations": {
},
"description": "",
"disable": false
},
"system_metadata": {
"uid": "415291a1-e52b-4545-9e29-70419ddbb5c8",
"creation_timestamp": "2022-05-09T09:44:59.382030070Z",
"deletion_timestamp": null,
"modification_timestamp": null,
"initializers": null,
"finalizers": [
],
"tenant": "acmecorp",
"creator_class": "examplesvc",
"creator_id": "examplesvc",
"object_index": 0,
"owner_view": null,
"labels": {
}
},
"spec": {
"registry": "registry.example.com",
"user_name": "",
"password": {
"clear_secret_info": {
"provider": "",
"url": ""
},
"blindfold_secret_info_internal": null,
"secret_encoding_type": "EncodingNone"
},
"email": ""
},
"status": [
],
"referring_objects": [
]
}