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: charts/gitops-runtime/README.md
+29-13Lines changed: 29 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,25 @@ See [Use OCI-based registries](https://helm.sh/docs/topics/registries/)
16
16
## Codefresh official documentation:
17
17
Prior to running the installation please see the official documentation at: https://codefresh.io/docs/docs/installation/gitops/hybrid-gitops-helm-installation/
18
18
19
+
## Argo-workflows artifact and log storage
20
+
Codefresh provides a SaaS object storage based solution for Argo workflows logs storage. The chart deploys a configmap named `codefresh-workflows-log-store` with the repository configuration.
21
+
If you want to utilize the Codefresh SaaS solution for log storage for all workflows in the runtime please set the following values:
22
+
23
+
```yaml
24
+
argo-workflows:
25
+
controller:
26
+
workflowDefaults:
27
+
spec:
28
+
artifactRepository:
29
+
configMap: codefresh-workflows-log-store
30
+
key: codefresh-workflows-log-store
31
+
```
32
+
33
+
> [!WARNING]
34
+
> It's highly recommended to use your own artifact storage for data privacy reasons.
35
+
> Codefresh provided storage has a retention policy of 14 days and limitations on uploaded file sizes.
36
+
> Please refer to the official documentation for more details.
37
+
19
38
## Installation with External ArgoCD
20
39
21
40
If you want to use an existing ArgoCD installation, you can disable the built-in ArgoCD and configure the GitOps Runtime to use the external ArgoCD.
| argo-workflows.server.authModes | list |`["client"]`| auth-mode needs to be set to client to be able to see workflow logs from Codefresh UI |
268
288
| argo-workflows.server.baseHref | string |`"/workflows/"`| Do not change. Workflows UI is only accessed through internal router, changing this values will break routing to workflows native UI from Codefresh. |
269
-
| cf-argocd-extras | object |`{"libraryMode":true}`| Codefresh extra services for ArgoCD |
289
+
| cf-argocd-extras | object |`{"eventReporter":{"affinity":{},"enabled":true,"nodeSelector":{},"tolerations":[]},"libraryMode":true,"sourcesServer":{"affinity":{},"enabled":true,"nodeSelector":{},"tolerations":[]}}`| Codefresh extra services for ArgoCD |
270
290
| cf-argocd-extras.libraryMode | bool |`true`| Library mode for the chart. Allows to inject values from gitops runtime chart |
291
+
| cf-argocd-extras.sourcesServer | object |`{"affinity":{},"enabled":true,"nodeSelector":{},"tolerations":[]}`| Sources server configuration |
| garage-workflows-artifact-storage | object |`{"deployment":{"kind":"StatefulSet","replicaCount":3},"enabled":false,"fullnameOverride":"garage","garage":{"replicationMode":3},"persistence":{"data":{"size":"100Mi","storageClass":""},"enabled":true,"meta":{"size":"100Mi","storageClass":""}},"resources":{},"tests":{"enabled":false}}`| Builtin Workflows artifacts storage solution. Local S3 backed by local persistence with (PV and PVC) |
308
-
| garage-workflows-artifact-storage.deployment.kind | string |`"StatefulSet"`| Only statefulset is supported for Codefresh gitops runtime. Do not change this |
309
-
| garage-workflows-artifact-storage.persistence.data | object |`{"size":"100Mi","storageClass":""}`| Volume that stores artifacts and logs for workflows |
310
-
| garage-workflows-artifact-storage.persistence.data.storageClass | string |`""`| When empty value empty the default storage class for the cluster will be used |
| garage-workflows-artifact-storage.persistence.meta.storageClass | string |`""`| When empty value empty the default storage class for the cluster will be used |
313
-
| garage-workflows-artifact-storage.resources | object |`{}`| Resources for garage pods. For smaller deployments at least 100m CPU and 1024Mi memory is reccommended. For larger deployments double this size. |
| global.external-argo-rollouts.rollout-reporter.enabled | bool |`false`| Enable or disable rollout reporter Configuration is defined at .Values.event-reporters.rollout |
| global.runtime.ingress.enabled | bool |`false`| Defines if ingress-based access mode is enabled for runtime. To use tunnel-based (ingressless) access mode, set to false. |
386
401
| global.runtime.ingress.hosts | list |`[]`| Hosts for runtime ingress. Note that Codefresh platform will always use the first host in the list to access the runtime. |
387
402
| global.runtime.ingress.protocol | string |`"https"`| The protocol that Codefresh platform will use to access the runtime ingress. Can be http or https. |
388
403
| global.runtime.ingress.skipValidation | bool |`false`| if set to true, the pre-install hook will validate the existance of appropriate values, but *will not* attempt to make a web request to the ingress host |
389
404
| global.runtime.ingressUrl | string |`""`| Explicit url for runtime ingress. Provide this value only if you don't want the chart to create and ingress (global.runtime.ingress.enabled=false) and tunnel-client is not used (tunnel-client.enabled=false) |
390
405
| global.runtime.isConfigurationRuntime | bool |`false`| is the runtime set as a "configuration runtime". |
391
406
| global.runtime.name | string |`nil`| Runtime name. Must be unique per platform account. |
392
-
| installer | object |`{"argoCdVersionCheck":{"argoServerLabels":{"app.kubernetes.io/component":"server","app.kubernetes.io/part-of":"argocd"}},"image":{"pullPolicy":"IfNotPresent","repository":"quay.io/codefresh/gitops-runtime-installer","tag":""},"skipValidation":false}`| Runtime installer used for running hooks and checks on the release |
407
+
| global.tolerations | list |`[]`| Global tolerations for all components |
408
+
| installer | object |`{"affinity":{},"argoCdVersionCheck":{"argoServerLabels":{"app.kubernetes.io/component":"server","app.kubernetes.io/part-of":"argocd"}},"image":{"pullPolicy":"IfNotPresent","repository":"quay.io/codefresh/gitops-runtime-installer","tag":""},"nodeSelector":{},"skipValidation":false,"tolerations":[]}`| Runtime installer used for running hooks and checks on the release |
393
409
| installer.skipValidation | bool |`false`| if set to true, pre-install hook will *not* run |
| tunnel-client | object |`{"enabled":true,"libraryMode":true,"tunnelServer":{"host":"register-tunnels.cf-cd.com","subdomainHost":"tunnels.cf-cd.com"}}`| Tunnel based runtime. Not supported for on-prem platform. In on-prem use ingress based runtimes. |
443
+
| tunnel-client | object |`{"affinity":{},"enabled":true,"libraryMode":true,"nodeSelector":{},"tolerations":[],"tunnelServer":{"host":"register-tunnels.cf-cd.com","subdomainHost":"tunnels.cf-cd.com"}}`| Tunnel based runtime. Not supported for on-prem platform. In on-prem use ingress based runtimes. |
428
444
| tunnel-client.enabled | bool |`true`| Will only be used if global.runtime.ingress.enabled = false |
429
445
| tunnel-client.libraryMode | bool |`true`| Do not change this value! Breaks chart logic |
Copy file name to clipboardExpand all lines: charts/gitops-runtime/README.md.gotmpl
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,27 @@ See [Use OCI-based registries](https://helm.sh/docs/topics/registries/)
16
16
## Codefresh official documentation:
17
17
Prior to running the installation please see the official documentation at: https://codefresh.io/docs/docs/installation/gitops/hybrid-gitops-helm-installation/
18
18
19
+
## Argo-workflows artifact and log storage
20
+
Codefresh provides a SaaS object storage based solution for Argo workflows logs storage. The chart deploys a configmap named `codefresh-workflows-log-store` with the repository configuration.
21
+
If you want to utilize the Codefresh SaaS solution for log storage for all workflows in the runtime please set the following values:
22
+
23
+
```yaml
24
+
argo-workflows:
25
+
controller:
26
+
workflowDefaults:
27
+
spec:
28
+
artifactRepository:
29
+
configMap: codefresh-workflows-log-store
30
+
key: codefresh-workflows-log-store
31
+
```
32
+
33
+
34
+
> [!WARNING]
35
+
> It's highly recommended to use your own artifact storage for data privacy reasons.
36
+
> Codefresh provided storage has a retention policy of 14 days and limitations on uploaded file sizes.
37
+
> Please refer to the official documentation for more details.
38
+
39
+
19
40
## Installation with External ArgoCD
20
41
21
42
If you want to use an existing ArgoCD installation, you can disable the built-in ArgoCD and configure the GitOps Runtime to use the external ArgoCD.
# -- Builtin Workflows artifacts storage solution. Local S3 backed by local persistence with (PV and PVC)
726
-
garage-workflows-artifact-storage:
727
-
fullnameOverride: garage
728
-
enabled: false
729
-
deployment:
730
-
# -- Only statefulset is supported for Codefresh gitops runtime. Do not change this
731
-
kind: StatefulSet
732
-
replicaCount: 3
733
-
garage:
734
-
#-- Default to 3 replicas, see the replication_mode section at https://garagehq.deuxfleurs.fr/documentation/reference-manual/configuration/#replication-mode
735
-
replicationMode: 3
736
-
persistence:
737
-
enabled: true
738
-
# -- Volume that stores cluster metadata
739
-
meta:
740
-
# -- When empty value empty the default storage class for the cluster will be used
741
-
storageClass: ""
742
-
size: 100Mi
743
-
# -- Volume that stores artifacts and logs for workflows
744
-
data:
745
-
# -- When empty value empty the default storage class for the cluster will be used
746
-
storageClass: ""
747
-
size: 100Mi
748
-
# -- Resources for garage pods. For smaller deployments at least 100m CPU and 1024Mi memory is reccommended. For larger deployments double this size.
0 commit comments