|
1 |
| -# gitops-runtime |
| 1 | +## Codefresh gitops runtime |
| 2 | +  |
2 | 3 |
|
3 |
| -  |
| 4 | +## Codefresh official documentation: |
| 5 | +Prior to running the installation please see the official documentation at: https://codefresh.io/docs/docs/installation/gitops/hybrid-gitops-helm-installation/ |
4 | 6 |
|
5 |
| -A Helm chart for Codefresh gitops runtime |
| 7 | +## Using with private registries - Helper utility |
| 8 | +The GitOps Runtime comprises multiple subcharts and container images. Subcharts also vary in values structure, making it difficult to override image specific values to use private registries. |
| 9 | +We have created a helper utility to resolve this issue: |
| 10 | +- The utility create values files in the correct structure, overriding the registry for each image. When installing the chart, you can then provide those values files to override all images. |
| 11 | +- The utility also creates other files with data to help you identify and correctly mirror all the images. |
6 | 12 |
|
7 |
| -**Homepage:** <https://github.com/codefresh-io/gitops-runtime-helm> |
| 13 | +#### Usage |
8 | 14 |
|
9 |
| -## Maintainers |
| 15 | +The utility is packaged in a container image. Below are instructions on executing the utility using Docker: |
10 | 16 |
|
11 |
| -| Name | Email | Url | |
12 |
| -| ---- | ------ | --- | |
13 |
| -| codefresh | | <https://codefresh-io.github.io/> | |
| 17 | +``` |
| 18 | +docker run -v <output_dir>:/output quay.io/codefresh/gitops-runtime-private-registry-utils:0.2.7-alpha <local_registry> |
| 19 | +``` |
| 20 | +`output_dir` - is a local directory where the utility will output files. <br> |
| 21 | +`local_registry` - is your local registry where you want to mirror the images to |
14 | 22 |
|
15 |
| -## Requirements |
16 |
| - |
17 |
| -| Repository | Name | Version | |
18 |
| -|------------|------|---------| |
19 |
| -| https://bitnami-labs.github.io/sealed-secrets/ | sealed-secrets | 2.7.3 | |
20 |
| -| https://chartmuseum.codefresh.io/codefresh-tunnel-client | tunnel-client(codefresh-tunnel-client) | 0.1.12 | |
21 |
| -| https://codefresh-io.github.io/argo-helm | argo-cd | 5.29.2-cap-CR-18430 | |
22 |
| -| https://codefresh-io.github.io/argo-helm | argo-events | 2.0.5-1-cf-init | |
23 |
| -| https://codefresh-io.github.io/argo-helm | argo-rollouts | 2.22.1-1-cap-sw | |
24 |
| -| https://codefresh-io.github.io/argo-helm | argo-workflows | 0.22.9-1-CR-17426 | |
| 23 | +The utility will output 4 files into the folder: |
| 24 | +1. `image-list.txt` - is the list of all images used in this version of the chart. Those are the images that you need to mirror. |
| 25 | +2. `image-mirror.csv` - is a csv file with 2 fields - source_image and target_image. source_image is the image with the original registry and target_image is the image with the private registry. Can be used as an input file for a mirroring script. |
| 26 | +3. `values-images-no-tags.yaml` - a values file with all image values with the private registry **excluding tags**. If provided through --values to helm install/upgrade command - it will override all images to use the private registry. |
| 27 | +4. `values-images-with-tags.yaml` - The same as 3 but with tags **included**. |
25 | 28 |
|
26 | 29 | ## Values
|
27 | 30 |
|
@@ -184,6 +187,3 @@ A Helm chart for Codefresh gitops runtime
|
184 | 187 | | tunnel-client | object | `{"enabled":true,"libraryMode":true,"tunnelServer":{"host":"register-tunnels.cf-cd.com","subdomainHost":"tunnels.cf-cd.com"}}` | Tunnel based runtime. Not supported for on-prem platform. In on-prem use ingress based runtimes. |
|
185 | 188 | | tunnel-client.enabled | bool | `true` | Will only be used if global.runtime.ingress.enabled = false |
|
186 | 189 | | tunnel-client.libraryMode | bool | `true` | Do not change this value! Breaks chart logic |
|
187 |
| - |
188 |
| ----------------------------------------------- |
189 |
| -Autogenerated from chart metadata using [helm-docs v1.9.1](https://github.com/norwoodj/helm-docs/releases/v1.9.1) |
0 commit comments