Merge pull request 'feat: enable init' (#5488) from tmp/matrix-3 into main
Reviewed-on: #5488
This commit was merged in pull request #5488.
This commit is contained in:
@@ -242,10 +242,6 @@ mautrix-discord:
|
||||
# image:
|
||||
# repository: busybox
|
||||
# tag: 1.37.0
|
||||
# resources:
|
||||
# requests:
|
||||
# cpu: 10m
|
||||
# memory: 128Mi
|
||||
# command:
|
||||
# - /bin/sh
|
||||
# - -ec
|
||||
@@ -317,25 +313,21 @@ mautrix-whatsapp:
|
||||
type: statefulset
|
||||
replicas: 1
|
||||
strategy: RollingUpdate
|
||||
# initContainers:
|
||||
# init-copy-config:
|
||||
# image:
|
||||
# repository: busybox
|
||||
# tag: 1.37.0
|
||||
# resources:
|
||||
# requests:
|
||||
# cpu: 10m
|
||||
# memory: 128Mi
|
||||
# command:
|
||||
# - /bin/sh
|
||||
# - -ec
|
||||
# - |
|
||||
# echo ">> Coping files ..."
|
||||
# ls /tmp
|
||||
# cp -fv /tmp/config.yaml /data/config.yaml
|
||||
# cp -fv /tmp/mautrix-whatsapp-registration.yaml /data/registration.yaml
|
||||
# echo ">> Files in data:"
|
||||
# ls /data
|
||||
initContainers:
|
||||
init-copy-config:
|
||||
image:
|
||||
repository: busybox
|
||||
tag: 1.37.0
|
||||
command:
|
||||
- /bin/sh
|
||||
- -ec
|
||||
- |
|
||||
echo ">> Coping files ..."
|
||||
ls /tmp
|
||||
cp -fv /tmp/config.yaml /data/config.yaml
|
||||
cp -fv /tmp/mautrix-whatsapp-registration.yaml /data/registration.yaml
|
||||
echo ">> Files in data:"
|
||||
ls /data
|
||||
containers:
|
||||
main:
|
||||
image:
|
||||
|
||||
Reference in New Issue
Block a user