authentik initial
This commit is contained in:
28
12_Authentik/justfile
Normal file
28
12_Authentik/justfile
Normal file
@@ -0,0 +1,28 @@
|
||||
set fallback := true
|
||||
|
||||
export AUTHENTIK_NAMESPACE := env("AUTHENTIK_NAMESPACE", "authentik")
|
||||
|
||||
[private]
|
||||
default:
|
||||
@just --list --unsorted --list-submodules
|
||||
|
||||
# Add Helm repository
|
||||
add-helm-repo:
|
||||
@helm repo add authentik https://charts.goauthentik.io
|
||||
@helm repo update
|
||||
|
||||
# Remove Helm repository
|
||||
remove-helm-repo:
|
||||
@helm repo remove authentik
|
||||
|
||||
|
||||
install:
|
||||
@just add-helm-repo
|
||||
@helm upgrade --cleanup-on-fail --install authentik authentik/authentik \
|
||||
-n ${AUTHENTIK_NAMESPACE} --create-namespace --wait \
|
||||
-f authentik-values.yaml
|
||||
|
||||
|
||||
uninstall:
|
||||
@helm uninstall authentik -n ${AUTHENTIK_NAMESPACE} --wait
|
||||
@kubectl delete namespace ${AUTHENTIK_NAMESPACE} --ignore-not-found
|
||||
Reference in New Issue
Block a user