Skip to content

Commit bda0d53

Browse files
Merge pull request #191 from codefresh-io/release-0.6.0
Release 0.6.0
2 parents 45aa5c2 + b45cdb3 commit bda0d53

File tree

9 files changed

+97
-13
lines changed

9 files changed

+97
-13
lines changed

Diff for: .gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ output
1313

1414
# ignore local dev
1515
values-dev.yaml
16-
dry-run.yaml
16+
dry-run.yaml
17+
values-test.yaml

Diff for: CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @codefresh-io/DevOps [email protected] [email protected]
1+

Diff for: charts/gitops-runtime/Chart.yaml

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
2-
appVersion: 0.1.45
2+
appVersion: 0.1.46
33
description: A Helm chart for Codefresh gitops runtime
44
name: gitops-runtime
5-
version: 0.5.3
5+
version: 0.6.0
66
home: https://github.com/codefresh-io/gitops-runtime-helm
77
icon: https://avatars1.githubusercontent.com/u/11412079?v=3
88
keywords:
@@ -14,12 +14,14 @@ maintainers:
1414
annotations:
1515
artifacthub.io/alternativeName: "codefresh-gitops-runtime"
1616
artifacthub.io/changes: |
17-
- kind: fixed
18-
description: "update argo-cd 5.53.12-10-cap-2.9-2024.4.10-dcc1723fd (fix default version config)"
17+
- kind: changed
18+
description: "update argo-cd 5.55.0-1-cap-2.10-2024.3.29-1dcc54e29"
19+
- kind: changed
20+
description: "update cap-app-proxy to 1.2751.1 (fix gitLog to support multiple branches)"
1921
dependencies:
2022
- name: argo-cd
2123
repository: https://codefresh-io.github.io/argo-helm
22-
version: 5.53.12-10-cap-2.9-2024.4.10-dcc1723fd
24+
version: 5.55.0-1-cap-2.10-2024.3.29-1dcc54e29
2325
- name: argo-events
2426
repository: https://codefresh-io.github.io/argo-helm
2527
version: 2.0.9-1-cap-CR-19893

Diff for: charts/gitops-runtime/README.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## Codefresh gitops runtime
2-
![Version: 0.5.3](https://img.shields.io/badge/Version-0.5.3-informational?style=flat-square) ![AppVersion: 0.1.45](https://img.shields.io/badge/AppVersion-0.1.45-informational?style=flat-square)
2+
![Version: 0.6.0](https://img.shields.io/badge/Version-0.6.0-informational?style=flat-square) ![AppVersion: 0.1.46](https://img.shields.io/badge/AppVersion-0.1.46-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.5.3 <local_registry>
30+
docker run -v <output_dir>:/output quay.io/codefresh/gitops-runtime-private-registry-utils:0.6.0 <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.2727.0"` | |
103+
| app-proxy.image.tag | string | `"1.2751.1"` | |
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.2727.0"` | |
110+
| app-proxy.initContainer.image.tag | string | `"1.2751.1"` | |
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"` | |
@@ -119,6 +119,9 @@ sealed-secrets:
119119
| app-proxy.livenessProbe.timeoutSeconds | int | `10` | Number of seconds after which the [probe] times out. |
120120
| app-proxy.nameOverride | string | `""` | |
121121
| app-proxy.nodeSelector | object | `{}` | |
122+
| app-proxy.pdb.enabled | bool | `false` | Enable PDB |
123+
| app-proxy.pdb.maxUnavailable | string | `""` | Set number of pods that are unavailable after eviction as number or percentage |
124+
| app-proxy.pdb.minAvailable | int | `1` | Set number of pods that are available after eviction as number or percentage |
122125
| app-proxy.podAnnotations | object | `{}` | |
123126
| app-proxy.podLabels | object | `{}` | |
124127
| app-proxy.podSecurityContext | object | `{}` | |
@@ -306,6 +309,9 @@ sealed-secrets:
306309
| internal-router.imagePullSecrets | list | `[]` | |
307310
| internal-router.nameOverride | string | `""` | |
308311
| internal-router.nodeSelector | object | `{}` | |
312+
| internal-router.pdb.enabled | bool | `false` | Enable PDB |
313+
| internal-router.pdb.maxUnavailable | string | `""` | Set number of pods that are unavailable after eviction as number or percentage |
314+
| internal-router.pdb.minAvailable | int | `1` | Set number of pods that are available after eviction as number or percentage |
309315
| internal-router.podAnnotations | object | `{}` | |
310316
| internal-router.podLabels | object | `{}` | |
311317
| internal-router.podSecurityContext | object | `{}` | |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{{- define "cap-app-proxy.resources.pdb" }}
2+
apiVersion: policy/v1
3+
kind: PodDisruptionBudget
4+
metadata:
5+
name: {{ include "cap-app-proxy.fullname" . }}
6+
labels:
7+
{{- include "cap-app-proxy.labels" . | nindent 4 }}
8+
spec:
9+
{{- if or .Values.pdb.minAvailable .Values.pdb.maxUnavailable }}
10+
{{- with .Values.pdb.minAvailable }}
11+
minAvailable: {{ . }}
12+
{{- end }}
13+
{{- with .Values.pdb.maxUnavailable }}
14+
maxUnavailable: {{ . }}
15+
{{- end }}
16+
{{- else }}
17+
{{- fail (printf "ERROR: pdb.minAvailable or pdb.maxUnavailable is required!" ) }}
18+
{{- end }}
19+
selector:
20+
matchLabels: {{- include "cap-app-proxy.selectorLabels" . | nindent 6 }}
21+
{{- end }}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{{- define "internal-router.resources.pdb" }}
2+
apiVersion: policy/v1
3+
kind: PodDisruptionBudget
4+
metadata:
5+
name: {{ include "internal-router.fullname" . }}
6+
labels:
7+
{{- include "internal-router.labels" . | nindent 4 }}
8+
spec:
9+
{{- if or .Values.pdb.minAvailable .Values.pdb.maxUnavailable }}
10+
{{- with .Values.pdb.minAvailable }}
11+
minAvailable: {{ . }}
12+
{{- end }}
13+
{{- with .Values.pdb.maxUnavailable }}
14+
maxUnavailable: {{ . }}
15+
{{- end }}
16+
{{- else }}
17+
{{- fail (printf "ERROR: pdb.minAvailable or pdb.maxUnavailable is required!" ) }}
18+
{{- end }}
19+
selector:
20+
matchLabels: {{- include "internal-router.selectorLabels" . | nindent 6 }}
21+
{{- end }}

Diff for: charts/gitops-runtime/templates/app-proxy/pdb.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{{- $appProxyContext := deepCopy . }}
2+
{{- $_ := set $appProxyContext "Values" (get .Values "app-proxy") }}
3+
{{- $_ := set $appProxyContext.Values "global" (get .Values "global") }}
4+
5+
{{- if $appProxyContext.Values.pdb.enabled }}
6+
{{- include "cap-app-proxy.resources.pdb" $appProxyContext }}
7+
{{- end }}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{{- $internalRouterContext := deepCopy . }}
2+
{{- $_ := set $internalRouterContext "Values" (get .Values "internal-router") }}
3+
{{- $_ := set $internalRouterContext.Values "global" (get .Values "global") }}
4+
5+
{{- if $internalRouterContext.Values.pdb.enabled }}
6+
{{- include "internal-router.resources.pdb" $internalRouterContext }}
7+
{{- end }}

Diff for: charts/gitops-runtime/values.yaml

+21-2
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,16 @@ internal-router:
420420
dnsService: kube-dns
421421
dnsNamespace: kube-system
422422
clusterDomain: cluster.local
423+
424+
## Internal-Router Pod Disruption Budget
425+
pdb:
426+
# -- Enable PDB
427+
enabled: false
428+
# -- Set number of pods that are available after eviction as number or percentage
429+
minAvailable: 1
430+
# -- Set number of pods that are unavailable after eviction as number or percentage
431+
maxUnavailable: ""
432+
423433
#-----------------------------------------------------------------------------------------------------------------------
424434
# tunnel client
425435
#-----------------------------------------------------------------------------------------------------------------------
@@ -483,15 +493,15 @@ app-proxy:
483493
tag: 1.1.10-main
484494
image:
485495
repository: quay.io/codefresh/cap-app-proxy
486-
tag: 1.2727.0
496+
tag: 1.2751.1
487497
pullPolicy: IfNotPresent
488498
# -- Extra volume mounts for main container
489499
extraVolumeMounts: []
490500

491501
initContainer:
492502
image:
493503
repository: quay.io/codefresh/cap-app-proxy-init
494-
tag: 1.2727.0
504+
tag: 1.2751.1
495505
pullPolicy: IfNotPresent
496506
command:
497507
- ./init.sh
@@ -588,6 +598,15 @@ app-proxy:
588598
# -- extra volumes
589599
extraVolumes: []
590600

601+
## App-Proxy Pod Disruption Budget
602+
pdb:
603+
# -- Enable PDB
604+
enabled: false
605+
# -- Set number of pods that are available after eviction as number or percentage
606+
minAvailable: 1
607+
# -- Set number of pods that are unavailable after eviction as number or percentage
608+
maxUnavailable: ""
609+
591610
#-----------------------------------------------------------------------------------------------------------------------
592611
# gitops-operator
593612
#-----------------------------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)