File tree Expand file tree Collapse file tree 3 files changed +22
-12
lines changed Expand file tree Collapse file tree 3 files changed +22
-12
lines changed Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ apiVersion: v2
2
2
name : codefresh-tunnel-client
3
3
description : Codefresh tunnel client for ingressless operation of runtimes
4
4
type : application
5
- version : 0.1.19
6
- appVersion : " 2025.03.04-52de940"
5
+ version : 0.1.20
6
+ appVersion : " 2025.03.04-52de940"
Original file line number Diff line number Diff line change 2
2
Deployment template
3
3
*/}}
4
4
{{- define "codefresh-tunnel-client.deployment" -}}
5
+ {{- $nodeSelector := .Values.nodeSelector | default dict }}
6
+ {{- $globalNodeSelector := .Values.global.nodeSelector | default dict }}
7
+ {{- $allNodeSelector := mergeOverwrite $globalNodeSelector $nodeSelector }}
8
+
9
+ {{- $tolerations := .Values.tolerations | default list }}
10
+ {{- $globalTolerations := .Values.global.tolerations | default list }}
11
+ {{- $allToleration := concat $globalTolerations $tolerations }}
12
+
13
+ {{- $affinity := .Values.affinity | default dict }}
14
+ {{- $globalAffinity := .Values.global.affinity | default dict }}
15
+ {{- $allAffinity := mergeOverwrite $globalAffinity $affinity }}
5
16
apiVersion : apps/v1
6
17
kind : Deployment
7
18
metadata :
@@ -60,16 +71,13 @@ spec:
60
71
items :
61
72
- key : frpc.ini
62
73
path : frpc.ini
63
- {{- with .Values.nodeSelector }}
64
- nodeSelector :
65
- {{- toYaml . | nindent 8 }}
74
+ {{- with $allNodeSelector }}
75
+ nodeSelector : {{ toYaml . | nindent 8 }}
66
76
{{- end }}
67
- {{- with .Values.affinity }}
68
- affinity :
69
- {{- toYaml . | nindent 8 }}
77
+ {{- with $allToleration }}
78
+ tolerations : {{ toYaml . | nindent 6 }}
70
79
{{- end }}
71
- {{- with .Values.tolerations }}
72
- tolerations :
73
- {{- toYaml . | nindent 8 }}
80
+ {{- with $allAffinity }}
81
+ affinity : {{ toYaml . | nindent 8 }}
74
82
{{- end }}
75
- {{- end }}
83
+ {{- end }}
Original file line number Diff line number Diff line change 2
2
# Added to support usage in codefresh-gitops-runtime Helm chart
3
3
libraryMode : false
4
4
5
+ global : {}
6
+
5
7
image :
6
8
repository : quay.io/codefresh/frpc
7
9
pullPolicy : IfNotPresent
You can’t perform that action at this time.
0 commit comments