@@ -173,6 +173,30 @@ helm install [RELEASE_NAME] oci://ghcr.io/chainloop-dev/charts/chainloop \
173173 --set controlplane.auth.oidc.clientSecret=[clientSecret]
174174```
175175
176+ ## AirGap and Relocation Support
177+
178+ This chart is compatible with relocation processes performed by the [ Helm Relocation Plugin] ( https://github.com/vmware-labs/distribution-tooling-for-helm )
179+
180+ This is a two-step process (wrap -> unwrap)
181+
182+ - Pull all the container images and Helm chart and wrap them in an intermediate tarball.
183+ - Unwrap the tarball and push container images, update the Helm Chart with new image references and push it to the target registry.
184+
185+ For example: to relocate to an Azure Container Registry
186+
187+ ``` sh
188+ helm dt wrap oci://ghcr.io/chainloop-dev/charts/chainloop
189+ # 🎉 Helm chart wrapped into "chainloop-1.77.0.wrap.tgz"
190+
191+ # Now you can take the tarball to an air-gapped environment and unwrap it like this
192+ helm dt unwrap chainloop-1.77.0.wrap.tgz oci://chainloop.azurecr.io --yes
193+ # Unwrapping Helm chart "chainloop-1.77.0.wrap.tgz"
194+ # ✔ All images pushed successfully
195+ # ✔ Helm chart successfully pushed
196+ #
197+ # 🎉 Helm chart unwrapped successfully: You can use it now by running "helm install oci://chainloop.azurecr.io/chart/chainloop --generate-name"
198+ ```
199+
176200## How to guides
177201
178202### CAS upload speeds are slow, what can I do?
@@ -454,6 +478,13 @@ chainloop config save \
454478
455479# # Parameters
456480
481+ # ## Global parameters
482+
483+ | Name | Description | Value |
484+ | ------------------------- | ----------------------------------------------- | ----- |
485+ | `global.imageRegistry` | Global Docker image registry | `""` |
486+ | `global.imagePullSecrets` | Global Docker registry secret names as an array | `[]` |
487+
457488# ## Common parameters
458489
459490| Name | Description | Value |
@@ -489,18 +520,21 @@ chainloop config save \
489520
490521# ## Control Plane
491522
492- | Name | Description | Value |
493- | ---------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------- |
494- | `controlplane.replicaCount` | Number of replicas | `2` |
495- | `controlplane.image.repository` | FQDN uri for the image | `ghcr.io/chainloop-dev/chainloop/control-plane` |
496- | `controlplane.image.tag` | Image tag (immutable tags are recommended). If no set chart.appVersion will be used | |
497- | `controlplane.tlsConfig.secret.name` | name of a secret containing TLS certificate to be used by the controlplane grpc server. | `""` |
498- | `controlplane.pluginsDir` | Directory where to look for plugins | `/plugins` |
499- | `controlplane.referrerSharedIndex` | Configure the shared, public index API endpoint that can be used to discover metadata referrers | |
500- | `controlplane.referrerSharedIndex.enabled` | Enable index API endpoint | `false` |
501- | `controlplane.referrerSharedIndex.allowedOrgs` | List of UUIDs of organizations that are allowed to publish to the shared index | `[]` |
502- | `controlplane.onboarding.name` | Name of the organization to onboard | |
503- | `controlplane.onboarding.role` | Role of the organization to onboard | |
523+ | Name | Description | Value |
524+ | ---------------------------------------------- | ----------------------------------------------------------------------------------------------- | -------------------------------------------------- |
525+ | `controlplane.replicaCount` | Number of replicas | `2` |
526+ | `controlplane.image.registry` | Image registry | `ghcr.io` |
527+ | `controlplane.image.repository` | Image repository | `chainloop-dev/chainloop/control-plane` |
528+ | `controlplane.tlsConfig.secret.name` | name of a secret containing TLS certificate to be used by the controlplane grpc server. | `""` |
529+ | `controlplane.pluginsDir` | Directory where to look for plugins | `/plugins` |
530+ | `controlplane.referrerSharedIndex` | Configure the shared, public index API endpoint that can be used to discover metadata referrers | |
531+ | `controlplane.referrerSharedIndex.enabled` | Enable index API endpoint | `false` |
532+ | `controlplane.referrerSharedIndex.allowedOrgs` | List of UUIDs of organizations that are allowed to publish to the shared index | `[]` |
533+ | `controlplane.onboarding.name` | Name of the organization to onboard | |
534+ | `controlplane.onboarding.role` | Role of the organization to onboard | |
535+ | `controlplane.migration.image.registry` | Image registry | `ghcr.io` |
536+ | `controlplane.migration.image.repository` | Image repository | `chainloop-dev/chainloop/control-plane-migrations` |
537+ | `controlplane.migration.ssl` | Connect to the database using SSL (required fro AWS RDS, etc) | `false` |
504538
505539# ## Control Plane Database
506540
@@ -606,12 +640,12 @@ chainloop config save \
606640
607641# ## Artifact Content Addressable (CAS) API
608642
609- | Name | Description | Value |
610- | --------------------------- | --------------------------------------------------------------------------------------- | ---------------------------------------------- |
611- | `cas.replicaCount` | Number of replicas | `2` |
612- | `cas.image.repository ` | FQDN uri for the image | `ghcr.io/chainloop-dev/chainloop/artifact-cas` |
613- | `cas.image.tag ` | Image tag (immutable tags are recommended). If no set chart.appVersion will be used | |
614- | `cas.tlsConfig.secret.name` | name of a secret containing TLS certificate to be used by the controlplane grpc server. | `""` |
643+ | Name | Description | Value |
644+ | --------------------------- | --------------------------------------------------------------------------------------- | -------------------------------------- |
645+ | `cas.replicaCount` | Number of replicas | `2` |
646+ | `cas.image.registry ` | Image registry | `ghcr.io` |
647+ | `cas.image.repository ` | Image repository | `chainloop-dev/chainloop/artifact-cas` |
648+ | `cas.tlsConfig.secret.name` | name of a secret containing TLS certificate to be used by the controlplane grpc server. | `""` |
615649
616650# ## CAS Networking
617651
0 commit comments