ModuleSource
Scope: Cluster
Version: v1alpha1
Defines the configuration of a source of Deckhouse modules.
Example:
apiVersion: deckhouse.io/v1alpha1
kind: ModuleSource
metadata:
name: example
spec:
registry:
repo: registry.example.io/modules-source
dockerCfg: "<base64 encoded credentials>"
- spec
Required value
- spec.registry
Required value
- spec.registry.ca
Root CA certificate (PEM format) to validate the registry’s HTTPS certificate (if self-signed certificates are used).
Creating a ModuleSource resource with the CA certificate spec will cause the container to restart on all nodes.
- spec.registry.dockerCfg
Container registry access token in Base64. If using anonymous access to the container registry, do not fill in this field.
- spec.registry.repo
Required value
URL of the container registry.
Example:
repo: registry.example.io/deckhouse/modules
- spec.registry.scheme
Protocol to access the registry.
Default:
"HTTPS"
Allowed values:
HTTP
,HTTPS
- spec.releaseChannelDeprecated
Desirable default release channel for modules in the current source.