k8s/101-wallabag/install.sh
2022-07-02 14:51:06 -04:00

22 lines
461 B
Bash
Executable file

#!/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