Skip to content

Commit 89bcc4d

Browse files
authored
Release-0.7.1 (#203)
* updated codefresh-gitops-operator chart to 1.0.17 * BREAKING CHANGE: no longer checking commit message for [promotion:<flow>] in operator side. making the check according to Product definition in the platform side * added argocd-notifications-controller as sidecar in gitops-operator pod * allow empty Release label on promotion-wrapper Workflow * updated cap-app-proxy to 1.2835.0 * Add garage for workflow artifacts and logs (disabled by default) * support multi-arch in tunnel-client
1 parent 49f94a2 commit 89bcc4d

File tree

9 files changed

+68
-22
lines changed

9 files changed

+68
-22
lines changed

charts/gitops-runtime/Chart.yaml

+18-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
2-
appVersion: 0.1.48
2+
appVersion: 0.1.49
33
description: A Helm chart for Codefresh gitops runtime
44
name: gitops-runtime
5-
version: 0.7.0
5+
version: 0.7.1
66
home: https://github.com/codefresh-io/gitops-runtime-helm
77
icon: https://avatars1.githubusercontent.com/u/11412079?v=3
88
keywords:
@@ -14,10 +14,16 @@ maintainers:
1414
annotations:
1515
artifacthub.io/alternativeName: "codefresh-gitops-runtime"
1616
artifacthub.io/changes: |
17-
- kind: security
18-
description: "Add redis authentication to ArgoCD"
1917
- kind: changed
20-
description: "Updated ArgoCD templates - please note that this version of the ArgoCD templates contains a breaking change for ArgoCD server ingress value structure - runtime ingress is not affected. Only relevant if argo-cd.server.ingress.enabled is true. For the new ingress value structure please see: https://github.com/codefresh-io/argo-helm/blob/f98f2f4d4aca081e7b26cbb1a3fcec138bb3d4ac/charts/argo-cd/values.yaml#L2126-L2329"
18+
description: "update codefresh-gitops-operator chart to 1.0.17 to allow missing promotion flow label"
19+
- kind: changed
20+
description: "updated cap-app-proxy to 1.2835.0"
21+
- kind: added
22+
description: garage as optional dependency for Argo workflows artifact and log storage
23+
- kind: fixed
24+
description: multiarch image for installer image used in hooks
25+
- kind: fixed
26+
description: multiarch frpc (codefresh-tunnel-client) image
2127
dependencies:
2228
- name: argo-cd
2329
repository: https://codefresh-io.github.io/argo-helm
@@ -38,11 +44,16 @@ dependencies:
3844
version: 2.14.1
3945
- name: codefresh-tunnel-client
4046
repository: oci://quay.io/codefresh/charts
41-
version: 0.1.15
47+
version: 0.1.16
4248
alias: tunnel-client
4349
condition: tunnel-client.enabled
4450
- name: codefresh-gitops-operator
4551
repository: oci://quay.io/codefresh/charts
46-
version: 1.0.13
52+
version: 1.0.17
4753
alias: gitops-operator
4854
condition: gitops-operator.enabled
55+
- name: garage
56+
repository: https://codefresh-io.github.io/garage
57+
alias: garage-workflows-artifact-storage
58+
version: 0.5.0-cf.1
59+
condition: garage-workflows-artifact-storage.enabled

charts/gitops-runtime/README.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## Codefresh gitops runtime
2-
![Version: 0.7.0](https://img.shields.io/badge/Version-0.7.0-informational?style=flat-square) ![AppVersion: 0.1.48](https://img.shields.io/badge/AppVersion-0.1.48-informational?style=flat-square)
2+
![Version: 0.7.1](https://img.shields.io/badge/Version-0.7.1-informational?style=flat-square) ![AppVersion: 0.1.49](https://img.shields.io/badge/AppVersion-0.1.49-informational?style=flat-square)
33

44
## Prerequisites
55

@@ -27,7 +27,7 @@ We have created a helper utility to resolve this issue:
2727
The utility is packaged in a container image. Below are instructions on executing the utility using Docker:
2828

2929
```
30-
docker run -v <output_dir>:/output quay.io/codefresh/gitops-runtime-private-registry-utils:0.7.0 <local_registry>
30+
docker run -v <output_dir>:/output quay.io/codefresh/gitops-runtime-private-registry-utils:0.7.1 <local_registry>
3131
```
3232
`output_dir` - is a local directory where the utility will output files. <br>
3333
`local_registry` - is your local registry where you want to mirror the images to
@@ -100,14 +100,14 @@ sealed-secrets:
100100
| 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 |
101101
| app-proxy.image.pullPolicy | string | `"IfNotPresent"` | |
102102
| app-proxy.image.repository | string | `"quay.io/codefresh/cap-app-proxy"` | |
103-
| app-proxy.image.tag | string | `"1.2825.1"` | |
103+
| app-proxy.image.tag | string | `"1.2835.0"` | |
104104
| app-proxy.imagePullSecrets | list | `[]` | |
105105
| app-proxy.initContainer.command[0] | string | `"./init.sh"` | |
106106
| app-proxy.initContainer.env | object | `{}` | |
107107
| app-proxy.initContainer.extraVolumeMounts | list | `[]` | Extra volume mounts for init container |
108108
| app-proxy.initContainer.image.pullPolicy | string | `"IfNotPresent"` | |
109109
| app-proxy.initContainer.image.repository | string | `"quay.io/codefresh/cap-app-proxy-init"` | |
110-
| app-proxy.initContainer.image.tag | string | `"1.2825.1"` | |
110+
| app-proxy.initContainer.image.tag | string | `"1.2835.0"` | |
111111
| app-proxy.initContainer.resources.limits.cpu | string | `"1"` | |
112112
| app-proxy.initContainer.resources.limits.memory | string | `"512Mi"` | |
113113
| app-proxy.initContainer.resources.requests.cpu | string | `"0.2"` | |
@@ -233,6 +233,13 @@ sealed-secrets:
233233
| event-reporters.workflow.sensor.retryStrategy.steps | int | `3` | Number of retries |
234234
| event-reporters.workflow.sensor.tolerations | list | `[]` | |
235235
| event-reporters.workflow.serviceAccount.create | bool | `true` | |
236+
| 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":{}}` | Builtin Workflows artifacts storage solution. Local S3 backed by local persistence with (PV and PVC) |
237+
| garage-workflows-artifact-storage.deployment.kind | string | `"StatefulSet"` | Only statefulset is supported for Codefresh gitops runtime. Do not change this |
238+
| garage-workflows-artifact-storage.persistence.data | object | `{"size":"100Mi","storageClass":""}` | Volume that stores artifacts and logs for workflows |
239+
| garage-workflows-artifact-storage.persistence.data.storageClass | string | `""` | When empty value empty the default storage class for the cluster will be used |
240+
| garage-workflows-artifact-storage.persistence.meta | object | `{"size":"100Mi","storageClass":""}` | Volume that stores cluster metadata |
241+
| garage-workflows-artifact-storage.persistence.meta.storageClass | string | `""` | When empty value empty the default storage class for the cluster will be used |
242+
| 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. |
236243
| gitops-operator.affinity | object | `{}` | |
237244
| gitops-operator.crds | object | `{"additionalLabels":{},"annotations":{},"install":true,"keep":false}` | Codefresh gitops operator crds |
238245
| gitops-operator.crds.additionalLabels | object | `{}` | Additional labels for gitops operator CRDs |

charts/gitops-runtime/ci/values-all-images.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,7 @@ argo-cd:
3535
enabled: true
3636
redis:
3737
exporter:
38-
enabled: true
38+
enabled: true
39+
40+
garage-workflows-artifact-storage:
41+
enabled: true
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
global:
22
codefresh:
3-
accountId: 628a80b693a15c0f9c13ab75 # Codefresh Account id for ilia-codefresh for now, needs to be some test account
3+
accountId: 628a80b693a15c0f9c13ab75
44
userToken:
55
token: 'dummy'
66

@@ -10,4 +10,4 @@ global:
1010
ingress:
1111
enabled: true
1212
hosts:
13-
- test.example.com
13+
- test.example.com
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
global:
22
codefresh:
3-
accountId: 628a80b693a15c0f9c13ab75 # Codefresh Account id for ilia-codefresh for now, needs to be some test account
3+
accountId: 628a80b693a15c0f9c13ab75
44

55
runtime:
66
name: test-runtime1
77

88
ingress:
9-
enabled: false
9+
enabled: false
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
global:
22
codefresh:
3-
accountId: 628a80b693a15c0f9c13ab75 # Codefresh Account id for ilia-codefresh for now, needs to be some test account
3+
accountId: 628a80b693a15c0f9c13ab75
44
userToken:
55
token: 'dummy'
66

77
runtime:
88
name: test-runtime1
99
ingress:
10-
enabled: false
10+
enabled: false

charts/gitops-runtime/values.yaml

+27-2
Original file line numberDiff line numberDiff line change
@@ -494,15 +494,15 @@ app-proxy:
494494
tag: 1.1.10-main
495495
image:
496496
repository: quay.io/codefresh/cap-app-proxy
497-
tag: 1.2825.1
497+
tag: 1.2835.0
498498
pullPolicy: IfNotPresent
499499
# -- Extra volume mounts for main container
500500
extraVolumeMounts: []
501501

502502
initContainer:
503503
image:
504504
repository: quay.io/codefresh/cap-app-proxy-init
505-
tag: 1.2825.1
505+
tag: 1.2835.0
506506
pullPolicy: IfNotPresent
507507
command:
508508
- ./init.sh
@@ -675,3 +675,28 @@ gitops-operator:
675675
requests:
676676
cpu: 100m
677677
memory: 64Mi
678+
# -- Builtin Workflows artifacts storage solution. Local S3 backed by local persistence with (PV and PVC)
679+
garage-workflows-artifact-storage:
680+
fullnameOverride: garage
681+
enabled: false
682+
deployment:
683+
# -- Only statefulset is supported for Codefresh gitops runtime. Do not change this
684+
kind: StatefulSet
685+
replicaCount: 3
686+
garage:
687+
#-- Default to 3 replicas, see the replication_mode section at https://garagehq.deuxfleurs.fr/documentation/reference-manual/configuration/#replication-mode
688+
replicationMode: 3
689+
persistence:
690+
enabled: true
691+
# -- Volume that stores cluster metadata
692+
meta:
693+
# -- When empty value empty the default storage class for the cluster will be used
694+
storageClass: ""
695+
size: 100Mi
696+
# -- Volume that stores artifacts and logs for workflows
697+
data:
698+
# -- When empty value empty the default storage class for the cluster will be used
699+
storageClass: ""
700+
size: 100Mi
701+
# -- Resources for garage pods. For smaller deployments at least 100m CPU and 1024Mi memory is reccommended. For larger deployments double this size.
702+
resources: {}

installer-image/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM debian:bullseye-slim
1+
FROM debian:bullseye-slim
22

33
ARG CF_CLI_VERSION=v0.1.60
44
ARG KUBECTL_VERSION=v1.27.2

scripts/private-registry-utils/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM python:3.11.3-slim-bullseye
1+
FROM python:3.11.3-slim-bullseye
22
ARG TARGETARCH
33
RUN cd /tmp && python3 -c "from urllib.request import urlretrieve; urlretrieve('https://get.helm.sh/helm-v3.12.0-linux-${TARGETARCH}.tar.gz', 'helm-v3.12.0-linux-${TARGETARCH}.tar.gz')" && tar -xvf helm-v3.12.0-linux-${TARGETARCH}.tar.gz && chmod +x linux-${TARGETARCH}/helm && mv linux-${TARGETARCH}/helm /usr/local/bin/helm && rm -rf /tmp/*
44
COPY charts/gitops-runtime /chart

0 commit comments

Comments
 (0)