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