Skip to content

Commit 140c0ba

Browse files
committed
fix helm charts
1 parent 1980743 commit 140c0ba

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.helm/ecamp3/templates/api_deployment.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spec:
3131
{{- toYaml .Values.podSecurityContext | nindent 8 }}
3232
enableServiceLinks: false
3333
containers:
34-
- name: name: {{ .Chart.Name }}-api
34+
- name: {{ .Chart.Name }}-api
3535
{{/* Define the api container as a template, so it can be reused in other places */}}
3636
{{- define "api.container" }}
3737
securityContext:
@@ -151,7 +151,7 @@ spec:
151151
exec:
152152
command: ["/bin/sh", "-c", "/bin/sleep 1; kill -QUIT 1"]
153153
{{- end }}
154-
{{- template "api.phpContainer" . }}
154+
{{- template "api.container" . }}
155155
resources:
156156
{{- toYaml .Values.api.resources | nindent 12 }}
157157
readinessProbe:

.helm/ecamp3/templates/hook_db_migrate.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
restartPolicy: Never
2222
containers:
2323
- name: db-migrate-job
24-
{{ template "api.phpContainer" . }}
24+
{{ template "api.container" . }}
2525
command: ["migrate-database"]
2626
volumes:
2727
- name: php-socket

.vscode/launch.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"port": 9003,
1313
"log": true,
1414
"pathMappings": {
15-
"/srv/api": "${workspaceRoot}/api"
15+
"/app": "${workspaceRoot}/api"
1616
}
1717
},
1818
{

api/.vscode/launch.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"port": 9003,
1313
"log": true,
1414
"pathMappings": {
15-
"/srv/api": "${workspaceRoot}"
15+
"/app": "${workspaceRoot}"
1616
}
1717
},
1818
{

0 commit comments

Comments
 (0)