Skip to content

Commit ab4e6c7

Browse files
codefresh-v2-pipelines[bot]cf-ci-bot-v2ATGardner
authored
prepare-version(0.23.3): prepare chart content for release (#695)
* edited the README to add upgrading instructions --------- Co-authored-by: cf-ci-bot-v2 <cf-ci-bot-v2@codefresh.io> Co-authored-by: Noam Gal <noam.gal@octopus.com>
1 parent 66ebda1 commit ab4e6c7

File tree

4 files changed

+82
-20
lines changed

4 files changed

+82
-20
lines changed

charts/gitops-runtime/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ annotations:
1717
- kind: changed
1818
description: 'update cli-v2 in installer - fix token validation code (#696)'
1919
- kind: changed
20-
description: 'update cap-app-proxy image tags to 1.3727.0 (#692) - fix: remote-cluster application fails to sync due to its project'
20+
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'
2121
dependencies:
2222
- name: argo-cd
2323
repository: https://codefresh-io.github.io/argo-helm

charts/gitops-runtime/README.md

Lines changed: 55 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,20 @@ sealed-secrets:
191191

192192
## Upgrading
193193

194+
### To >=0.23.3
195+
196+
#### Manual fix in the ISC repository
197+
198+
If the ISC repository already contains the resources/app-projects/cf-runtime-app-project.yaml file it should be manually updated:
199+
```yaml
200+
...
201+
spec:
202+
destinations:
203+
- namespace: '*'
204+
server: "*" # <-- replace 'https://kubernetes.default.svc' with "*" here
205+
...
206+
```
207+
194208
### To 0.23.x
195209

196210
#### Affected values
@@ -311,13 +325,36 @@ gitops-operator:
311325
| app-proxy.serviceMonitor.labels | object | `{}` | |
312326
| app-proxy.serviceMonitor.name | string | `""` | |
313327
| app-proxy.tolerations | list | `[]` | |
314-
| argo-cd | object | `{"applicationVersioning":{"enabled":true,"useApplicationConfiguration":true},"configs":{"cm":{"accounts.admin":"apiKey,login","application.resourceTrackingMethod":"annotation+label","resource.customizations.actions.argoproj.io_Rollout":"mergeBuiltinActions: true\ndiscovery.lua: |\n actions = {}\n local fullyPromoted = obj.status.currentPodHash == obj.status.stableRS\n actions[\"pause\"] = {[\"disabled\"] = fullyPromoted or obj.spec.paused == true}\n actions[\"skip-current-step\"] = {[\"disabled\"] = obj.spec.strategy.canary == nil or obj.spec.strategy.canary.steps == nil or obj.status.currentStepIndex == table.getn(obj.spec.strategy.canary.steps)}\n return actions\ndefinitions:\n- name: pause\n action.lua: |\n obj.spec.paused = true\n return obj\n- name: skip-current-step\n action.lua: |\n if obj.status ~= nil then\n if obj.spec.strategy.canary ~= nil and obj.spec.strategy.canary.steps ~= nil and obj.status.currentStepIndex < table.getn(obj.spec.strategy.canary.steps) then\n if obj.status.pauseConditions ~= nil and table.getn(obj.status.pauseConditions) > 0 then\n obj.status.pauseConditions = nil\n end\n obj.status.currentStepIndex = obj.status.currentStepIndex + 1\n end\n end\n return obj\n","timeout.reconciliation":"20s"},"params":{"application.namespaces":"cf-*","server.insecure":true}},"crds":{"install":true},"enabled":true,"fullnameOverride":"argo-cd"}` | ------------------------------------------------------------------------------------------------------------------- |
315328
| argo-cd.applicationVersioning.enabled | bool | `true` | Enable application versioning |
316329
| argo-cd.applicationVersioning.useApplicationConfiguration | bool | `true` | Extract application version based on ApplicationConfiguration CRD |
317-
| argo-events | object | `{"configs":{"jetstream":{"versions":[{"configReloaderImage":"natsio/nats-server-config-reloader:0.18.2","metricsExporterImage":"natsio/prometheus-nats-exporter:0.16.0","natsImage":"nats:2.11.4","startCommand":"/nats-server","version":"latest"}]},"nats":{"versions":[{"metricsExporterImage":"natsio/prometheus-nats-exporter:0.16.0","natsStreamingImage":"nats-streaming:0.25.6","version":"0.22.1"}]}},"crds":{"install":false},"fullnameOverride":"argo-events"}` | ------------------------------------------------------------------------------------------------------------------- |
318-
| argo-rollouts | object | `{"controller":{"replicas":1},"enabled":true,"fullnameOverride":"argo-rollouts","installCRDs":true}` | ------------------------------------------------------------------------------------------------------------------- |
319-
| argo-workflows | object | `{"crds":{"install":true},"enabled":true,"executor":{"resources":{"requests":{"ephemeral-storage":"10Mi"}}},"fullnameOverride":"argo","mainContainer":{"resources":{"requests":{"ephemeral-storage":"10Mi"}}},"server":{"authModes":["client"],"baseHref":"/workflows/"}}` | ------------------------------------------------------------------------------------------------------------------- |
330+
| argo-cd.configs.cm."accounts.admin" | string | `"apiKey,login"` | |
331+
| argo-cd.configs.cm."application.resourceTrackingMethod" | string | `"annotation+label"` | |
332+
| argo-cd.configs.cm."resource.customizations.actions.argoproj.io_Rollout" | string | `"mergeBuiltinActions: true\ndiscovery.lua: |\n actions = {}\n local fullyPromoted = obj.status.currentPodHash == obj.status.stableRS\n actions[\"pause\"] = {[\"disabled\"] = fullyPromoted or obj.spec.paused == true}\n actions[\"skip-current-step\"] = {[\"disabled\"] = obj.spec.strategy.canary == nil or obj.spec.strategy.canary.steps == nil or obj.status.currentStepIndex == table.getn(obj.spec.strategy.canary.steps)}\n return actions\ndefinitions:\n- name: pause\n action.lua: |\n obj.spec.paused = true\n return obj\n- name: skip-current-step\n action.lua: |\n if obj.status ~= nil then\n if obj.spec.strategy.canary ~= nil and obj.spec.strategy.canary.steps ~= nil and obj.status.currentStepIndex < table.getn(obj.spec.strategy.canary.steps) then\n if obj.status.pauseConditions ~= nil and table.getn(obj.status.pauseConditions) > 0 then\n obj.status.pauseConditions = nil\n end\n obj.status.currentStepIndex = obj.status.currentStepIndex + 1\n end\n end\n return obj\n"` | |
333+
| argo-cd.configs.cm."timeout.reconciliation" | string | `"20s"` | |
334+
| argo-cd.configs.params."application.namespaces" | string | `"cf-*"` | |
335+
| argo-cd.configs.params."server.insecure" | bool | `true` | |
336+
| argo-cd.crds.install | bool | `true` | |
337+
| argo-cd.enabled | bool | `true` | |
338+
| argo-cd.fullnameOverride | string | `"argo-cd"` | |
339+
| argo-events.configs.jetstream.versions[0].configReloaderImage | string | `"natsio/nats-server-config-reloader:0.18.2"` | |
340+
| argo-events.configs.jetstream.versions[0].metricsExporterImage | string | `"natsio/prometheus-nats-exporter:0.16.0"` | |
341+
| argo-events.configs.jetstream.versions[0].natsImage | string | `"nats:2.11.4"` | |
342+
| argo-events.configs.jetstream.versions[0].startCommand | string | `"/nats-server"` | |
343+
| argo-events.configs.jetstream.versions[0].version | string | `"latest"` | |
344+
| argo-events.configs.nats.versions[0].metricsExporterImage | string | `"natsio/prometheus-nats-exporter:0.16.0"` | |
345+
| argo-events.configs.nats.versions[0].natsStreamingImage | string | `"nats-streaming:0.25.6"` | |
346+
| argo-events.configs.nats.versions[0].version | string | `"0.22.1"` | |
347+
| argo-events.crds.install | bool | `false` | |
348+
| argo-events.fullnameOverride | string | `"argo-events"` | |
349+
| argo-rollouts.controller.replicas | int | `1` | |
350+
| argo-rollouts.enabled | bool | `true` | |
351+
| argo-rollouts.fullnameOverride | string | `"argo-rollouts"` | |
352+
| argo-rollouts.installCRDs | bool | `true` | |
320353
| argo-workflows.crds.install | bool | `true` | Install and upgrade CRDs |
354+
| argo-workflows.enabled | bool | `true` | |
355+
| argo-workflows.executor.resources.requests.ephemeral-storage | string | `"10Mi"` | |
356+
| argo-workflows.fullnameOverride | string | `"argo"` | |
357+
| argo-workflows.mainContainer.resources.requests.ephemeral-storage | string | `"10Mi"` | |
321358
| argo-workflows.server.authModes | list | `["client"]` | auth-mode needs to be set to client to be able to see workflow logs from Codefresh UI |
322359
| 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. |
323360
| cf-argocd-extras | object | `{"eventReporter":{"affinity":{},"container":{"image":{"registry":"quay.io","repository":"codefresh/cf-argocd-extras","tag":"v0.5.14"}},"enabled":true,"nodeSelector":{},"pdb":{"enabled":false,"maxUnavailable":"","minAvailable":"50%"},"resources":{"requests":{"cpu":"100m","memory":"128Mi"}},"serviceMonitor":{"main":{"enabled":false}},"tolerations":[]},"sourcesServer":{"affinity":{},"container":{"image":{"registry":"quay.io","repository":"codefresh/cf-argocd-extras","tag":"v0.5.14"}},"enabled":true,"hpa":{"enabled":false,"maxReplicas":10,"minReplicas":1,"targetCPUUtilizationPercentage":70},"nodeSelector":{},"pdb":{"enabled":false,"maxUnavailable":"","minAvailable":"50%"},"resources":{"requests":{"cpu":"100m","memory":"128Mi"}},"tolerations":[]}}` | Codefresh extra services for ArgoCD |
@@ -502,7 +539,19 @@ gitops-operator:
502539
| internal-router.serviceAccount.create | bool | `true` | |
503540
| internal-router.serviceAccount.name | string | `""` | |
504541
| internal-router.tolerations | list | `[]` | |
505-
| sealed-secrets | object | `{"fullnameOverride":"sealed-secrets-controller","image":{"registry":"quay.io","repository":"codefresh/sealed-secrets-controller","tag":"0.29.0"},"keyrenewperiod":"720h","resources":{"limits":{"cpu":"500m","memory":"1Gi"},"requests":{"cpu":"200m","memory":"512Mi"}}}` | ------------------------------------------------------------------------------------------------------------------- |
506-
| tunnel-client | object | `{"affinity":{},"enabled":true,"libraryMode":true,"nodeSelector":{},"tolerations":[],"tunnelServer":{"host":"register-tunnels.cf-cd.com","subdomainHost":"tunnels.cf-cd.com"}}` | ------------------------------------------------------------------------------------------------------------------- |
542+
| sealed-secrets.fullnameOverride | string | `"sealed-secrets-controller"` | |
543+
| sealed-secrets.image.registry | string | `"quay.io"` | |
544+
| sealed-secrets.image.repository | string | `"codefresh/sealed-secrets-controller"` | |
545+
| sealed-secrets.image.tag | string | `"0.29.0"` | |
546+
| sealed-secrets.keyrenewperiod | string | `"720h"` | |
547+
| sealed-secrets.resources.limits.cpu | string | `"500m"` | |
548+
| sealed-secrets.resources.limits.memory | string | `"1Gi"` | |
549+
| sealed-secrets.resources.requests.cpu | string | `"200m"` | |
550+
| sealed-secrets.resources.requests.memory | string | `"512Mi"` | |
551+
| tunnel-client.affinity | object | `{}` | |
507552
| tunnel-client.enabled | bool | `true` | Will only be used if global.runtime.ingress.enabled = false |
508553
| tunnel-client.libraryMode | bool | `true` | Do not change this value! Breaks chart logic |
554+
| tunnel-client.nodeSelector | object | `{}` | |
555+
| tunnel-client.tolerations | list | `[]` | |
556+
| tunnel-client.tunnelServer.host | string | `"register-tunnels.cf-cd.com"` | |
557+
| tunnel-client.tunnelServer.subdomainHost | string | `"tunnels.cf-cd.com"` | |

charts/gitops-runtime/README.md.gotmpl

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,20 @@ sealed-secrets:
195195

196196
## Upgrading
197197

198+
### To >=0.23.3
199+
200+
#### Manual fix in the ISC repository
201+
202+
If the ISC repository already contains the resources/app-projects/cf-runtime-app-project.yaml file it should be manually updated:
203+
```yaml
204+
...
205+
spec:
206+
destinations:
207+
- namespace: '*'
208+
server: "*" # <-- replace 'https://kubernetes.default.svc' with "*" here
209+
...
210+
```
211+
198212
### To 0.23.x
199213

200214
#### Affected values

charts/gitops-runtime/values.yaml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,9 @@ installer:
215215
nodeSelector: {}
216216
tolerations: []
217217
affinity: {}
218-
# ---------------------------------------------------------------------------------------------------------------------
218+
# *********************************************************************************************************************
219219
# DOCS: https://artifacthub.io/packages/helm/bitnami-labs/sealed-secrets/2.17.2?modal=values
220-
# ---------------------------------------------------------------------------------------------------------------------
220+
# *********************************************************************************************************************
221221
sealed-secrets:
222222
fullnameOverride: sealed-secrets-controller
223223
keyrenewperiod: "720h"
@@ -232,9 +232,9 @@ sealed-secrets:
232232
requests:
233233
cpu: 200m
234234
memory: 512Mi
235-
# ---------------------------------------------------------------------------------------------------------------------
235+
# *********************************************************************************************************************
236236
# DOCS: https://github.com/codefresh-io/argo-helm/blob/argo-cd-8.0.6-6-cap-v3.0.2-2025-07-06-e9fc72a9/charts/argo-cd
237-
# ---------------------------------------------------------------------------------------------------------------------
237+
# *********************************************************************************************************************
238238
argo-cd:
239239
enabled: true
240240
fullnameOverride: argo-cd
@@ -277,10 +277,9 @@ argo-cd:
277277
enabled: true
278278
# -- Extract application version based on ApplicationConfiguration CRD
279279
useApplicationConfiguration: true
280-
281-
# ---------------------------------------------------------------------------------------------------------------------
280+
# *********************************************************************************************************************
282281
# DOCS: https://github.com/codefresh-io/argo-helm/blob/argo-events-2.4.8-cap-CR-29689/charts/argo-events
283-
# ---------------------------------------------------------------------------------------------------------------------
282+
# *********************************************************************************************************************
284283
argo-events:
285284
fullnameOverride: argo-events
286285
crds:
@@ -298,9 +297,9 @@ argo-events:
298297
metricsExporterImage: natsio/prometheus-nats-exporter:0.16.0
299298
configReloaderImage: natsio/nats-server-config-reloader:0.18.2
300299
startCommand: /nats-server
301-
# ---------------------------------------------------------------------------------------------------------------------
300+
# *********************************************************************************************************************
302301
# DOCS: https://github.com/codefresh-io/argo-helm/blob/argo-workflows-0.45.15-v3.6.7-cap-CR-28355/charts/argo-workflows
303-
# ---------------------------------------------------------------------------------------------------------------------
302+
# *********************************************************************************************************************
304303
argo-workflows:
305304
fullnameOverride: argo
306305
enabled: true
@@ -328,9 +327,9 @@ codefreshWorkflowLogStoreCM:
328327
enabled: true
329328
endpoint: gitops-workflow-logs.codefresh.io
330329
insecure: false
331-
# ---------------------------------------------------------------------------------------------------------------------
330+
# *********************************************************************************************************************
332331
# DOCS: https://github.com/codefresh-io/argo-helm/blob/argo-rollouts-2.37.3-6-v1.7.2-cap-CR-29629/charts/argo-rollouts
333-
# ---------------------------------------------------------------------------------------------------------------------
332+
# *********************************************************************************************************************
334333
argo-rollouts:
335334
enabled: true
336335
fullnameOverride: argo-rollouts
@@ -500,9 +499,9 @@ internal-router:
500499
minAvailable: 1
501500
# -- Set number of pods that are unavailable after eviction as number or percentage
502501
maxUnavailable: ""
503-
# ---------------------------------------------------------------------------------------------------------------------
502+
# *********************************************************************************************************************
504503
# DOCS: https://github.com/codefresh-io/codefresh-tunnel-charts/blob/codefresh-tunnel-client-0.1.21-helm/codefresh-tunnel-client/values.yaml
505-
# ---------------------------------------------------------------------------------------------------------------------
504+
# *********************************************************************************************************************
506505
tunnel-client:
507506
# -- Will only be used if global.runtime.ingress.enabled = false
508507
enabled: true

0 commit comments

Comments
 (0)