first upload
This commit is contained in:
15
3.helm-deploy-zabbix-monitoring.sh
Executable file
15
3.helm-deploy-zabbix-monitoring.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
HELMPATH="helm-zabbix-monitoring"
|
||||
|
||||
if [[ -d $HELMPATH ]]
|
||||
then
|
||||
cd $HELMPATH
|
||||
git pull
|
||||
else
|
||||
git clone https://git.zabbix.com/scm/zt/kubernetes-helm.git $HELMPATH
|
||||
cd $HELMPATH
|
||||
fi
|
||||
|
||||
helm install zabbix . --dependency-update -f ../zabbix_values.yaml -n monitoring --create-namespace
|
||||
echo -e "\nToken a zabbix makróhoz ({\$KUBE.API.TOKEN}):\n"$(kubectl get secret zabbix-service-account -n monitoring -o jsonpath={.data.token} | base64 -d)"\n"
|
Reference in New Issue
Block a user