Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add optional runtime config to byoa#1285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
NimRegev merged 3 commits intomasterfromgitops-runtime-post-install-configuration
Apr 14, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 36 additions & 42 deletions_docs/installation/gitops/hybrid-gitops-helm-installation.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -121,7 +121,10 @@ helm upgrade --install <helm-release-name> \
## Step 4: Completing Installation
After installation, you can:
* Continue with the Configuration & Management steps in the installation wizard. See [Configure GitOps Runtime]({{site.baseurl}}/docs/installation/gitops/runtime-configuration/#configure-gitops-runtime).
* View the installed Runtime in the Runtimes page, and complete the configuration at a later time.
* View the installed Runtime in the Runtimes page.
* Depending on your setup, complete the post-installation configuration:
* For private registries, you need to [override specific image values](#image-overrides-for-private-registries).
* If your Git servers are on-premises, [add custom repository certificates](#custom-repository-certificates).

##### View installed Runtime
After installation, go to **GitOps Runtimes > List View**:
Expand All@@ -144,13 +147,36 @@ After installation, go to **GitOps Runtimes > List View**:
%}


## Optional GitOps Runtime configuration

{% if page.collection != site.gitops_collection %}
### (Optional) Post-installation configuration
After completing the installation, you may need to perform additional configuration depending on your setup.
* For private registries, you need to [override specific image values](#image-overrides-for-private-registries).
* If your Git servers are on-premises, [add custom repository certificates](#custom-repository-certificates).
{% endif %}
### Image overrides for private registries
If you use private registries, you must override specific image values for the different subcharts and container images.
Our utility helps override image values for GitOps Runtimes by creating `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"}.

### Custom repository certificates

Repository certificates are required to authenticate users to on-premises Git servers.

If your Git servers are on-premises, add the repository certificates to your Codefresh `values` file, in `.values.argo-cd`. These values are used by the Argo CD that 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"}.

{% highlight yaml %}
global:
codefresh:
tls:
caCerts:
# optional - use an existing secret that contains the cert
# secretKeyRef:
# name: my-certificate-secret
# key: ca-bundle.crt
# or create "codefresh-tls-certs" secret
secret:
create: true
content: |
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
{% endhighlight yaml %}



Expand DownExpand Up@@ -189,52 +215,20 @@ resource "helm_release" "my_gitops_runtime" {
}
```

Feel free to use a different chart version and a unique name for the Runtime.You can get the values for both the Codefresh API token and account ID from the Codefresh UI as explained in the previous section.
You can get the values for both the Codefresh API token and account ID from the Codefresh UI as explained in the previous section.

The example is valid for the tunnel-based access mode. For ingress-based or service-mesh-based access modes, add the required arguments and values, as described in [GitOps Runtimes with ingress controllers/service meshes]({{site.baseurl}}/docs/installation/gitops/runtime-install-ingress-service-mesh-access-mode/).

Depending on your configuration:
* If you have private registries, you need to override specific image values, and if your Git servers are on-premises, you need to add custom repository certificates. See [Optional GitOps Runtime configuration](#optional-gitops-runtime-configuration) in this article.
* If you installed the GitOps Runtime on a cluster with Argo CD, you can [migrate Community Argo CD Applications](#migrate-argo-cd-applications-to-codefresh-gitops-runtime) to GitOps applications.
Depending on your configuration, if you have private registries, you need to override specific image values, and if your Git servers are on-premises, you need to add custom repository certificates. See [Optional GitOps Runtime configuration](#optional-gitops-runtime-configuration) in this article.


By default, the GitOps Runtime can deploy to the cluster it is installed on. You can add [Git Sources]({{site.baseurl}}/docs/installation/gitops/git-sources/), use [Terraform to connect external clusters]({{site.baseurl}}/docs/installation/gitops/managed-cluster/#add-a-managed-cluster-with-terraform), and [create and deployGitOps applications]({{site.baseurl}}/docs/deployments/gitops/create-application/).
By default, the GitOps Runtime can deploy to the cluster it is installed on. You can add [Git Sources]({{site.baseurl}}/docs/installation/gitops/git-sources/), use [Terraform to connect external clusters]({{site.baseurl}}/docs/installation/gitops/managed-cluster/#add-a-managed-cluster-with-terraform), and [create and deployArgo CD applications]({{site.baseurl}}/docs/deployments/gitops/create-application/).



{% if page.collection != site.gitops_collection %}
## Optional GitOps Runtime configuration

### Image overrides for private registries
If you use private registries, you must override specific image values for the different subcharts and container images.
Our utility helps override image values for GitOps Runtimes by creating `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"}.

### Custom repository certificates

Repository certificates are required to authenticate users to on-premises Git servers.

If your Git servers are on-premises, add the repository certificates to your Codefresh `values` file, in `.values.argo-cd`. These values are used by the Argo CD that 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"}.

{% highlight yaml %}
global:
codefresh:
tls:
caCerts:
# optional - use an existing secret that contains the cert
# secretKeyRef:
# name: my-certificate-secret
# key: ca-bundle.crt
# or create "codefresh-tls-certs" secret
secret:
create: true
content: |
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
{% endhighlight yaml %}

{% endif %}


## Related articles
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -137,8 +137,10 @@ helm upgrade --install <helm-release-name> \
## Step 4: Completing Installation
After installation, you can:
* Continue with the Configuration & Management steps in the installation wizard. See [Configure GitOps Runtime]({{site.baseurl}}/docs/installation/gitops/runtime-configuration/#configure-gitops-runtime).
OR
* View the installed Runtime in the Runtimes page, and complete the configuration at a later time.
* View the installed Runtime in the Runtimes page.
* Depending on your setup, complete the post-installation configuration:
* For private registries, you need to [override specific image values](#image-overrides-for-private-registries).
* If your Git servers are on-premises, [add custom repository certificates](#custom-repository-certificates).

##### View installed Runtime
After installation, go to **GitOps Runtimes > List View**:
Expand All@@ -161,6 +163,38 @@ After installation, go to **GitOps Runtimes > List View**:
%}


## Optional GitOps Runtime configuration

### Image overrides for private registries
If you use private registries, you must override specific image values for the different subcharts and container images.
Our utility helps override image values for GitOps Runtimes by creating `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"}.

### Custom repository certificates

Repository certificates are required to authenticate users to on-premises Git servers.

If your Git servers are on-premises, add the repository certificates to your Codefresh `values` file, in `.values.argo-cd`. These values are used by the Argo CD that 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"}.

{% highlight yaml %}
global:
codefresh:
tls:
caCerts:
# optional - use an existing secret that contains the cert
# secretKeyRef:
# name: my-certificate-secret
# key: ca-bundle.crt
# or create "codefresh-tls-certs" secret
secret:
create: true
content: |
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
{% endhighlight yaml %}


## Install GitOps Runtime via Terraform

You can also use Terraform to install additional GitOps Runtimes with the [Helm provider](https://registry.terraform.io/providers/hashicorp/helm/latest/docs){:target="\_blank"}.
Expand DownExpand Up@@ -196,6 +230,16 @@ resource "helm_release" "my_gitops_runtime" {
```


You can get the values for both the Codefresh API token and account ID from the Codefresh UI as explained in the previous section.

The example is valid for the tunnel-based access mode. For ingress-based or service-mesh-based access modes, add the required arguments and values, as described in [GitOps Runtimes with ingress controllers/service meshes]({{site.baseurl}}/docs/installation/gitops/runtime-install-ingress-service-mesh-access-mode/).

Depending on your configuration, if you have private registries, you need to override specific image values, and if your Git servers are on-premises, you need to add custom repository certificates. See [Optional GitOps Runtime configuration](#optional-gitops-runtime-configuration) in this article.


By default, the GitOps Runtime can deploy to the cluster it is installed on. You can add [Git Sources]({{site.baseurl}}/docs/installation/gitops/git-sources/), use [Terraform to connect external clusters]({{site.baseurl}}/docs/installation/gitops/managed-cluster/#add-a-managed-cluster-with-terraform), and [create and deploy Argo CD applications]({{site.baseurl}}/docs/deployments/gitops/create-application/).


## Related articles
[Configuring GitOps Runtimes]({{site.baseurl}}/docs/installation/gitops/runtime-configuration/)
[Upgrading GitOps Runtimes]({{site.baseurl}}/docs/installation/gitops/manage-runtimes/#upgrade-gitops-runtimes/)
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp