Skip to content

Commit cc4ee2b

Browse files
authored
fix(functions): use subPath for ConfigMap mount
2 parents b998bf3 + ab4a4d3 commit cc4ee2b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

charts/supabase/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.2.1
18+
version: 0.2.2
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/supabase/templates/functions/deployment.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,9 @@ spec:
133133
{{- with .Values.functions.volumeMounts }}
134134
{{- toYaml . | nindent 12 }}
135135
{{- end }}
136-
- mountPath: /home/deno/functions/main
136+
- mountPath: /home/deno/functions/main/index.ts
137137
name: functions-main
138+
subPath: index.ts
138139
{{- with .Values.functions.resources }}
139140
resources:
140141
{{- toYaml . | nindent 12 }}

0 commit comments

Comments
 (0)