maubot: create needed maubot dirs on initcontainer
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
parent
22192881ae
commit
d59a2f8fb4
2 changed files with 7 additions and 1 deletions
|
@ -26,6 +26,13 @@ spec:
|
|||
app: maubot
|
||||
deploymentconfig: maubot
|
||||
spec:
|
||||
initContainers:
|
||||
- image: maubot:latest
|
||||
volumeMounts:
|
||||
- name: maubot-storage
|
||||
mountPath: /maubot
|
||||
command:
|
||||
- mkdir -p /maubot/plugins /maubot/trash /maubot/logs /maubot/crypto
|
||||
containers:
|
||||
- name: maubot
|
||||
image: maubot:latest
|
||||
|
|
|
@ -12,7 +12,6 @@ spec:
|
|||
source:
|
||||
dockerfile: |-
|
||||
FROM fedora:38
|
||||
RUN mkdir -p /maubot/plugins /maubot/trash /maubot/logs /maubot/crypto
|
||||
RUN dnf -y install python3-pip && dnf -y clean all
|
||||
RUN pip install maubot[encryption]
|
||||
WORKDIR /maubot
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue