Skip to content

Commit 3a72c7e

Browse files
merge main
2 parents 12f2d6d + 33e7bb8 commit 3a72c7e

File tree

101 files changed

+2472
-3122
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+2472
-3122
lines changed

charts/gitops-runtime/Chart.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ dependencies:
1717
- name: argo-cd
1818
repository: https://codefresh-io.github.io/argo-helm
1919
condition: argo-cd.enabled
20-
version: 8.0.6-8-cap-v3.0.2-2025-09-07-cdf75df5
20+
version: 8.0.6-9-cap-v3.0.2-2025-09-08-9b30d922
2121
- name: argo-events
2222
repository: https://codefresh-io.github.io/argo-helm
2323
version: 2.4.9-cap-CR-30841
24+
condition: argo-events.enabled
2425
- name: argo-workflows
2526
repository: https://codefresh-io.github.io/argo-helm
2627
version: 0.45.16-v3.6.7-cap-CR-30835
@@ -37,9 +38,6 @@ dependencies:
3738
version: 0.1.22
3839
alias: tunnel-client
3940
condition: tunnel-client.enabled
40-
- name: cf-common
41-
repository: oci://quay.io/codefresh/charts
42-
version: 0.27.0
4341
- name: redis-ha
4442
version: 4.33.4
4543
repository: https://dandydeveloper.github.io/charts/

charts/gitops-runtime/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,14 +411,14 @@ redis-ha:
411411
| 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 |
412412
| app-proxy.image.pullPolicy | string | `"IfNotPresent"` | |
413413
| app-proxy.image.repository | string | `"quay.io/codefresh/cap-app-proxy"` | |
414-
| app-proxy.image.tag | string | `"1.3772.0"` | |
414+
| app-proxy.image.tag | string | `"1.3791.0"` | |
415415
| app-proxy.imagePullSecrets | list | `[]` | |
416416
| app-proxy.initContainer.command[0] | string | `"./init.sh"` | |
417417
| app-proxy.initContainer.env | object | `{}` | |
418418
| app-proxy.initContainer.extraVolumeMounts | list | `[]` | Extra volume mounts for init container |
419419
| app-proxy.initContainer.image.pullPolicy | string | `"IfNotPresent"` | |
420420
| app-proxy.initContainer.image.repository | string | `"quay.io/codefresh/cap-app-proxy-init"` | |
421-
| app-proxy.initContainer.image.tag | string | `"1.3772.0"` | |
421+
| app-proxy.initContainer.image.tag | string | `"1.3791.0"` | |
422422
| app-proxy.initContainer.resources.limits | object | `{}` | |
423423
| app-proxy.initContainer.resources.requests.cpu | string | `"0.2"` | |
424424
| app-proxy.initContainer.resources.requests.memory | string | `"256Mi"` | |
@@ -577,10 +577,11 @@ redis-ha:
577577
| gitops-operator.crds.keep | bool | `false` | Keep CRDs if gitops runtime release is uninstalled |
578578
| gitops-operator.enabled | bool | `true` | |
579579
| gitops-operator.env.GITOPS_OPERATOR_VERSION | string | `"0.11.1"` | |
580+
| gitops-operator.env.GITOPS_OPERATOR_VERSION | string | `"0.11.1"` | |
580581
| gitops-operator.fullnameOverride | string | `""` | |
581582
| gitops-operator.image.registry | string | `"quay.io"` | defaults |
582583
| gitops-operator.image.repository | string | `"codefresh/codefresh-gitops-operator"` | |
583-
| gitops-operator.image.tag | string | `"18fcd09"` | |
584+
| gitops-operator.image.tag | string | `"3ac2676"` | |
584585
| gitops-operator.imagePullSecrets | list | `[]` | |
585586
| gitops-operator.nameOverride | string | `""` | |
586587
| gitops-operator.nodeSelector | object | `{}` | |

charts/gitops-runtime/templates/_components/cap-app-proxy/_config.yaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
1-
{{- define "cap-app-proxy.resources.configmap-documented-configs"}}
2-
argoCdUrl: {{ .Values.config.argoCdUrl }}
3-
argoCdUsername: {{ .Values.config.argoCdUsername }}
1+
{{- define "cap-app-proxy.resources.configmap-documented-configs" }}
42
argoWorkflowsInsecure: {{ .Values.config.argoWorkflowsInsecure | quote }}
5-
argoWorkflowsUrl: {{ default "" .Values.config.argoWorkflowsUrl }}
3+
clusterChunkSize: {{ .Values.config.clusterChunkSize | quote }}
64
cors: {{ .Values.global.codefresh.url }}
7-
{{- with .Values.config.clusterChunkSize }}
8-
clusterChunkSize: {{ . | quote }}
9-
{{- end }}
10-
env: {{ .Values.config.env | quote}}
115
isConfigurationRuntime: {{ .Values.global.runtime.isConfigurationRuntime | quote }}
126
isExternalArgoCD: {{ .Values.global.runtime.isExternalArgoCD | quote }}
137
runtimeName: {{ required "global.runtime.name is required" .Values.global.runtime.name | quote}}
14-
skipGitPermissionValidation: {{ .Values.config.skipGitPermissionValidation | quote }}
8+
isNamespacedRuntime: {{ .Values.global.runtime.singleNamespace | quote }}
159
logLevel: {{ .Values.config.logLevel | quote }}
1610
{{- $enrichmentValues := get .Values "image-enrichment" }}
1711
{{- if $enrichmentValues.enabled }}
@@ -30,7 +24,7 @@ enrichmentJiraEnrichmentImage: {{ printf "%s/%s:%s" $enrichmentValues.config.ima
3024

3125
{{- define "cap-app-proxy.resources.configmap" }}
3226
{{- $documentedConfigs := (include "cap-app-proxy.resources.configmap-documented-configs" . | fromYaml ) }}
33-
{{- $overrides := omit .Values.config "clusterChunkSize" }}
27+
{{- $overrides := omit .Values.config "argoWorkflowsInsecure" "clusterChunkSize" "cors" }}
3428
{{- $mergedConfig := mergeOverwrite $documentedConfigs $overrides }}
3529
apiVersion: v1
3630
kind: ConfigMap

charts/gitops-runtime/templates/_components/cap-app-proxy/_deployment.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{{- define "cap-app-proxy.resources.deployment" }}
2-
{{- $cfCommonTplSemver := printf "cf-common-%s" (index .Subcharts "cf-common").Chart.Version }}
32
apiVersion: apps/v1
43
kind: Deployment
54
metadata:
@@ -89,7 +88,7 @@ spec:
8988
readOnly: true
9089
{{- if gt (int .Values.replicaCount) 1 }}
9190
- name: leader-elector
92-
image: {{ include (printf "%s.image.name" $cfCommonTplSemver ) (dict "image" (index .Values "leader-elector" "image") "context" .) }}
91+
image: {{ include "codefresh-gitops-runtime.image.name" (dict "image" (index .Values "leader-elector" "image") "context" .) }}
9392
imagePullPolicy: {{ index .Values "leader-elector" "image" "pullPolicy" | default "IfNotPresent" }}
9493
command:
9594
- leader-elector
@@ -154,7 +153,7 @@ spec:
154153
{{- toYaml . | nindent 6 }}
155154
{{- end }}
156155
{{- with .Values.topologySpreadConstraints }}
157-
topologySpreadConstraints: {{- include (printf "%s.tplrender" $cfCommonTplSemver ) (dict "Values" . "context" .) | nindent 8 }}
156+
topologySpreadConstraints: {{- include "codefresh-gitops-runtime.tplrender" (dict "Values" . "context" .) | nindent 8 }}
158157
{{- end }}
159158
volumes:
160159
{{- with .Values.extraVolumes }}

charts/gitops-runtime/templates/_components/cap-app-proxy/environment-variables/_main-container.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ ARGO_CD_URL:
55
name: cap-app-proxy-cm
66
key: argoCdUrl
77
optional: true
8-
ARGO_CD_TOKEN: {{ include "codefresh-gitops-runtime.argocd.server.token" . | nindent 2 }}
9-
ARGO_CD_USERNAME: {{ include "codefresh-gitops-runtime.argocd.server.username-env-var" . | nindent 2 }}
10-
ARGO_CD_PASSWORD: {{ include "codefresh-gitops-runtime.argocd.server.password" . | nindent 2 }}
118
ARGO_WORKFLOWS_INSECURE:
129
valueFrom:
1310
configMapKeyRef:
@@ -231,8 +228,9 @@ CACHE_PASSWORD:
231228
Read defaults from the template above and merge with the values provided in values file
232229
*/}}
233230
{{- define "cap-app-proxy.environment-variables" -}}
234-
{{- $defaults := (include "cap-app-proxy.environment-variables.defaults" . | fromYaml) }}
235-
{{- $overrides := .Values.env }}
236-
{{- $mergedValues := mergeOverwrite $defaults $overrides }}
237-
{{- include "codefresh-gitops-runtime.components.common_helpers.container-templates.env-vars" $mergedValues }}
231+
{{- $defaults := (include "cap-app-proxy.environment-variables.defaults" . | fromYaml) }}
232+
{{- $argoCdAuth := (include "codefresh-gitops-runtime.argocd-auth" . | fromYaml) }}
233+
{{- $overrides := .Values.env }}
234+
{{- $mergedValues := mergeOverwrite $defaults $argoCdAuth $overrides }}
235+
{{- include "codefresh-gitops-runtime.components.common_helpers.container-templates.env-vars" $mergedValues }}
238236
{{- end -}}

0 commit comments

Comments
 (0)