monitor-gating: mount the volumes in buildconfig
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
8e76952fa1
commit
9c8032bd2b
1 changed files with 25 additions and 0 deletions
|
@ -16,6 +16,31 @@ spec:
|
|||
{% endif %}
|
||||
strategy:
|
||||
type: Docker
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: monitor-gating
|
||||
deploymentconfig: monitor-gating
|
||||
spec:
|
||||
containers:
|
||||
- name: monitor-gating
|
||||
image: monitor-gating:latest
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- name: monitor-gating-secret-volume
|
||||
mountPath: /config/
|
||||
readOnly: true
|
||||
- name: monitor-gating-ssh-volume
|
||||
mountPath: /root/.ssh/
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: monitor-gating-secret-volume
|
||||
secret:
|
||||
secretName: monitor-gating-secret
|
||||
- name: monitor-gating-ssh-volume
|
||||
secret:
|
||||
secretName: monitor-gating-ssh
|
||||
|
||||
triggers:
|
||||
- type: ConfigChange
|
||||
- type: ImageChange
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue