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
- codefresh.ingress-host.com ## required,should be identicaltocodefresh.url
- codefresh.ingress-host.com ## required,replace with host usedtoaccess the runtime without `https://`
app-proxy:
config:
cors: https://codefresh-onprem.com ## required,replace with host usedtoaccess runtime
cors: https://codefresh-onprem.com ## required,must be identicaltoplatform URL
```
## Mirroring Helm chart in on-premises/air-gapped environments
_After installing the GitOps On-premises Runtime_ in on-premises or air-gapped environments, you can manage it as an Argo Application to establish GitOps as the single source of truth for the Runtime. You can monitor the health and synchronization statuses of your Runtime components.
To manage the on-premises GitOps Runtime as an Argo Application, you need to:
* **Mirror** the Helm chart to a repository that can be accessed by `app-proxy`
* **Set an environment variable** in the `values` file in `.values.app-proxy` to reference the mirrored Helm repository, as shown in the example below.
If you use private registries, you need to override specific image values for the different subcharts and container images.
We have a utility to help override image values for GitOps Runtimes. The utility creates values files that match the structure of the subcharts, allowing you to easily replace image registries. During chart installation, you can provide these values files to override the images, as needed.
For more details, see [ArtifactHub](https://artifacthub.io/packages/helm/codefresh-gitops-runtime/gitops-runtime#using-with-private-registries---helper-utility){:target="\_blank"}.
## Argo project CRDs
If you already have Argo project CRDs on your cluster, do one of the following:
* Handle Argo projects CRDs outside of the chart (see [Argo's readme on Helm charts](https://github.com/argoproj/argo-helm/blob/main/README.md){:target="\_blank"})
## Custom certificates for on-premises installations
For on-premises installations, you may need to configure custom platform and repository certificates:
* **Platform** certificates are required for GitOps Runtimes to communicate with the Codefresh platform.
* **Repository** certificates are required to authenticate users to on-premises Git servers.
## Ingress controller configuration
Ingress-based on-premises GitOps Runtimes require an ingress controller to be configured before the installation. For details, see [Ingress controller configuration]({{site.baseurl}}/docs/installation/gitops/hybrid-gitops-helm-installation/#ingress-controller-configuration).
Depending on the ingress controller used, you may need post-installation configuration as well.
## Platform certificates for on-premises installations
Configure platform certificates, required for GitOps Runtimes to communicate with the Codefresh on-premises platform.
### Platform certificates
1. Get your certificate:
Expand DownExpand Up
@@ -129,3 +150,28 @@ global:
-----END CERTIFICATE-----
```
### Repository certificates
Add repository certificates to your Codefresh `values` file, in `.values.argo-cd`. These values are used by the argo-cd Codefresh deploys.
For details on adding repository certificates, see this [section](https://github.com/codefresh-io/argo-helm/blob/argo-cd-5.29.2-cap-CR-18430/charts/argo-cd/values.yaml#LL336C7-L336C7){:target="\_blank"}.
```yaml
argo-cd:
configs:
tls:
certificates:
server.example.com: |
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
```
## Ingress controller configuration
Ingress-based on-premises GitOps Runtimes require an ingress controller to be configured before the installation. For details, see [Ingress controller configuration]({{site.baseurl}}/docs/installation/gitops/hybrid-gitops-helm-installation/#ingress-controller-configuration).
Depending on the ingress controller used, you may need post-installation configuration as well.
## Related articles
[Managing and monitoring GitOps Runtimes]({{site.baseurl}}/docs/installation/gitops/monitor-manage-runtimes/)
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.