From cb86714bff5a97bd3b22d4bbb41765f4fc063498 Mon Sep 17 00:00:00 2001 From: woz5999 Date: Mon, 20 Nov 2023 09:48:47 -0800 Subject: [PATCH 1/3] Support granular UI annotations and labels --- charts/retool/templates/deployment_backend.yaml | 6 ++++++ charts/retool/values.yaml | 9 ++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/charts/retool/templates/deployment_backend.yaml b/charts/retool/templates/deployment_backend.yaml index 759c34f7..ddc5b031 100644 --- a/charts/retool/templates/deployment_backend.yaml +++ b/charts/retool/templates/deployment_backend.yaml @@ -22,6 +22,9 @@ spec: {{- end }} {{- if .Values.backend.annotations }} {{ toYaml .Values.backend.annotations | indent 8 }} +{{- end }} +{{- if .Values.ui.annotations }} +{{ toYaml .Values.ui.annotations | indent 8 }} {{- end }} labels: {{- include "retool.selectorLabels" . | nindent 8 }} @@ -30,6 +33,9 @@ spec: {{- end }} {{- if .Values.backend.labels }} {{ toYaml .Values.backend.labels | indent 8 }} +{{- end }} +{{- if .Values.ui.labels }} +{{ toYaml .Values.ui.labels | indent 8 }} {{- end }} spec: serviceAccountName: {{ template "retool.serviceAccountName" . }} diff --git a/charts/retool/values.yaml b/charts/retool/values.yaml index 4a6bc8b8..34690140 100644 --- a/charts/retool/values.yaml +++ b/charts/retool/values.yaml @@ -290,12 +290,19 @@ jobRunner: labels: {} backend: - # Annotations for backendpods + # Annotations for backend pods annotations: {} # Labels for backend pods labels: {} +ui: + # Annotations for ui pods + annotations: {} + + # Labels for ui pods + labels: {} + workflows: # enabled by default from Chart version 6.0.2 and Retool image 3.6.11 onwards # explicitly set other fields as needed From 12e78817c480c6175196e1a4c55571001412af2a Mon Sep 17 00:00:00 2001 From: woz5999 Date: Wed, 6 Dec 2023 11:53:32 -0800 Subject: [PATCH 2/3] Update values.yaml --- values.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/values.yaml b/values.yaml index 4a6bc8b8..34690140 100644 --- a/values.yaml +++ b/values.yaml @@ -290,12 +290,19 @@ jobRunner: labels: {} backend: - # Annotations for backendpods + # Annotations for backend pods annotations: {} # Labels for backend pods labels: {} +ui: + # Annotations for ui pods + annotations: {} + + # Labels for ui pods + labels: {} + workflows: # enabled by default from Chart version 6.0.2 and Retool image 3.6.11 onwards # explicitly set other fields as needed From 795c2931ac660dac5b961daefa8b6c47210fd32a Mon Sep 17 00:00:00 2001 From: woz5999 Date: Wed, 6 Dec 2023 12:08:09 -0800 Subject: [PATCH 3/3] Update Chart.yaml --- charts/retool/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/retool/Chart.yaml b/charts/retool/Chart.yaml index 8666b13f..9565bb9e 100644 --- a/charts/retool/Chart.yaml +++ b/charts/retool/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: retool description: A Helm chart for Kubernetes type: application -version: 6.0.6 +version: 6.0.9 maintainers: - name: Retool Engineering email: engineering+helm@retool.com