Skip to content

Commit 693fe79

Browse files
committed
fix: move sidecar as init container
1 parent 363ceed commit 693fe79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/k8s/kustomize/base/deployments/pokeapi-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ spec:
2323
echo waiting for database;
2424
sleep 2;
2525
done;
26-
containers:
2726
- name: data-download
2827
image: alpine/git:2.47.1
2928
command: ['/bin/sh']
@@ -39,6 +38,7 @@ spec:
3938
name: csv-data-share
4039
- mountPath: /tmp/sprites
4140
name: sprites-data-share
41+
containers:
4242
- name: pokeapi
4343
image: pokeapi/pokeapi:master
4444
imagePullPolicy: IfNotPresent

0 commit comments

Comments
 (0)