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/argo-with-gitops-side-by-side.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ Installing alongside Community Argo CD requires additional flags in the Runtime
35
35
36
36
37
37
#####Runtime values.yaml
38
-
The Codefresh`values.yaml` available[here](https://github.com/codefresh-io/gitops-runtime-helm/blob/main/charts/gitops-runtime/){:target="\_blank"}, contains all the arguments you can configure, including optional ones.
38
+
The Codefresh`values.yaml` available[here](https://github.com/codefresh-io/gitops-runtime-helm/blob/main/charts/gitops-runtime/values.yaml/){:target="\_blank"}, contains all the arguments you can configure, including optional ones.
39
39
Review how Codefresh[validates the Runtime's values.yaml]({{site.baseurl}}/docs/installation/gitops/gitops-values-yaml-validation/).
Copy file name to clipboardExpand all lines: _docs/installation/gitops/gitops-values-yaml-validation.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ toc: true
6
6
7
7
8
8
##`values.yaml` file validation
9
-
The Codefresh`values.yaml` file available[here](https://github.com/codefresh-io/gitops-runtime-helm/blob/main/charts/installation/gitops/){:target="\_blank"}, contains all the arguments you can configure, including optional ones.
9
+
The Codefresh`values.yaml` file available[here](https://github.com/codefresh-io/gitops-runtime-helm/blob/main/charts/gitops-runtime/values.yaml){:target="\_blank"}, contains all the arguments you can configure, including optional ones.
10
10
11
11
Before initiating the installation, Codefresh automatically validates the`values.yaml` file to verify that the supplied values are correct.
12
12
A validation error will automatically terminate the installation.
Copy file name to clipboardExpand all lines: _docs/installation/gitops/hybrid-gitops-helm-installation.md
+37-43Lines changed: 37 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ This article describes how to install the GitOps Runtime in a Codefresh accounts
11
11
12
12
#####Runtime values.yaml
13
13
14
-
The Codefresh`values.yaml` located[here](https://github.com/codefresh-io/gitops-runtime-helm/blob/main/charts/gitops-runtime/){:target="\_blank"}, contains all the arguments you can configure, including optional ones.
14
+
The Codefresh`values.yaml` located[here](https://github.com/codefresh-io/gitops-runtime-helm/blob/main/charts/gitops-runtime/values.yaml){:target="\_blank"}, contains all the arguments you can configure, including optional ones.
15
15
Review how Codefresh[validates the Runtime's values.yaml]({{site.baseurl}}/docs/installation/gitops/gitops-values-yaml-validation/).
16
16
17
17
To install the GitOps Runtime with an existing Argo CD instance, see[Install GitOps Runtime with existing Argo CD]({{site.baseurl}}/docs/installation/gitops/runtime-install-with-existing-argo-cd/).
* Continue with the Configuration & Management steps in the installation wizard. See[Configure GitOps Runtime]({{site.baseurl}}/docs/installation/gitops/runtime-configuration/#configure-gitops-runtime).
124
-
* View the installed Runtime in the Runtimes page, and complete the configuration at a later time.
124
+
* View the installed Runtime in the Runtimes page.
125
+
* Depending on your setup, complete the post-installation configuration:
126
+
* For private registries, you need to[override specific image values](#image-overrides-for-private-registries).
127
+
* If your Git servers are on-premises,[add custom repository certificates](#custom-repository-certificates).
125
128
126
129
#####View installed Runtime
127
130
After installation, go to**GitOps Runtimes > List View**:
@@ -144,13 +147,36 @@ After installation, go to **GitOps Runtimes > List View**:
144
147
%}
145
148
146
149
150
+
##Optional GitOps Runtime configuration
147
151
148
-
{% if page.collection != site.gitops_collection %}
149
-
###(Optional) Post-installation configuration
150
-
After completing the installation, you may need to perform additional configuration depending on your setup.
151
-
* For private registries, you need to[override specific image values](#image-overrides-for-private-registries).
152
-
* If your Git servers are on-premises,[add custom repository certificates](#custom-repository-certificates).
153
-
{% endif %}
152
+
###Image overrides for private registries
153
+
If you use private registries, you must override specific image values for the different subcharts and container images.
154
+
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.
155
+
For more details, see[ArtifactHub](https://artifacthub.io/packages/helm/codefresh-gitops-runtime/gitops-runtime#using-with-private-registries---helper-utility){:target="\_blank"}.
156
+
157
+
###Custom repository certificates
158
+
159
+
Repository certificates are required to authenticate users to on-premises Git servers.
160
+
161
+
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"}.
162
+
163
+
{% highlight yaml %}
164
+
global:
165
+
codefresh:
166
+
tls:
167
+
caCerts:
168
+
# optional - use an existing secret that contains the cert
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.
218
+
You can get the values for both the Codefresh API token and account ID from the Codefresh UI as explained in the previous section.
193
219
194
220
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/).
195
221
196
-
Depending on your configuration:
197
-
* 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.
198
-
* 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.
222
+
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.
199
223
200
224
201
-
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/).
225
+
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/).
202
226
203
227
204
228
205
-
{% if page.collection != site.gitops_collection %}
206
-
##Optional GitOps Runtime configuration
207
-
208
-
###Image overrides for private registries
209
-
If you use private registries, you must override specific image values for the different subcharts and container images.
210
-
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.
211
-
For more details, see[ArtifactHub](https://artifacthub.io/packages/helm/codefresh-gitops-runtime/gitops-runtime#using-with-private-registries---helper-utility){:target="\_blank"}.
212
229
213
-
###Custom repository certificates
214
230
215
-
Repository certificates are required to authenticate users to on-premises Git servers.
216
231
217
-
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"}.
218
-
219
-
{% highlight yaml %}
220
-
global:
221
-
codefresh:
222
-
tls:
223
-
caCerts:
224
-
# optional - use an existing secret that contains the cert
Copy file name to clipboardExpand all lines: _docs/installation/gitops/managed-cluster.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ For ingress-based GitOps Runtimes, to get the `ingressUrl` for your, first authe
87
87
The Helm chart is published at oci://quay.io/codefresh/charts/csdp-add-cluster. You can see the source templates at[https://github.com/codefresh-io/csdp-official/tree/main/add-cluster/helm](https://github.com/codefresh-io/csdp-official/tree/main/add-cluster/helm){:target="\_blank"}.
Copy file name to clipboardExpand all lines: _docs/installation/gitops/runtime-install-with-existing-argo-cd.md
+47-3Lines changed: 47 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ This article describes how to install GitOps Runtimes in a Codefresh account usi
12
12
This option allows you to install the GitOps Runtime without deploying a new Argo CD instance. Instead, you_install the GitOps Runtime in the same namespace as the existing Argo CD instance_. The Runtime authenticates with the Argo CD instance through the[Argo CD Admin API token]({{site.baseurl}}/docs/installation/gitops/runtime-argocd-admin-api-token/) which you need to provide, and connects to key Argo CD services.
13
13
14
14
#####Runtime values.yaml
15
-
The Codefresh`values.yaml` available[here](https://github.com/codefresh-io/gitops-runtime-helm/blob/main/charts/gitops-runtime/){:target="\_blank"}, contains all the arguments you can configure, including optional ones.
15
+
The Codefresh`values.yaml` available[here](https://github.com/codefresh-io/gitops-runtime-helm/blob/main/charts/gitops-runtime/values.yaml){:target="\_blank"}, contains all the arguments you can configure, including optional ones.
16
16
Review how Codefresh[validates the Runtime's values.yaml]({{site.baseurl}}/docs/installation/gitops/gitops-values-yaml-validation/).
* Continue with the Configuration & Management steps in the installation wizard. See[Configure GitOps Runtime]({{site.baseurl}}/docs/installation/gitops/runtime-configuration/#configure-gitops-runtime).
140
-
OR
141
-
* View the installed Runtime in the Runtimes page, and complete the configuration at a later time.
140
+
* View the installed Runtime in the Runtimes page.
141
+
* Depending on your setup, complete the post-installation configuration:
142
+
* For private registries, you need to[override specific image values](#image-overrides-for-private-registries).
143
+
* If your Git servers are on-premises,[add custom repository certificates](#custom-repository-certificates).
142
144
143
145
#####View installed Runtime
144
146
After installation, go to**GitOps Runtimes > List View**:
@@ -161,6 +163,38 @@ After installation, go to **GitOps Runtimes > List View**:
161
163
%}
162
164
163
165
166
+
##Optional GitOps Runtime configuration
167
+
168
+
###Image overrides for private registries
169
+
If you use private registries, you must override specific image values for the different subcharts and container images.
170
+
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.
171
+
For more details, see[ArtifactHub](https://artifacthub.io/packages/helm/codefresh-gitops-runtime/gitops-runtime#using-with-private-registries---helper-utility){:target="\_blank"}.
172
+
173
+
###Custom repository certificates
174
+
175
+
Repository certificates are required to authenticate users to on-premises Git servers.
176
+
177
+
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"}.
178
+
179
+
{% highlight yaml %}
180
+
global:
181
+
codefresh:
182
+
tls:
183
+
caCerts:
184
+
# optional - use an existing secret that contains the cert
185
+
# secretKeyRef:
186
+
# name: my-certificate-secret
187
+
# key: ca-bundle.crt
188
+
# or create "codefresh-tls-certs" secret
189
+
secret:
190
+
create: true
191
+
content: |
192
+
-----BEGIN CERTIFICATE-----
193
+
...
194
+
-----END CERTIFICATE-----
195
+
{% endhighlight yaml %}
196
+
197
+
164
198
##Install GitOps Runtime via Terraform
165
199
166
200
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"}.
You can get the values for both the Codefresh API token and account ID from the Codefresh UI as explained in the previous section.
234
+
235
+
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/).
236
+
237
+
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.
238
+
239
+
240
+
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/).
Copy file name to clipboardExpand all lines: _docs/installation/gitops/runtime-prerequisites.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ Assign the correct labels to the Argo CD services for the GitOps Runtime to auto
116
116
<!--- Run this script to verify if the labels are correctly assigned: add the script-->
117
117
118
118
###Manually configure service names and ports in values.yaml
119
-
If auto-detection is not feasible, configure the names and ports for each of the Argo CD services in the Runtime's`values.yaml` file located[here](https://github.com/codefresh-io/gitops-runtime-helm/blob/main/charts/installation/gitops/){:target="\_blank"}.
119
+
If auto-detection is not feasible, configure the names and ports for each of the Argo CD services in the Runtime's`values.yaml` file located[here](https://github.com/codefresh-io/gitops-runtime-helm/blob/main/charts/gitops-runtime/values.yaml){:target="\_blank"}.
120
120
121
121
Here's an example of the service configuration in`values.yaml`.