We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 693fe79 commit 45fa9e7Copy full SHA for 45fa9e7
Resources/k8s/kustomize/base/deployments/pokeapi-deployment.yaml
@@ -24,13 +24,12 @@ spec:
24
sleep 2;
25
done;
26
- name: data-download
27
- image: alpine/git:2.47.1
28
- command: ['/bin/sh']
+ image: alpine:3.21.2
+ command: ['sh', '-c']
29
args:
30
- - -c
31
- - >-
32
- git clone --recurse-submodules https://github.com/PokeAPI/pokeapi.git &&
33
- mv /git/pokeapi/data/v2/* /tmp
+ - apk add --update git && git clone --recurse-submodules https://github.com/PokeAPI/pokeapi.git &&
+ mv /tmp/pokeapi/data/v2/* /tmp
+ workingDir: /tmp
34
volumeMounts:
35
- mountPath: /tmp/cries
36
name: cries-data-share
0 commit comments