Skip to content

Commit e0eed81

Browse files
authored
Add deployment labels to workers (#256)
* Add deployment labels to workers * Add deployment labels to temporal * Add deployment labels to workflows * Bump chart version
1 parent ab8c64e commit e0eed81

File tree

5 files changed

+12
-1
lines changed

5 files changed

+12
-1
lines changed

charts/retool/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: retool
33
description: A Helm chart for Kubernetes
44
type: application
5-
version: 6.8.5
5+
version: 6.8.6
66
maintainers:
77
- name: Retool Engineering
88

charts/retool/charts/retool-temporal-services-helm/templates/server-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ metadata:
1313
app.kubernetes.io/version: {{ $.Chart.AppVersion | replace "+" "_" }}
1414
app.kubernetes.io/component: {{ $service }}
1515
app.kubernetes.io/part-of: {{ $.Chart.Name }}
16+
{{- if $.Values.server.deployment.labels }}
17+
{{ toYaml $.Values.server.deployment.labels | indent 4 }}
18+
{{- end }}
1619
spec:
1720
replicas: {{ default $.Values.server.replicaCount $serviceValues.replicaCount }}
1821
selector:

charts/retool/charts/retool-temporal-services-helm/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ server:
8383
affinity: {}
8484
additionalVolumes: []
8585
additionalVolumeMounts: []
86+
deployment:
87+
labels: {}
8688

8789
config:
8890
logLevel: "debug,info"

charts/retool/templates/_workers.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ metadata:
4242
{{- include (printf "retool.%sWorker.selectorLabels" $workerType) $ | nindent 4 }}
4343
{{- include (printf "retool.%sWorker.labels" $workerType) $ | nindent 4 }}
4444
{{- include "retool.labels" $ | nindent 4 }}
45+
{{- if $.Values.deployment.labels }}
46+
{{ toYaml $.Values.deployment.labels | indent 4 }}
47+
{{- end }}
4548
{{- if $.Values.deployment.annotations }}
4649
annotations:
4750
{{ toYaml $.Values.deployment.annotations | indent 4 }}

charts/retool/templates/deployment_workflows.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ metadata:
77
{{- include "retool.workflowBackend.selectorLabels" . | nindent 4 }}
88
{{- include "retool.workflowBackend.labels" . | nindent 4 }}
99
{{- include "retool.labels" . | nindent 4 }}
10+
{{- if .Values.deployment.labels }}
11+
{{ toYaml .Values.deployment.labels | indent 4 }}
12+
{{- end }}
1013
{{- if .Values.deployment.annotations }}
1114
annotations:
1215
{{ toYaml .Values.deployment.annotations | indent 4 }}

0 commit comments

Comments
 (0)