Skip to content

Commit

Permalink
Merge pull request #187 from clearme-jinoa/jinoa/add-deployment-label
Browse files Browse the repository at this point in the history
FEAT - add deploymentLabels option to the deployment jobs and backend chart
  • Loading branch information
anna-yn authored Oct 3, 2024
2 parents a8178fc + a717ac7 commit ea16ecb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/retool/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: retool
description: A Helm chart for Kubernetes
type: application
version: 6.2.9
version: 6.2.10
maintainers:
- name: Retool Engineering
email: [email protected]
Expand Down
3 changes: 3 additions & 0 deletions charts/retool/templates/deployment_backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ metadata:
labels:
{{- include "retool.labels" . | nindent 4 }}
{{- include "retool.selectorLabels" . | nindent 4 }}
{{- if .Values.deployment.labels }}
{{ toYaml .Values.deployment.labels | indent 4 }}
{{- end }}
{{- if .Values.deployment.annotations }}
annotations:
{{ toYaml .Values.deployment.annotations | indent 4 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/retool/templates/deployment_jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ metadata:
app.kubernetes.io/name: {{ include "retool.name" . }}-jobs-runner
app.kubernetes.io/instance: {{ .Release.Name }}
telemetry.retool.com/service-name: jobs-runner
{{- if .Values.deployment.labels }}
{{ toYaml .Values.deployment.labels | indent 4 }}
{{- end }}
{{- if .Values.deployment.annotations }}
annotations:
{{ toYaml .Values.deployment.annotations | indent 4 }}
Expand Down
1 change: 1 addition & 0 deletions charts/retool/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ externalSecrets:
files: {}

deployment:
labels: {}
annotations: {}

service:
Expand Down
1 change: 1 addition & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ externalSecrets:
files: {}

deployment:
labels: {}
annotations: {}

service:
Expand Down

0 comments on commit ea16ecb

Please sign in to comment.