added lifecycle config (folder creation)
This commit is contained in:
@@ -68,6 +68,10 @@ spec:
|
|||||||
value: "false"
|
value: "false"
|
||||||
- name: GIT_CONFIG_GLOBAL
|
- name: GIT_CONFIG_GLOBAL
|
||||||
value: "/home/coder/.config/git/config"
|
value: "/home/coder/.config/git/config"
|
||||||
|
lifecycle:
|
||||||
|
postStart:
|
||||||
|
exec:
|
||||||
|
command: ["/bin/sh", "-c", "mkdir -p /home/coder/.config/git"]
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
name: http
|
name: http
|
||||||
|
|||||||
Reference in New Issue
Block a user