Skip to content

Commit 6f2bb36

Browse files
committed
Merge remote-tracking branch 'origin/main' into cr-31211-security-main
2 parents 10b19a7 + 33e7bb8 commit 6f2bb36

File tree

92 files changed

+1991
-2852
lines changed

Some content is hidden

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

92 files changed

+1991
-2852
lines changed

charts/gitops-runtime/Chart.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ dependencies:
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,6 +38,3 @@ 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

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 }}

0 commit comments

Comments
 (0)