try this
This commit is contained in:
parent
b6f9a818af
commit
4ddeaf6c99
@ -12,7 +12,7 @@ spec:
|
|||||||
|
|
||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
initContainers:
|
||||||
- name: git
|
- name: git
|
||||||
image: git
|
image: git
|
||||||
command: ["git"]
|
command: ["git"]
|
||||||
@ -23,7 +23,7 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: octodns-config
|
- name: octodns-config
|
||||||
mountPath: /etc/octodns
|
mountPath: /etc/octodns
|
||||||
|
containers:
|
||||||
- name: octodns
|
- name: octodns
|
||||||
image: octodns
|
image: octodns
|
||||||
env:
|
env:
|
||||||
@ -45,11 +45,12 @@ spec:
|
|||||||
|
|
||||||
command: ["/bin/sh", "-c"]
|
command: ["/bin/sh", "-c"]
|
||||||
args:
|
args:
|
||||||
- pip install -r /etc/octodns/requirements.txt
|
- >-
|
||||||
- "&&"
|
pip install -r /etc/octodns/requirements.txt
|
||||||
- octodns-sync --config-file /etc/octodns/config.yaml
|
&&
|
||||||
- "&&"
|
octodns-sync --config-file /etc/octodns/config.yaml
|
||||||
- echo "done"
|
&&
|
||||||
|
echo "done"
|
||||||
#- --doit
|
#- --doit
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: octodns-config
|
- name: octodns-config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user