Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support granular UI annotations and labels #132

Merged
merged 4 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.0.8
version: 6.0.9
maintainers:
- name: Retool Engineering
email: [email protected]
Expand Down
6 changes: 6 additions & 0 deletions charts/retool/templates/deployment_backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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" . }}
Expand Down
9 changes: 8 additions & 1 deletion charts/retool/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -303,12 +303,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
Expand Down
9 changes: 8 additions & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -303,12 +303,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
Expand Down
Loading