Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
2b857ca
create release 0.23 draft
oleksandr-codefresh Aug 8, 2025
2209148
create release 0.23 draft
oleksandr-codefresh Aug 8, 2025
1ba4f61
fix: update leader elector image tag to remove version prefix 'v' (#651)
ATGardner Aug 10, 2025
13bdc18
re-order Chart.yaml changes
ATGardner Aug 10, 2025
3799c35
Updated gitops operator not to requeue on known release creation fail…
akavalchuk Aug 12, 2025
247356e
fix: support failing release if app sync fails (#645)
codefresh-v2-pipelines[bot] Aug 13, 2025
ddfa5f0
chore(app-proxy): update cap-app-proxy image tags to 1.3701.0 (#654)
ATGardner Aug 12, 2025
59398b7
chore(app-proxy): update cap-app-proxy image tags to 1.3702.0 (#659)
ATGardner Aug 13, 2025
5193081
create release 0.23 draft
dmaizel Aug 13, 2025
a8c8170
cleanup in changes
ATGardner Aug 13, 2025
a416fe3
fix lint
dmaizel Aug 14, 2025
873a0ef
chore: fix artifacthub changes
dmaizel Aug 14, 2025
2054395
fix: remove checksum tests as they fail when chart version changes (#…
ilia-medvedev-codefresh Aug 14, 2025
7eb6d5f
bumped app-proxy to 1.3707.0 closed ha gaps (#667)
philipkotliyakov Aug 17, 2025
910ac70
update Chart.yaml
mikhail-klimko Aug 20, 2025
b03d8f2
fix(app-proxy): update cap-app-proxy image tags to 1.3709.0 - simplif…
ATGardner Aug 21, 2025
2804894
fix(app-proxy): update cap-app-proxy image tags to 1.3718.0 (#678)
ATGardner Aug 24, 2025
2e26bd6
updated changes
ATGardner Aug 24, 2025
75bdeb0
updated cspd enrichers (#652)
vitalii-codefresh Aug 12, 2025
8648fd2
chore(CR-30232): updated oauth2, golang.org/x/net, github.com/cloudfl…
codefresh-v2-pipelines[bot] Aug 12, 2025
ec32a2e
using bitnamilegacy instead of bitnami (#653)
reggie-k Aug 14, 2025
5de8eb6
updated cli-v2, kubectl in runtime-installer (#661)
vitalii-codefresh Aug 14, 2025
a10cc92
updated nginx (#662)
vitalii-codefresh Aug 24, 2025
97197c9
updated changes
ATGardner Aug 24, 2025
4d50e95
ran prepare-release script
ATGardner Aug 26, 2025
c108a00
chore(app-proxy): update cap-app-proxy image tags to 1.3727.0 (#692)
ATGardner Sep 3, 2025
e03b757
update cli-v2 in installer - fix token validation code (#696)
ATGardner Sep 3, 2025
66ebda1
chore: update app-proxy image tags to 1.3727.0 and bump version to 0.…
ATGardner Sep 3, 2025
ab4e6c7
prepare-version(0.23.3): prepare chart content for release (#695)
codefresh-v2-pipelines[bot] Sep 3, 2025
67f143d
chore(app-proxy): update cap-app-proxy image tags to 1.3701.0 (#654)
ATGardner Aug 12, 2025
46706c4
test: update platform mock(me) (#656)
chen-keinan Aug 13, 2025
aa3a018
chore(app-proxy): update cap-app-proxy image tags to 1.3702.0 (#659)
ATGardner Aug 13, 2025
2c0e261
updated codefresh-gitops-operator (#666)
vitalii-codefresh Aug 14, 2025
cdd4916
bumped app-proxy to 1.3707.0 closed ha gaps (#667)
philipkotliyakov Aug 17, 2025
18db2c3
bumped argocd to 8.0.6-8-cap-v3.0.2-2025-08-12-9c8dfae9 (#664)
reggie-k Aug 17, 2025
f0456d9
chore: update values-ha example
mikhail-klimko Aug 20, 2025
680652f
chore: update README.md with HA example
mikhail-klimko Aug 20, 2025
ae72dc3
fix(app-proxy): update cap-app-proxy image tags to 1.3709.0 - simplif…
ATGardner Aug 21, 2025
6438bca
fix(app-proxy): update cap-app-proxy image tags to 1.3718.0 (#678)
ATGardner Aug 24, 2025
a186798
[gitops-operator]feature: conditional registration of the rgs controller
codefresh-v2-pipelines[bot] Aug 24, 2025
089654e
[gitops-operator]feat: conditional registration of the rgs controller
codefresh-v2-pipelines[bot] Aug 24, 2025
5c8ce75
[gitops-operator]feat: conditional registration of the rgs controller
codefresh-v2-pipelines[bot] Aug 24, 2025
9278d71
[gitops-operator]feat: conditional registration of the rgs controller
codefresh-v2-pipelines[bot] Aug 25, 2025
0793963
[gitops-operator]feat: conditional registration of the rgs controller
codefresh-v2-pipelines[bot] Aug 25, 2025
fb652ba
[gitops-operator]feat: conditional registration of the rgs controller
codefresh-v2-pipelines[bot] Aug 26, 2025
3da9e1e
[gitops-operator]feat: conditional registration of the rgs controller
codefresh-v2-pipelines[bot] Aug 26, 2025
aa3d959
[gitops-operator]feat: conditional registration of the rgs controller
codefresh-v2-pipelines[bot] Sep 4, 2025
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
6 changes: 0 additions & 6 deletions .github/workflows/component-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,9 @@ on:
push:
branches:
- main
paths-ignore:
- "*.md"
- charts/**
pull_request:
branches:
- main
paths-ignore:
- "*.md"
- charts/**

jobs:
component-test:
Expand Down
11 changes: 8 additions & 3 deletions charts/gitops-runtime/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: 0.1.72
appVersion: 0.1.75
description: A Helm chart for Codefresh gitops runtime
name: gitops-runtime
version: 0.0.0
version: '0.23.3'
home: https://github.com/codefresh-io/gitops-runtime-helm
icon: https://avatars1.githubusercontent.com/u/11412079?v=3
keywords:
Expand All @@ -13,11 +13,16 @@ maintainers:
url: https://codefresh-io.github.io/
annotations:
artifacthub.io/alternativeName: "codefresh-gitops-runtime"
artifacthub.io/changes: |-
- kind: changed
description: 'update cli-v2 in installer - fix token validation code (#696)'
- kind: changed
description: 'chore(app-proxy): update cap-app-proxy image tags to 1.3727.0 (#692) - fix: remote-cluster application fails to sync due to its project'
dependencies:
- name: argo-cd
repository: https://codefresh-io.github.io/argo-helm
condition: argo-cd.enabled
version: 8.0.6-6-cap-v3.0.2-2025-07-06-e9fc72a9
version: 8.0.6-8-cap-v3.0.2-2025-08-12-9c8dfae9
- name: argo-events
repository: https://codefresh-io.github.io/argo-helm
version: 2.4.8-cap-CR-29689
Expand Down
225 changes: 210 additions & 15 deletions charts/gitops-runtime/README.md

Large diffs are not rendered by default.

162 changes: 162 additions & 0 deletions charts/gitops-runtime/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,170 @@ sealed-secrets:
enabled: false
```

## High Availability

This chart installs the non-HA version of GitOps Runtime by default. If you want to run GitOps Runtime in HA mode, you can use the example values below:

> **Warning:**
> You need at least 3 worker nodes for HA mode

### HA mode with autoscaling

```yaml
global:
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule

app-proxy:
replicaCount: 2
pdb:
enabled: true
minAvailable: 1
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app: cap-app-proxy

gitops-operator:
replicaCount: 2
pdb:
enabled: true
minAvailable: 1
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app: gitops-operator

internal-router:
replicaCount: 2
pdb:
enabled: true
minAvailable: 1
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app: internal-router

cf-argocd-extras:
sourcesServer:
hpa:
enabled: true
minReplicas: 2
pdb:
enabled: true
minAvailable: 1
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/component: sources-server
eventReporter:
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/component: event-reporter

argo-cd:
redis-ha:
enabled: true

controller:
replicas: 1

server:
autoscaling:
enabled: true
minReplicas: 2
pdb:
enabled: true
minAvailable: 1

repoServer:
autoscaling:
enabled: true
minReplicas: 2
pdb:
enabled: true
minAvailable: 1

applicationSet:
replicas: 2

argo-workflows:
controller:
replicas: 2
pdb:
enabled: true
minAvailable: 1
server:
autoscaling:
enabled: true
minReplicas: 2
pdb:
enabled: true
minAvailable: 1

event-reporters:
workflow:
sensor:
replicas: 2
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: sensor-name
operator: In
values:
- workflow-reporter
topologyKey: "kubernetes.io/hostname"
rollout:
sensor:
replicas: 2
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: sensor-name
operator: In
values:
- rollout-reporter
topologyKey: "kubernetes.io/hostname"
```

## Upgrading

### To >=0.23.3

#### Manual fix in the ISC repository

If the ISC repository already contains the resources/app-projects/cf-runtime-app-project.yaml file it should be manually updated:
```yaml
...
spec:
destinations:
- namespace: '*'
server: "*" # <-- replace 'https://kubernetes.default.svc' with "*" here
...
```

### To 0.23.x

#### Affected values
Expand Down
45 changes: 0 additions & 45 deletions charts/gitops-runtime/tests/cf-argocd-extras_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -310,51 +310,6 @@ tests:
mountPath: /app/config/codefresh-tls-certs
readOnly: true

- it: Event Reporter checksum annotation should be changed when configmap is updated
template: cf-argocd-extras/event-reporter/statefulset.yaml
values:
- ./values/mandatory-values-ingress.yaml
set:
cf-argocd-extras.eventReporter.configMaps.cmd-params-cm.data.foo: bar
asserts:
- equal:
path: spec.template.metadata.annotations["checksum/config"]
value: "747ba21145c84900dd029f20a15e73096e090da7865b67b86601135d10d8cc18"


- it: Event Reporter checksum annotation should be changed when configmap is updated
template: cf-argocd-extras/event-reporter/statefulset.yaml
values:
- ./values/mandatory-values-ingress.yaml
set:
cf-argocd-extras.eventReporter.configMaps.cmd-params-cm.data.alice: bob
asserts:
- equal:
path: spec.template.metadata.annotations["checksum/config"]
value: "42a0e8eee09a1a411447be59e5b5a078d699560b4d93b62d388a1b622a463b18"

- it: Sources Server checksum annotation should be changed when configmap is updated
template: cf-argocd-extras/sources-server/deployment.yaml
values:
- ./values/mandatory-values-ingress.yaml
set:
cf-argocd-extras.sourcesServer.configMaps.cmd-params-cm.data.foo: bar
asserts:
- equal:
path: spec.template.metadata.annotations["checksum/config"]
value: "1aac0bdcb473209b67afca0d5ff7cb1d9b849748f82c76e53fd9a43c51456dc2"

- it: Sources Server checksum annotation should be changed when configmap is updated
template: cf-argocd-extras/sources-server/deployment.yaml
values:
- ./values/mandatory-values-ingress.yaml
set:
cf-argocd-extras.sourcesServer.configMaps.cmd-params-cm.data.alice: bob
asserts:
- equal:
path: spec.template.metadata.annotations["checksum/config"]
value: "cf799238e8fa77132860698833bfe00a6dce93ec57d994da59aa8be3909e61b5"

- it: Sources Server with external redis
template: cf-argocd-extras/sources-server/deployment.yaml
values:
Expand Down
3 changes: 1 addition & 2 deletions charts/gitops-runtime/values-ha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ global:
whenUnsatisfiable: DoNotSchedule

app-proxy:
# -- Set to 1 until https://codefresh-io.atlassian.net/browse/CR-29338 is resolved
replicaCount: 1
replicaCount: 2
pdb:
enabled: true
minAvailable: 1
Expand Down
Loading