File tree Expand file tree Collapse file tree 2 files changed +4
-15
lines changed Expand file tree Collapse file tree 2 files changed +4
-15
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.20
5
+ version : 0.1.21
6
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 }}
16
5
apiVersion : apps/v1
17
6
kind : Deployment
18
7
metadata :
@@ -71,13 +60,13 @@ spec:
71
60
items :
72
61
- key : frpc.ini
73
62
path : frpc.ini
74
- {{- with $allNodeSelector }}
63
+ {{- with .Values.nodeSelector | default .Values.global.nodeSelector }}
75
64
nodeSelector : {{ toYaml . | nindent 8 }}
76
65
{{- end }}
77
- {{- with $allToleration }}
66
+ {{- with .Values.tolerations | default .Values.global.tolerations }}
78
67
tolerations : {{ toYaml . | nindent 6 }}
79
68
{{- end }}
80
- {{- with $allAffinity }}
69
+ {{- with .Values.affinity }}
81
70
affinity : {{ toYaml . | nindent 8 }}
82
71
{{- end }}
83
72
{{- end }}
You can’t perform that action at this time.
0 commit comments