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
+24-13
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,18 @@ 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
+
> [!NOTE]
21
+
> This version of the chart includes default configuration for storing workflow artifacts and logs in Codefresh provided s3 compatible storage.
22
+
23
+
If you have your own storage configuration using the default configmap `artifact-repositories` upgrading the chart will override your artifact storage configuration.
24
+
To prevent this please set `argo-workflows.controller.workflowDefaults.spec.artifactRepository.configMap` to `artifact-repositories` and `argo-workflows.controller.workflowDefaults.spec.artifactRepository.key`
25
+
to the respective key in your configmap identifying the repository.
26
+
> [!WARNING]
27
+
> It's highly recommended to use your own artifact storage for data privacy reasons.
28
+
> Codefresh provided storage has a retention policy of 14 days and limitations on uploaded file sizes.
29
+
> Please refer to the official documentation for more details.
30
+
19
31
## Installation with External ArgoCD
20
32
21
33
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.controller.workflowDefaults.spec.artifactRepositoryRef | object |`{"configMap":"codefresh-workflows-log-store","key":"codefresh-workflows-log-store"}`| By default artifact repository is set to a Codefresh provided repository. For data privacy it is reccommended to set your own artifact repository. For instructions see: https://argo-workflows.readthedocs.io/en/latest/configure-artifact-repository/#configuring-your-artifact-repository|
262
277
| argo-workflows.crds.install | bool |`true`| Install and upgrade CRDs |
| 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
283
| 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 |
284
+
| cf-argocd-extras | object |`{"eventReporter":{"affinity":{},"enabled":true,"nodeSelector":{},"tolerations":[]},"libraryMode":true,"sourcesServer":{"affinity":{},"enabled":true,"nodeSelector":{},"tolerations":[]}}`| Codefresh extra services for ArgoCD |
270
285
| cf-argocd-extras.libraryMode | bool |`true`| Library mode for the chart. Allows to inject values from gitops runtime chart |
286
+
| 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
395
| 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
396
| global.runtime.ingress.protocol | string |`"https"`| The protocol that Codefresh platform will use to access the runtime ingress. Can be http or https. |
388
397
| 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
398
| 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
399
| global.runtime.isConfigurationRuntime | bool |`false`| is the runtime set as a "configuration runtime". |
391
400
| 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 |
401
+
| global.tolerations | list |`[]`| Global tolerations for all components |
402
+
| 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":{},"skipUsageValidation":false,"skipValidation":false,"tolerations":[]}`| Runtime installer used for running hooks and checks on the release |
403
+
| installer.skipUsageValidation | bool |`false`| if set to true, pre-install hook will *not* run |
393
404
| 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. |
438
+
| 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
439
| tunnel-client.enabled | bool |`true`| Will only be used if global.runtime.ingress.enabled = false |
429
440
| 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
+13
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,19 @@ 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
+
> [!NOTE]
21
+
> This version of the chart includes default configuration for storing workflow artifacts and logs in Codefresh provided s3 compatible storage.
22
+
23
+
If you have your own storage configuration using the default configmap `artifact-repositories` upgrading the chart will override your artifact storage configuration.
24
+
To prevent this please set `argo-workflows.controller.workflowDefaults.spec.artifactRepository.configMap` to `artifact-repositories` and `argo-workflows.controller.workflowDefaults.spec.artifactRepository.key`
25
+
to the respective key in your configmap identifying the repository.
26
+
> [!WARNING]
27
+
> It's highly recommended to use your own artifact storage for data privacy reasons.
28
+
> Codefresh provided storage has a retention policy of 14 days and limitations on uploaded file sizes.
29
+
> Please refer to the official documentation for more details.
30
+
31
+
19
32
## Installation with External ArgoCD
20
33
21
34
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.
Copy file name to clipboardExpand all lines: charts/gitops-runtime/values.yaml
+12-32
Original file line number
Diff line number
Diff line change
@@ -315,6 +315,18 @@ argo-workflows:
315
315
resources:
316
316
requests:
317
317
ephemeral-storage: 10Mi
318
+
controller:
319
+
workflowDefaults:
320
+
spec:
321
+
archiveLogs: true
322
+
# -- By default artifact repository is set to a Codefresh provided repository. For data privacy it is reccommended to set your own artifact repository. For instructions see: https://argo-workflows.readthedocs.io/en/latest/configure-artifact-repository/#configuring-your-artifact-repository
323
+
artifactRepositoryRef:
324
+
configMap: codefresh-workflows-log-store
325
+
key: codefresh-workflows-log-store
326
+
# -- Argo workflows logs storage on Codefresh platform settings. Don't change unless instructed by Codefresh support.
# -- Builtin Workflows artifacts storage solution. Local S3 backed by local persistence with (PV and PVC)
712
-
garage-workflows-artifact-storage:
713
-
fullnameOverride: garage
714
-
enabled: false
715
-
deployment:
716
-
# -- Only statefulset is supported for Codefresh gitops runtime. Do not change this
717
-
kind: StatefulSet
718
-
replicaCount: 3
719
-
garage:
720
-
#-- Default to 3 replicas, see the replication_mode section at https://garagehq.deuxfleurs.fr/documentation/reference-manual/configuration/#replication-mode
721
-
replicationMode: 3
722
-
persistence:
723
-
enabled: true
724
-
# -- Volume that stores cluster metadata
725
-
meta:
726
-
# -- When empty value empty the default storage class for the cluster will be used
727
-
storageClass: ""
728
-
size: 100Mi
729
-
# -- Volume that stores artifacts and logs for workflows
730
-
data:
731
-
# -- When empty value empty the default storage class for the cluster will be used
732
-
storageClass: ""
733
-
size: 100Mi
734
-
# -- 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