Skip to Content
InstallationAscender Registry

Ascender Registry

Ascender Registry is a private registry for Ansible collections and container images, such as execution environments. The installer deploys it into its own namespace with persistent storage for its database, collection artifacts, and container images.

What the installer deploys

In REGISTRY_NAMESPACE (default ascender-registry):

ResourceNamePurpose
Deploymentascender-registryThe Registry web interface and APIs, on port 8080
Deploymentascender-registry-containersA registry:2 container registry that stores container images, on port 5000 inside the cluster
ConfigMapascender-registry-configApplication settings
Secretascender-registry-secretsSession key, secret key, and initial administrator password
Secretascender-registry-pull-secretDepot image pull secret
PersistentVolumeClaimsascender-registry-data, ascender-registry-artifacts, ascender-registry-container-storageDatabase, collection artifacts, and container images
Ingress or Routeascender-registryExposes the Registry at REGISTRY_HOSTNAME
Secretascender-registry-tlsTLS certificate, when k8s_lb_protocol is https on platforms that terminate TLS in the cluster

Both deployments run one replica with the Recreate strategy, because their volumes are ReadWriteOnce.

Configuration

REGISTRY_INSTALL: true REGISTRY_HOSTNAME: registry.example.com REGISTRY_NAMESPACE: ascender-registry REGISTRY_VERSION: "latest" REGISTRY_CONFIG: DEBUG: "false" URL: "https://{{ REGISTRY_HOSTNAME }}" SESSION_KEY: "" SECRET_KEY: "<64 hexadecimal characters>" DATA_PVC_SIZE: 5 ARTIFACTS_PVC_SIZE: 20 CONTAINER_STORAGE_PVC_SIZE: 50 REGISTRY_TLS_CRT_PATH: "~/ascender.crt" REGISTRY_TLS_KEY_PATH: "~/ascender.key"
VariableDefaultDescription
REGISTRY_INSTALLfalseInstall Ascender Registry
REGISTRY_HOSTNAMEregistry.example.comHost name of the Registry
REGISTRY_NAMESPACEascender-registryKubernetes namespace for the Registry
REGISTRY_VERSIONlatestImage tag of the Registry image
REGISTRY_CONFIG.DEBUG"false"Verbose debug logging
REGISTRY_CONFIG.URLhttps://<REGISTRY_HOSTNAME>Public base URL, used for security headers. HSTS is enabled when it starts with https://
REGISTRY_CONFIG.SESSION_KEYEmptySession encryption key, 64 hexadecimal characters. When empty, the application uses a key stored in its database
REGISTRY_CONFIG.SECRET_KEYCHANGEMEKey that encrypts sensitive data at rest with AES-256. Required: the application does not start while it is empty or CHANGEME
REGISTRY_CONFIG.DATA_PVC_SIZE5Size of the application database volume, in GB
REGISTRY_CONFIG.ARTIFACTS_PVC_SIZE20Size of the collection artifact volume, in GB
REGISTRY_CONFIG.CONTAINER_STORAGE_PVC_SIZE50Size of the container image volume, in GB
REGISTRY_TLS_CRT_PATH~/ascender.crtTLS certificate for the Registry, when k8s_lb_protocol is https
REGISTRY_TLS_KEY_PATH~/ascender.keyTLS private key for the Registry
REGISTRY_PVC_STORAGE_CLASSCluster defaultStorageClass of all three volumes. Applies on OCP
REGISTRY_IMAGEdepot.ciq.com/ascender-pro/ascender-registry-images/ascender-registryImage repository. Change it only to pull from a mirror

REGISTRY_CONFIG is a single setting. If you define it in custom.config.yml, include every key you want to set; keys you leave out fall back to the defaults in this table, not to default.config.yml.

Generate the keys

config_vars.sh generates SECRET_KEY when it is empty or CHANGEME, and asks for both keys in advanced mode (-a). To generate them yourself:

openssl rand -hex 32

Run it once for each key and put the output in REGISTRY_CONFIG.SECRET_KEY and, optionally, REGISTRY_CONFIG.SESSION_KEY.

Keep the secret key

Data that the Registry encrypts, such as repository authentication tokens and passwords for upstream container registries, can only be decrypted with the same SECRET_KEY. Keep the value in custom.config.yml for the life of the installation and back it up with the rest of the file.

Match the URL to the protocol

REGISTRY_CONFIG.URL defaults to https://. If you install with k8s_lb_protocol: http, set it to http://<REGISTRY_HOSTNAME> so that the application does not send HSTS headers that force browsers to HTTPS.

TLS certificate

On platforms where the installer terminates TLS in the cluster, the Registry uses its own certificate variables. config_vars.sh does not copy your certificate paths into them, so if your certificate is not at ~/ascender.crt and ~/ascender.key, set REGISTRY_TLS_CRT_PATH and REGISTRY_TLS_KEY_PATH yourself. The certificate must cover REGISTRY_HOSTNAME.

Storage

The three volumes request 75 GiB by default. Size CONTAINER_STORAGE_PVC_SIZE for the execution environment and other images you plan to host, and ARTIFACTS_PVC_SIZE for the collections you plan to mirror. Set the sizes before the first installation; the installer does not resize existing volumes.

Log in

Open https://<REGISTRY_HOSTNAME> and log in as admin. On the first start, the administrator password is set to ASCENDER_ADMIN_PASSWORD. It is applied only when the Registry database is created, so changing ASCENDER_ADMIN_PASSWORD later has no effect; change the password in the Registry instead. See Getting started.

Activate the license

A valid license is required for the Registry's collection and container APIs to serve clients. Go to Administration > Settings > License and upload the license file from CIQ. See Registry license.

Next steps