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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
description: "Provision Hybrid GitOps Runtimes through Helm"
group: installation
redirect_from:
Expand All
@@ -9,13 +9,15 @@ toc: true
Install the Hybrid Runtime for GitOps through a Helm chart.
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).
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).
>Hybrid GitOps installation with Helm is currently in Beta.
## Quick Helm install for Hybrid GitOps Runtime
Install the Hybrid GitOps Runtime via Helm with the default tunnel-based access mode.
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.
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/)
* Your cluster does not have [Argo project CRDs](#argo-project-crds).
**Copy automatically populated values from Codefresh UI**
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.
**Automated validation**
Codefresh automatically validates the `values` file before initiating the installation. If there is a validation failure, Codefresh terminates the installation.
* Validation failures
To get more details on the reasons for the failure, run:
* `{NAMESPACE}` must be replaced with the namespace of the Hybrid GitOps Runtime.
* To disable automated validation, add `--set installer.skipValidation=true` to the install command.
For more details, see [Step 1: (Optional) Validate Helm values file](#step-1-optional-validate-helm-values-file) in this article.
### Copy & run Helm installation command
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"}.
1. Copy therequired values from Step 4 as shown in the example below.
1. Copy thecommand in _Step 4_ and define the values that are not automatically populated.
caption="Copy automatically populated values from UI"
alt="Copycommand withautomatically populated values from UI"
caption="Copycommand withautomatically populated values from UI"
max-width="40%"
%}
**Automated validation**
Codefresh automatically validates the `values` file before initiating the installation. If there is a validation failure, Codefresh terminates the installation.
To get more details on the reasons for the failure, run:
* `{NAMESPACE}` must be replaced with the namespace of the Hybrid GitOps Runtime.
To disable automated validation, add `--set installer.skipValidation=true` to the install command.
For more details, see [Step 1: (Optional) Validate Helm values file](#step-1-optional-validate-helm-values-file) in this article.
### Quick install command
>**IMPORTANT**:
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.
* `<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.
* `<codefresh-account-id>` is mandatory only for _tunnel-based Hybrid GitOps Runtimes_ which is also the default access mode. Automaticallygenerated by Codefresh. Copy it fromtheCodefresh UI.
* `<codefresh-api-key>` is an existing orgeneratedAPI key. If generated,copyitfrom the Codefresh UI.
* `<runtime-name>` is the name of the runtime, either `codefresh` which is the default, or a custom name you define.
* `<namespace>` is the namespace in which to install the Hybrid GitOps runtime, and is either `codefresh` which is the default, or any custom namethatyou define.
* `<codefresh-account-id>` is mandatory only for _tunnel-based Hybrid GitOps Runtimes_ which is also the default access mode. Automaticallypopulated by Codefresh inthecommand.
* `<codefresh-token>` isthe API key, eitheran existingoneorthe newAPI key you generated. When generated, itis automatically populated in the command.
* `<runtime-name>` is the name of the runtime, either `codefresh` which is the default, or a custom namethatyou define.
* `<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.
* `--wait` waits until all the pods are up and running for the deployment.
* `<helm-release-name>` is the name of the Helm release.
* `<namespace>` is the namespace in which to install the Hybrid GitOps runtime, either `codefresh`, or the custom name youdefined.
* `<codefresh-account-id>` is mandatory only for _tunnel-based Hybrid GitOps Runtimes_.
* `<codefresh-api-key>` is thegeneratedAPI key.
* `<runtime-name>` is the name of the runtime, either `codefresh`, orthe custom name youdefined.
* `<namespace>` is the namespace in which to install the Hybrid GitOps runtime,and iseither `codefresh` which is the default, or the custom name youdefine.
* `<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.
* `<codefresh-api-key>` is theAPI key, either an existing one or a newAPI key you generated. When generated, it is automatically populated in the command.
* `<runtime-name>` is the name of the runtime, either `codefresh` which is the default, ora custom namethatyoudefine.
* `<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.
* `gitops-runtime` is the chart name defined by Codefresh.
* `global.runtime.ingress.enabled=true` is mandatory for _ingress-based Hybrid GitOps Runtimes_, and indicates that the runtime is ingress-based.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.