Skip to content
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.9.0
version: 6.9.1
maintainers:
- name: Retool Engineering
email: engineering+helm@retool.com
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ metadata:
app.kubernetes.io/instance: {{ $.Release.Name }}
app.kubernetes.io/version: {{ $.Chart.AppVersion | replace "+" "_" }}
app.kubernetes.io/part-of: {{ $.Chart.Name }}
{{- range $key, $value := $.Values.server.labels }}
{{ $key }}: {{ $value | quote }}
{{- end }}
data:
config_template.yaml: |-
log:
Expand Down Expand Up @@ -103,7 +106,7 @@ data:

pprof:
port: 7936

metrics:
tags:
type: {{ $service }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ metadata:
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion | replace "+" "_" }}
app.kubernetes.io/part-of: {{ .Chart.Name }}
{{- range $key, $value := $.Values.server.labels }}
{{ $key }}: {{ $value | quote }}
{{- end }}
data:
dynamic_config.yaml: |-
{{- if $.Values.server.dynamicConfig }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ metadata:
app.kubernetes.io/version: {{ .Chart.AppVersion | replace "+" "_" }}
app.kubernetes.io/component: frontend
app.kubernetes.io/part-of: {{ .Chart.Name }}
{{- range $key, $value := $.Values.server.labels }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- if .Values.server.frontend.service.annotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.server.frontend.service.annotations "context" $) | nindent 4 }}
{{- end }}
Expand Down Expand Up @@ -60,6 +63,9 @@ metadata:
prometheus.io/scrape: 'true'
prometheus.io/scheme: http
prometheus.io/port: "9090"
{{- range $key, $value := $.Values.server.labels }}
{{ $key }}: {{ $value | quote }}
{{- end }}

annotations:
# Use this annotation in addition to the actual field below because the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ metadata:
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion | replace "+" "_" }}
app.kubernetes.io/part-of: {{ .Chart.Name }}
{{- range $key, $value := .Values.serviceAccount.labels }}
{{ $key }}: {{ $value | quote }}
{{- end }}
annotations:
helm.sh/hook: pre-install
helm.sh/hook-weight: "-10"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ metadata:
app.kubernetes.io/version: {{ .Chart.AppVersion | replace "+" "_" }}
app.kubernetes.io/component: web
app.kubernetes.io/part-of: {{ .Chart.Name }}
{{- range $key, $value := $.Values.server.labels }}
{{ $key }}: {{ $value | quote }}
{{- end }}
data:
config.yml: |
{{- toYaml .Values.web.config | nindent 4 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ server:
timerType: histogram
podAnnotations: {}
podLabels: {}
labels: {}
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
Expand Down
3 changes: 3 additions & 0 deletions charts/retool/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ automountServiceAccountToken: {{ .Values.serviceAccount.automountToken }}
metadata:
name: {{ include "retool.serviceAccountName" . }}
labels: {{- include "retool.labels" . | nindent 4 }}
{{- range $key, $value := .Values.serviceAccount.labels }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- if .Values.serviceAccount.annotations }}
annotations:
{{ toYaml .Values.serviceAccount.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 @@ -233,6 +233,7 @@ serviceAccount:
# If set and create is false, the service account must be existing
name:
annotations: {}
labels: {}
automountToken: false

livenessProbe:
Expand Down
1 change: 1 addition & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ serviceAccount:
# If set and create is false, the service account must be existing
name:
annotations: {}
labels: {}
automountToken: false

livenessProbe:
Expand Down
Loading