Add metube and spotizerr
Some checks failed
/ authentik (push) Successful in 2m55s
/ non-lab (push) Failing after 1m6s

This commit is contained in:
Chris Cowley 2025-04-08 11:06:51 +02:00
parent dab98d9c73
commit 539c8110dd
3 changed files with 42 additions and 23 deletions

20
authentik/metube.tf Normal file
View file

@ -0,0 +1,20 @@
resource "authentik_provider_proxy" "metube" {
name = "Metube"
internal_host = "http://metube.jellyfin:8081"
external_host = "https://metube.lab.cowley.tech"
internal_host_ssl_validation = false
authentication_flow = data.authentik_flow.default-authentication-flow.id
authorization_flow = data.authentik_flow.default-provider-authorization-implicit-consent.id
invalidation_flow = data.authentik_flow.default-provider-invalidation-flow.id
access_token_validity = "hours=24"
}
resource "authentik_application" "metube" {
name = "Metube"
slug = "metube"
protocol_provider = authentik_provider_proxy.metube.id
}

View file

@ -6,7 +6,8 @@ resource "authentik_outpost" "embedded_outpost" {
authentik_provider_proxy.pinchflat.id,
authentik_provider_proxy.paperless-gpt.id,
#authentik_provider_proxy.proxy-test.id,
#authentik_provider_proxy.spotizerr.id,
authentik_provider_proxy.spotizerr.id,
authentik_provider_proxy.metube.id,
]
service_connection = authentik_service_connection_kubernetes.local.id

View file

@ -1,22 +1,20 @@
#resource "authentik_provider_proxy" "spotizerr" {
# name = "Spotizerr"
# internal_host = "http://spotizerr.jellyfin:7171"
# external_host = "https://spotizerr.lab.cowley.tech"
#
# internal_host_ssl_validation = false
#
# authentication_flow = data.authentik_flow.default-authentication-flow.id
# authorization_flow = data.authentik_flow.default-provider-authorization-implicit-consent.id
# invalidation_flow = data.authentik_flow.default-provider-invalidation-flow.id
#
# access_token_validity = "hours=24"
#}
#
#resource "authentik_application" "spotizerr" {
# name = "Spotizerr"
# slug = "spotizerr"
#
# protocol_provider = authentik_provider_proxy.spotizerr.id
#}
#
#
resource "authentik_provider_proxy" "spotizerr" {
name = "Spotizerr"
internal_host = "http://spotizerr.jellyfin:7171"
external_host = "https://spotizerr.lab.cowley.tech"
internal_host_ssl_validation = false
authentication_flow = data.authentik_flow.default-authentication-flow.id
authorization_flow = data.authentik_flow.default-provider-authorization-implicit-consent.id
invalidation_flow = data.authentik_flow.default-provider-invalidation-flow.id
access_token_validity = "hours=24"
}
resource "authentik_application" "spotizerr" {
name = "Spotizerr"
slug = "spotizerr"
protocol_provider = authentik_provider_proxy.spotizerr.id
}