Skip to content

Commit ad748bb

Browse files
authored
Add labels to code-executor and db-connector deployments (#258)
1 parent 21f3ca8 commit ad748bb

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

charts/retool/templates/deployment_code_executor.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ metadata:
77
{{- include "retool.codeExecutor.selectorLabels" . | nindent 4 }}
88
{{- include "retool.codeExecutor.labels" . | nindent 4 }}
99
{{- include "retool.labels" . | nindent 4 }}
10+
{{- if .Values.deployment.labels }}
11+
{{ toYaml .Values.deployment.labels | indent 4 }}
12+
{{- end }}
1013
{{- if .Values.deployment.annotations }}
1114
annotations:
1215
{{ toYaml .Values.deployment.annotations | indent 4 }}

charts/retool/templates/deployment_dbconnector.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ metadata:
77
{{- include "retool.dbconnector.selectorLabels" . | nindent 4 }}
88
{{- include "retool.dbconnector.labels" . | nindent 4 }}
99
{{- include "retool.labels" . | nindent 4 }}
10+
{{- if .Values.deployment.labels }}
11+
{{ toYaml .Values.deployment.labels | indent 4 }}
12+
{{- end }}
1013
{{- if .Values.deployment.annotations }}
1114
annotations:
1215
{{- toYaml .Values.deployment.annotations | nindent 4 }}

0 commit comments

Comments
 (0)