ContainerRegistry resource¶
This section describes the ContainerRegistry custom resource (CR) used in
MOSK to configure CA certificates on machines to access
private Docker registries.
The ContainerRegistry CR contains the following fields:
apiVersionAPI version of the object that is
kaas.mirantis.com/v1alpha1
kindObject type that is
ContainerRegistry
metadataThe
metadataobject field of theContainerRegistryCR contains the following fields:nameName of the container registry
namespaceProject where the container registry is created
specThe
specobject field of theContainerRegistryCR contains the following fields:domainHost name and optional port of the registry
CACertCA certificate of the registry in the base64-encoded format
Caution
Only one ContainerRegistry resource can exist per domain.
To configure multiple CA certificates for the same domain, combine them into
one certificate.
The ContainerRegistry resource example:
apiVersion: kaas.mirantis.com/v1alpha1
kind: ContainerRegistry
metadata:
name: demoregistry
namespace: test
spec:
domain: demohost:5000
CACert: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0...