Skip to content

Commit e851000

Browse files
feat: bump cf-common (#34)
1 parent e68cc9e commit e851000

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

codefresh-tunnel-client/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: codefresh-tunnel-client
33
description: Codefresh tunnel client for ingressless operation of runtimes
44
type: application
5-
version: 0.1.20
5+
version: 0.1.21
66
appVersion: "2025.03.04-52de940"

codefresh-tunnel-client/templates/_libs/_deployment.yaml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,6 @@
22
Deployment template
33
*/}}
44
{{- 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 }}
165
apiVersion: apps/v1
176
kind: Deployment
187
metadata:
@@ -71,13 +60,13 @@ spec:
7160
items:
7261
- key: frpc.ini
7362
path: frpc.ini
74-
{{- with $allNodeSelector }}
63+
{{- with .Values.nodeSelector | default .Values.global.nodeSelector }}
7564
nodeSelector: {{ toYaml . | nindent 8 }}
7665
{{- end }}
77-
{{- with $allToleration }}
66+
{{- with .Values.tolerations | default .Values.global.tolerations}}
7867
tolerations: {{ toYaml . | nindent 6 }}
7968
{{- end }}
80-
{{- with $allAffinity }}
69+
{{- with .Values.affinity }}
8170
affinity: {{ toYaml . | nindent 8 }}
8271
{{- end }}
8372
{{- end }}

0 commit comments

Comments
 (0)