You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/installation/gitops/hybrid-gitops-helm-installation.md
+33-47Lines changed: 33 additions & 47 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: "Hybrid GitOps Runtime installation"
2
+
title: "Hybrid GitOps Helm Runtime installation"
3
3
description: "Provision Hybrid GitOps Runtimes through Helm"
4
4
group: installation
5
5
redirect_from:
@@ -9,13 +9,15 @@ toc: true
9
9
10
10
Install the Hybrid Runtime for GitOps through a Helm chart.
11
11
12
-
If you already have a Codefresh acccount, go for the [quick install](#quick-helm-install-for-hybrid-gitops-runtime). For step-by-step installation from the Codefresh UI, see [Step-by-step Hybrid GitOps Runtime installation walkthrough](#step-by-step-hybrid-gitops-runtime-installation-walkthrough).
12
+
If you already have a Codefresh acccount, go for the [quick install](#quick-helm-install-for-hybrid-gitops-runtime).
13
+
14
+
For step-by-step installation from the Codefresh UI, see [Step-by-step Hybrid GitOps Runtime installation walkthrough](#step-by-step-hybrid-gitops-runtime-installation-walkthrough).
13
15
14
16
>Hybrid GitOps installation with Helm is currently in Beta.
15
17
16
18
## Quick Helm install for Hybrid GitOps Runtime
17
19
18
-
Install the Hybrid GitOps Runtime via Helm with the default tunnel-based access mode.
20
+
Install the Hybrid GitOps Runtime via Helm with the default tunnel-based access mode. You will copy the Helm install command from the UI to get the values that Codefresh automatically retrieves for you such as your account ID and other values.
19
21
20
22
The Codefresh `values.yaml` is located [here](https://github.com/codefresh-io/gitops-runtime-helm/blob/main/charts/gitops-runtime/){:target="\_blank"}.
See [Update Git credentials for GitOps Runtimes]({{site.baseurl}}/docs/installation/gitops/monitor-manage-runtimes/#update-git-credentials-for-gitops-runtimes) and [Shared Configuration Repository]({{site.baseurl}}/docs/installation/gitops/shared-configuration-repo/)
28
30
* Your cluster does not have [Argo project CRDs](#argo-project-crds).
29
31
30
-
**Copy automatically populated values from Codefresh UI**
31
-
For quick installation from a terminal, required values such as Helm release and chart names, as well as the Codefresh account ID for default tunnel-based installation, are automatically generated by Codefresh within the UI. Copy the automatically populated values you need from the UI.
32
+
33
+
**Automated validation**
34
+
Codefresh automatically validates the `values` file before initiating the installation. If there is a validation failure, Codefresh terminates the installation.
35
+
36
+
* Validation failures
37
+
To get more details on the reasons for the failure, run:
* `{NAMESPACE}` must be replaced with the namespace of the Hybrid GitOps Runtime.
41
+
42
+
* To disable automated validation, add `--set installer.skipValidation=true` to the install command.
43
+
44
+
For more details, see [Step 1: (Optional) Validate Helm values file](#step-1-optional-validate-helm-values-file) in this article.
45
+
46
+
### Copy & run Helm installation command
32
47
33
48
1. In the Codefresh UI, go to [Install Hybrid GitOps Runtime](https://g.codefresh.io/2.0/account-settings/runtimes/info/list?drawer=install-codefresh-runtime){:target="\_blank"}.
34
-
1. Copy the required values from Step 4 as shown in the example below.
49
+
1. Copy the command in _Step 4_ and define the values that are not automatically populated.
caption="Copy automatically populated values from UI"
56
+
alt="Copy command with automatically populated values from UI"
57
+
caption="Copy command with automatically populated values from UI"
43
58
max-width="40%"
44
59
%}
45
60
46
-
**Automated validation**
47
-
Codefresh automatically validates the `values` file before initiating the installation. If there is a validation failure, Codefresh terminates the installation.
48
-
To get more details on the reasons for the failure, run:
*`{NAMESPACE}` must be replaced with the namespace of the Hybrid GitOps Runtime.
52
-
53
-
To disable automated validation, add `--set installer.skipValidation=true` to the install command.
54
-
55
-
For more details, see [Step 1: (Optional) Validate Helm values file](#step-1-optional-validate-helm-values-file) in this article.
56
-
57
-
### Quick install command
58
-
59
-
>**IMPORTANT**:
60
-
Before running the installation command in the terminal, make sure to copy the automatically populated values from the UI. See **Copy automatically populated values from Codefresh UI** in the previous section.
*`<helm-release-name>` is the name of the Helm release that you define.
77
-
*`<namespace>` is the namespace in which to install the Hybrid GitOps runtime, and is either `codefresh` which is the default, or any custom name you define.
78
-
*`<codefresh-account-id>` is mandatory only for _tunnel-based Hybrid GitOps Runtimes_ which is also the default access mode. Automatically generated by Codefresh. Copy it from the Codefresh UI.
79
-
*`<codefresh-api-key>` is an existing or generated API key. If generated, copy it from the Codefresh UI.
80
-
*`<runtime-name>` is the name of the runtime, either `codefresh` which is the default, or a custom name you define.
64
+
*`<namespace>` is the namespace in which to install the Hybrid GitOps runtime, and is either `codefresh` which is the default, or any custom name that you define.
65
+
*`<codefresh-account-id>` is mandatory only for _tunnel-based Hybrid GitOps Runtimes_ which is also the default access mode. Automatically populated by Codefresh in the command.
66
+
*`<codefresh-token>` is the API key, either an existing one or the new API key you generated. When generated, it is automatically populated in the command.
67
+
*`<runtime-name>` is the name of the runtime, either `codefresh` which is the default, or a custom name that you define.
81
68
*`<helm-repo-name>` is the name of the repo in which to add the Helm chart, and is either `cf-gitops-runtime` which is the default, or any custom name you define.
82
69
*`--wait` waits until all the pods are up and running for the deployment.
*`<helm-release-name>` is the name of the Helm release.
317
-
* `<namespace>` is the namespace in which to install the Hybrid GitOps runtime, either `codefresh`, or the custom name you defined.
318
-
* `<codefresh-account-id>` is mandatory only for _tunnel-based Hybrid GitOps Runtimes_.
319
-
* `<codefresh-api-key>` is the generated API key.
320
-
* `<runtime-name>` is the name of the runtime, either `codefresh`, or the custom name you defined.
303
+
*`<namespace>` is the namespace in which to install the Hybrid GitOps runtime, and is either `codefresh` which is the default, or the custom name you define.
304
+
*`<codefresh-account-id>` is mandatory only for _tunnel-based Hybrid GitOps Runtimes_ which is the default access mode. Automatically populated by Codefresh in the installation command.
305
+
*`<codefresh-api-key>` is the API key, either an existing one or a new API key you generated. When generated, it is automatically populated in the command.
306
+
*`<runtime-name>` is the name of the runtime, either `codefresh` which is the default, or a custom name that you define.
321
307
*`<helm-repo-name>` is the name of the repo in which to add the Helm chart, and is either `cf-gitops-runtime` which is the default, or any custom name you define.
322
308
*`gitops-runtime` is the chart name defined by Codefresh.
323
309
*`global.runtime.ingress.enabled=true` is mandatory for _ingress-based Hybrid GitOps Runtimes_, and indicates that the runtime is ingress-based.
0 commit comments