Skip to content

Commit 3fbf235

Browse files
authored
mount path should be the directory, not the filename (#27)
Signed-off-by: Sarah Funkhouser <[email protected]>
1 parent 4640ba7 commit 3fbf235

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

chart/node-resolver/templates/deployment.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ spec:
5959
- serve
6060
{{- if .Values.schemaFile.override }}
6161
- --schema
62-
- /schema.graphql
62+
- /app/schema.graphql
6363
{{- end}}
6464
ports:
6565
- name: http
@@ -76,7 +76,8 @@ spec:
7676
volumeMounts:
7777
{{- if .Values.schemaFile.override }}
7878
- name: schema-config-volume
79-
mountPath: /schema.graphql
79+
mountPath: /app/
80+
readOnly: true
8081
{{- end }}
8182
resources:
8283
{{- toYaml .Values.api.resources | nindent 12 }}

0 commit comments

Comments
 (0)