homelab/manifests/authentik-proxy-secret.sh

8 lines
243 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
source "$(dirname "$0")/../.env"
kubectl create secret generic authentik-proxy-token \
--namespace authentik \
--from-literal=token="${AUTHENTIK_PROXY_TOKEN}" \
--dry-run=client -o yaml | kubectl apply -f -