chore: remove redundant init container for Mattermost Calls
This commit is contained in:
parent
c08b04e4fc
commit
06506e3d52
|
|
@ -83,26 +83,6 @@ spec:
|
||||||
labels:
|
labels:
|
||||||
app: mattermost
|
app: mattermost
|
||||||
spec:
|
spec:
|
||||||
initContainers:
|
|
||||||
- name: install-calls-plugin
|
|
||||||
image: alpine
|
|
||||||
command:
|
|
||||||
- sh
|
|
||||||
- -c
|
|
||||||
- |
|
|
||||||
apk add --no-cache ca-certificates wget tar
|
|
||||||
if [ ! -d /mattermost/plugins/com.mattermost.calls ]; then
|
|
||||||
echo "Downloading Mattermost Calls plugin..."
|
|
||||||
wget -qO calls.tar.gz https://github.com/mattermost/mattermost-plugin-calls/releases/latest/download/com.mattermost.calls-linux-amd64.tar.gz
|
|
||||||
tar -xzf calls.tar.gz -C /mattermost/plugins/
|
|
||||||
rm calls.tar.gz
|
|
||||||
echo "Mattermost Calls plugin installed."
|
|
||||||
else
|
|
||||||
echo "Mattermost Calls plugin already installed."
|
|
||||||
fi
|
|
||||||
volumeMounts:
|
|
||||||
- name: mattermost-plugins
|
|
||||||
mountPath: /mattermost/plugins
|
|
||||||
containers:
|
containers:
|
||||||
- name: mattermost
|
- name: mattermost
|
||||||
image: mattermost/mattermost-team-edition:9.11
|
image: mattermost/mattermost-team-edition:9.11
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue