Authentik Installation with Helm
postrges, redis 이미지는 bitnami 를 이용하기 때문에 arm 환경에서는 사용 불가
Kubernetes 1.19+
Helm 3.2.0+
pwgen package (apt-get install pwgen
)
geoIP Account
PG_PASS=$(pwgen -s 40 1)
AUTHENTIK_SECRET_KEY=$(pwgen -s 50 1)
# https://www.maxmind.com/en/geolite2/signup
GEOIP_ACCOUNTID=
GEOIP_LICENSEKEY=
helm repo add authentik https://charts.goauthentik.io
helm repo update
helm install authentik authentik/authentik \
--create-namespace \
--namespace authentik-sso \
--set authentik.secret_key=${AUTHENTIK_SECRET_KEY} \
--set authentik.postgresql.password=${PG_PASS} \
--set authentik.error_reporting.enabled=true \
--set postgresql.enabled=true \
--set postgresql.postgresqlPassword=${PG_PASS} \
--set redis.enabled=true \
--set geoip.enabled=true \
--set geoip.accountId=${GEOIP_ACCOUNTID},geoip.licenseKey=${GEOIP_LICENSEKEY} \
--set replicas=2
echo 'init : https://<ingress you've specified>/if/flow/initial-setup/'
OAuth2/OpenID Provider - kubernetes 생성
Application - kubernetes 생성
(Option) Authentik Local IngressRoute