k8s/101-wallabag/install.sh

22 lines
461 B
Bash
Raw Normal View History

2022-07-02 18:51:06 +00:00
#!/bin/bash
CHART_VERSION=6.2.2
NAMESPACE=wallabag
helm repo add k8s-at-home https://k8s-at-home.com/charts/
helm repo update
kubectl create ns wallabag
kubectl create serviceaccount -n ${NAMESPACE} wallabag
kubectl apply -n ${NAMESPACE} -f external-secrets.yaml
helm upgrade --install \
wallabag \
k8s-at-home/wallabag \
-f values.yaml \
-n ${NAMESPACE} \
--version ${CHART_VERSION} \
--cleanup-on-fail
kubectl apply -n ${NAMESPACE} -f traefik.yaml