Revert "Apparently we don't need to repeat volume definitions across deploymentconfigs"
Well, yes we do :-(
This reverts commit 2571561222
.
This commit is contained in:
parent
68fb2be40f
commit
4e3fccf6cf
1 changed files with 37 additions and 3 deletions
|
@ -88,6 +88,16 @@ spec:
|
||||||
- name: etc-fmn
|
- name: etc-fmn
|
||||||
mountPath: "/etc/fmn"
|
mountPath: "/etc/fmn"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- name: rabbitmq-ca-volume
|
||||||
|
mountPath: /etc/pki/rabbitmq/ca
|
||||||
|
readOnly: true
|
||||||
|
- name: rabbitmq-key-volume
|
||||||
|
mountPath: /etc/pki/rabbitmq/key
|
||||||
|
readOnly: true
|
||||||
|
- name: rabbitmq-crt-volume
|
||||||
|
mountPath: /etc/pki/rabbitmq/crt
|
||||||
|
readOnly: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- name: APP_SCRIPT
|
- name: APP_SCRIPT
|
||||||
value: ".s2i/run-api.sh"
|
value: ".s2i/run-api.sh"
|
||||||
|
@ -109,7 +119,7 @@ spec:
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: rabbitmq-crt-volume
|
- name: rabbitmq-crt-volume
|
||||||
mountPath: /etc/pki/rabbitmq/crt
|
mountPath: /etc/pki/rabbitmq/crt
|
||||||
readOnly:
|
readOnly: true
|
||||||
triggers:
|
triggers:
|
||||||
- type: ImageChange
|
- type: ImageChange
|
||||||
imageChangeParams:
|
imageChangeParams:
|
||||||
|
@ -162,7 +172,19 @@ spec:
|
||||||
env:
|
env:
|
||||||
- name: APP_SCRIPT
|
- name: APP_SCRIPT
|
||||||
value: ".s2i/run-consumer.sh"
|
value: ".s2i/run-consumer.sh"
|
||||||
# No need to list the volumes again
|
volumes:
|
||||||
|
- name: etc-fmn
|
||||||
|
configMap:
|
||||||
|
name: fmn-config
|
||||||
|
- name: rabbitmq-ca-volume
|
||||||
|
mountPath: /etc/pki/rabbitmq/ca
|
||||||
|
readOnly: true
|
||||||
|
- name: rabbitmq-key-volume
|
||||||
|
mountPath: /etc/pki/rabbitmq/key
|
||||||
|
readOnly: true
|
||||||
|
- name: rabbitmq-crt-volume
|
||||||
|
mountPath: /etc/pki/rabbitmq/crt
|
||||||
|
readOnly: true
|
||||||
triggers:
|
triggers:
|
||||||
- type: ImageChange
|
- type: ImageChange
|
||||||
imageChangeParams:
|
imageChangeParams:
|
||||||
|
@ -214,7 +236,19 @@ spec:
|
||||||
env:
|
env:
|
||||||
- name: APP_SCRIPT
|
- name: APP_SCRIPT
|
||||||
value: ".s2i/run-sender-email.sh"
|
value: ".s2i/run-sender-email.sh"
|
||||||
# No need to list the volumes again
|
volumes:
|
||||||
|
- name: etc-fmn
|
||||||
|
configMap:
|
||||||
|
name: fmn-config
|
||||||
|
- name: rabbitmq-ca-volume
|
||||||
|
mountPath: /etc/pki/rabbitmq/ca
|
||||||
|
readOnly: true
|
||||||
|
- name: rabbitmq-key-volume
|
||||||
|
mountPath: /etc/pki/rabbitmq/key
|
||||||
|
readOnly: true
|
||||||
|
- name: rabbitmq-crt-volume
|
||||||
|
mountPath: /etc/pki/rabbitmq/crt
|
||||||
|
readOnly: true
|
||||||
triggers:
|
triggers:
|
||||||
- type: ImageChange
|
- type: ImageChange
|
||||||
imageChangeParams:
|
imageChangeParams:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue