maubot: acutally define the persistant storage
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
parent
b414a3e238
commit
2e35cec0c1
3 changed files with 9 additions and 4 deletions
|
@ -26,6 +26,11 @@
|
|||
template: buildconfig.yml
|
||||
objectname: buildconfig.yml
|
||||
|
||||
- role: openshift/object
|
||||
app: mdapi
|
||||
file: storage.yml
|
||||
objectname: storage.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
app: maubot
|
||||
buildname: maubot-build
|
||||
|
|
|
@ -35,7 +35,7 @@ spec:
|
|||
- name: config
|
||||
mountPath: /config
|
||||
readOnly: true
|
||||
- name: data
|
||||
- name: maubot-storage
|
||||
mountPath: /maubot
|
||||
readinessProbe:
|
||||
timeoutSeconds: 1
|
||||
|
@ -53,6 +53,6 @@ spec:
|
|||
- name: config
|
||||
configMap:
|
||||
name: config
|
||||
- name: data
|
||||
- name: maubot-storage
|
||||
persistentVolumeClaim:
|
||||
claimName: data
|
||||
claimName: maubot-storage
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: data
|
||||
name: maubot-storage
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue