Mirantis Container Cloud (MCC) becomes part of Mirantis OpenStack for Kubernetes (MOSK)!
Starting with MOSK 25.2, the MOSK documentation set covers all product layers, including MOSK management (formerly Container Cloud). This means everything you need is in one place. Some legacy names may remain in the code and documentation and will be updated in future releases. The separate Container Cloud documentation site will be retired, so please update your bookmarks for continued easy access to the latest content.
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...