Skip to content

Commit 7fca368

Browse files
feat: external argocd unders .values.global.integrations
1 parent 6e27e7a commit 7fca368

File tree

2 files changed

+56
-11
lines changed

2 files changed

+56
-11
lines changed

charts/gitops-runtime/README.md

Lines changed: 35 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,27 @@ argo-gateway:
395395
...
396396
```
397397

398+
- `.Values.global.external-argo-cd` was changed to `.Values.global.integrations.argo-cd`
399+
400+
```yaml
401+
# Before:
402+
global:
403+
external-argo-cd:
404+
server:
405+
svc: argocd-server
406+
port: 80
407+
...
408+
409+
# After:
410+
global:
411+
integrations:
412+
argo-cd:
413+
server:
414+
svc: argocd-server
415+
port: 80
416+
...
417+
```
418+
398419
## Values
399420

400421
| Key | Type | Default | Description |
@@ -430,14 +451,14 @@ argo-gateway:
430451
| app-proxy.image-enrichment.serviceAccount.name | string | `"codefresh-image-enrichment-sa"` | Name of the service account to create or the name of the existing one to use |
431452
| app-proxy.image.pullPolicy | string | `"IfNotPresent"` | |
432453
| app-proxy.image.repository | string | `"quay.io/codefresh/cap-app-proxy"` | |
433-
| app-proxy.image.tag | string | `"1.3806.0"` | |
454+
| app-proxy.image.tag | string | `"1.3820.0"` | |
434455
| app-proxy.imagePullSecrets | list | `[]` | |
435456
| app-proxy.initContainer.command[0] | string | `"./init.sh"` | |
436457
| app-proxy.initContainer.env | object | `{}` | |
437458
| app-proxy.initContainer.extraVolumeMounts | list | `[]` | Extra volume mounts for init container |
438459
| app-proxy.initContainer.image.pullPolicy | string | `"IfNotPresent"` | |
439460
| app-proxy.initContainer.image.repository | string | `"quay.io/codefresh/cap-app-proxy-init"` | |
440-
| app-proxy.initContainer.image.tag | string | `"1.3806.0"` | |
461+
| app-proxy.initContainer.image.tag | string | `"1.3820.0"` | |
441462
| app-proxy.initContainer.resources.limits | object | `{}` | |
442463
| app-proxy.initContainer.resources.requests.cpu | string | `"0.2"` | |
443464
| app-proxy.initContainer.resources.requests.memory | string | `"256Mi"` | |
@@ -502,9 +523,13 @@ argo-gateway:
502523
| argo-cd.configs.cm."timeout.reconciliation" | string | `"20s"` | |
503524
| argo-cd.configs.params."application.namespaces" | string | `"cf-*"` | |
504525
| argo-cd.configs.params."server.insecure" | bool | `true` | |
526+
| argo-cd.configs.params."server.rootpath" | string | `""` | |
505527
| argo-cd.crds.install | bool | `true` | |
506528
| argo-cd.enabled | bool | `true` | |
507-
| argo-cd.fullnameOverride | string | `"argo-cd"` | |
529+
| argo-cd.fullnameOverride | string | `"argocd"` | |
530+
| argo-cd.repoServer.name | string | `"repo-server"` | |
531+
| argo-cd.repoServer.service.port | int | `8081` | |
532+
| argo-cd.server.name | string | `"server"` | |
508533
| argo-events.configs.jetstream.versions[0].configReloaderImage | string | `"natsio/nats-server-config-reloader:0.19.1"` | |
509534
| argo-events.configs.jetstream.versions[0].metricsExporterImage | string | `"natsio/prometheus-nats-exporter:0.17.3"` | |
510535
| argo-events.configs.jetstream.versions[0].natsImage | string | `"nats:2.11.4"` | |
@@ -534,6 +559,7 @@ argo-gateway:
534559
| gitops-operator.affinity | object | `{}` | |
535560
| gitops-operator.config.commitStatusPollingInterval | string | `"10s"` | Commit status polling interval |
536561
| gitops-operator.config.maxConcurrentReleases | int | `100` | Maximum number of concurrent releases being processed by the operator (this will not affect the number of releases being processed by the gitops runtime) |
562+
| gitops-operator.config.maxReconcileRetries | int | `10` | Maximum number of reconcile retries on promotion-related resources before failing a promotion task |
537563
| gitops-operator.config.promotionWrapperTemplate | string | `""` | An optional template for the promotion wrapper (empty default will use the embedded one) |
538564
| gitops-operator.config.taskPollingInterval | string | `"10s"` | Task polling interval |
539565
| gitops-operator.config.workflowMonitorPollingInterval | string | `"10s"` | Workflow monitor polling interval |
@@ -547,7 +573,7 @@ argo-gateway:
547573
| gitops-operator.fullnameOverride | string | `""` | |
548574
| gitops-operator.image.registry | string | `"quay.io"` | defaults |
549575
| gitops-operator.image.repository | string | `"codefresh/codefresh-gitops-operator"` | |
550-
| gitops-operator.image.tag | string | `"a1316ff"` | |
576+
| gitops-operator.image.tag | string | `"6881890"` | |
551577
| gitops-operator.imagePullSecrets | list | `[]` | |
552578
| gitops-operator.nameOverride | string | `""` | |
553579
| gitops-operator.nodeSelector | object | `{}` | |
@@ -578,26 +604,24 @@ argo-gateway:
578604
| global.codefresh.userToken.secretKeyRef | object | `{}` | User token that references an existing secret containing the token. |
579605
| global.codefresh.userToken.token | string | `""` | User token in plain text. The chart creates and manages the secret for this token. |
580606
| global.event-reporters | object | `{"affinity":{},"config":{},"image":{"registry":"quay.io","repository":"codefresh/cf-argocd-extras","tag":"695977c"},"livenessProbe":{"failureThreshold":3,"initialDelaySeconds":10,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":10},"nodeSelector":{},"pdb":{"enabled":true,"maxUnavailable":"","minAvailable":"50%"},"readinessProbe":{"failureThreshold":3,"initialDelaySeconds":10,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":10},"replicaCount":2,"resources":{"requests":{"cpu":"100m","memory":"128Mi"}},"service":{"ports":{"http":{"port":8088,"targetPort":8088},"metrics":{"port":8087,"targetPort":8087}},"type":"ClusterIP"},"serviceAccount":{"create":true},"serviceMonitor":{"enabled":false,"interval":"30s","labels":{},"scrapeTimeout":"10s"},"tolerations":[]}` | Global settings for event reporters Event reporters are used for reporting runtime and cluster resources to Codefresh platform |
581-
| global.external-argo-cd | object | `{"repoServer":{"port":8081,"svc":"argocd-repo-server"},"server":{"port":80,"rootpath":"","svc":"argocd-server"}}` | Configuration for external ArgoCD Should be used when `argo-cd.enabled` is set to false |
582-
| global.external-argo-cd.repoServer.port | int | `8081` | Port of the ArgoCD repo server |
583-
| global.external-argo-cd.repoServer.svc | string | `"argocd-repo-server"` | Service name of the ArgoCD repo server |
584-
| global.external-argo-cd.server | object | `{"port":80,"rootpath":"","svc":"argocd-server"}` | ArgoCD server settings |
585-
| global.external-argo-cd.server.port | int | `80` | Port of the ArgoCD server |
586-
| global.external-argo-cd.server.rootpath | string | `""` | Set if Argo CD is running behind reverse proxy under subpath different from / e.g. rootpath: '/argocd' |
587-
| global.external-argo-cd.server.svc | string | `"argocd-server"` | Service name of the ArgoCD server |
588607
| global.external-argo-rollouts | object | `{"rollout-reporter":{"enabled":false}}` | Configuration for external Argo Rollouts |
589608
| global.external-argo-rollouts.rollout-reporter | object | `{"enabled":false}` | Rollout reporter settings |
590609
| global.external-argo-rollouts.rollout-reporter.enabled | bool | `false` | Enable or disable rollout reporter Configuration is defined at .Values.event-reporters.rollout |
591610
| global.httpProxy | string | `""` | global HTTP_PROXY for all components |
592611
| global.httpsProxy | string | `""` | global HTTPS_PROXY for all components |
593612
| global.imageRegistry | string | `""` | |
613+
| global.integrations.argo-cd.repoServer.port | int | `8081` | Port of the ArgoCD repo server |
614+
| global.integrations.argo-cd.repoServer.svc | string | `"argocd-repo-server"` | Service name of the ArgoCD repo server |
594615
| global.integrations.argo-cd.server.auth | object | `{"password":"","passwordSecretKeyRef":{"key":"password","name":"argocd-initial-admin-secret"},"token":"","tokenSecretKeyRef":{},"type":"password","username":"admin"}` | How GitOps Runtime should authenticate with ArgoCD server |
595616
| global.integrations.argo-cd.server.auth.password | string | `""` | ArgoCD password in plain text |
596617
| global.integrations.argo-cd.server.auth.passwordSecretKeyRef | object | `{"key":"password","name":"argocd-initial-admin-secret"}` | ArgoCD password referenced by an existing secret |
597618
| global.integrations.argo-cd.server.auth.token | string | `""` | ArgoCD token in plain text |
598619
| global.integrations.argo-cd.server.auth.tokenSecretKeyRef | object | `{}` | ArgoCD token referenced by an existing secret |
599620
| global.integrations.argo-cd.server.auth.type | string | `"password"` | Authentication type. Can be password or token |
600621
| global.integrations.argo-cd.server.auth.username | string | `"admin"` | ArgoCD username in plain text |
622+
| global.integrations.argo-cd.server.port | int | `80` | Port of the ArgoCD server |
623+
| global.integrations.argo-cd.server.rootpath | string | `""` | Set if Argo CD is running behind reverse proxy under subpath different from / e.g. rootpath: '/argocd' |
624+
| global.integrations.argo-cd.server.svc | string | `"argocd-server"` | Service name of the ArgoCD server |
601625
| global.noProxy | string | `""` | global NO_PROXY for all components |
602626
| global.nodeSelector | object | `{}` | Global nodeSelector for all components |
603627
| global.runtime | object | `{"cluster":"https://kubernetes.default.svc","codefreshHosted":false,"gitCredentials":{"password":{"secretKeyRef":{},"value":null},"username":"username"},"ingress":{"annotations":{},"className":"nginx","enabled":false,"hosts":[],"labels":{},"protocol":"https","skipValidation":false,"tls":[]},"ingressUrl":"","isConfigurationRuntime":false,"name":null}` | Runtime level settings |

charts/gitops-runtime/README.md.gotmpl

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,4 +399,25 @@ argo-gateway:
399399
...
400400
```
401401

402+
- `.Values.global.external-argo-cd` was changed to `.Values.global.integrations.argo-cd`
403+
404+
```yaml
405+
# Before:
406+
global:
407+
external-argo-cd:
408+
server:
409+
svc: argocd-server
410+
port: 80
411+
...
412+
413+
# After:
414+
global:
415+
integrations:
416+
argo-cd:
417+
server:
418+
svc: argocd-server
419+
port: 80
420+
...
421+
```
422+
402423
{{ template "chart.valuesSection" . }}

0 commit comments

Comments
 (0)