feat: enable init
This commit is contained in:
@@ -242,10 +242,6 @@ mautrix-discord:
|
|||||||
# image:
|
# image:
|
||||||
# repository: busybox
|
# repository: busybox
|
||||||
# tag: 1.37.0
|
# tag: 1.37.0
|
||||||
# resources:
|
|
||||||
# requests:
|
|
||||||
# cpu: 10m
|
|
||||||
# memory: 128Mi
|
|
||||||
# command:
|
# command:
|
||||||
# - /bin/sh
|
# - /bin/sh
|
||||||
# - -ec
|
# - -ec
|
||||||
@@ -317,25 +313,21 @@ mautrix-whatsapp:
|
|||||||
type: statefulset
|
type: statefulset
|
||||||
replicas: 1
|
replicas: 1
|
||||||
strategy: RollingUpdate
|
strategy: RollingUpdate
|
||||||
# initContainers:
|
initContainers:
|
||||||
# init-copy-config:
|
init-copy-config:
|
||||||
# image:
|
image:
|
||||||
# repository: busybox
|
repository: busybox
|
||||||
# tag: 1.37.0
|
tag: 1.37.0
|
||||||
# resources:
|
command:
|
||||||
# requests:
|
- /bin/sh
|
||||||
# cpu: 10m
|
- -ec
|
||||||
# memory: 128Mi
|
- |
|
||||||
# command:
|
echo ">> Coping files ..."
|
||||||
# - /bin/sh
|
ls /tmp
|
||||||
# - -ec
|
cp -fv /tmp/config.yaml /data/config.yaml
|
||||||
# - |
|
cp -fv /tmp/mautrix-whatsapp-registration.yaml /data/registration.yaml
|
||||||
# echo ">> Coping files ..."
|
echo ">> Files in data:"
|
||||||
# ls /tmp
|
ls /data
|
||||||
# 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:
|
containers:
|
||||||
main:
|
main:
|
||||||
image:
|
image:
|
||||||
|
|||||||
Reference in New Issue
Block a user