Skip to content

Commit ea16ecb

Browse files
authored
Merge pull request #187 from clearme-jinoa/jinoa/add-deployment-label
FEAT - add deploymentLabels option to the deployment jobs and backend chart
2 parents a8178fc + a717ac7 commit ea16ecb

5 files changed

Lines changed: 9 additions & 1 deletion

File tree

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.2.9
5+
version: 6.2.10
66
maintainers:
77
- name: Retool Engineering
88

charts/retool/templates/deployment_backend.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ metadata:
55
labels:
66
{{- include "retool.labels" . | nindent 4 }}
77
{{- include "retool.selectorLabels" . | nindent 4 }}
8+
{{- if .Values.deployment.labels }}
9+
{{ toYaml .Values.deployment.labels | indent 4 }}
10+
{{- end }}
811
{{- if .Values.deployment.annotations }}
912
annotations:
1013
{{ toYaml .Values.deployment.annotations | indent 4 }}

charts/retool/templates/deployment_jobs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ metadata:
88
app.kubernetes.io/name: {{ include "retool.name" . }}-jobs-runner
99
app.kubernetes.io/instance: {{ .Release.Name }}
1010
telemetry.retool.com/service-name: jobs-runner
11+
{{- if .Values.deployment.labels }}
12+
{{ toYaml .Values.deployment.labels | indent 4 }}
13+
{{- end }}
1114
{{- if .Values.deployment.annotations }}
1215
annotations:
1316
{{ toYaml .Values.deployment.annotations | indent 4 }}

charts/retool/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ externalSecrets:
118118
files: {}
119119

120120
deployment:
121+
labels: {}
121122
annotations: {}
122123

123124
service:

values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ externalSecrets:
118118
files: {}
119119

120120
deployment:
121+
labels: {}
121122
annotations: {}
122123

123124
service:

0 commit comments

Comments
 (0)