Add metube and spotizerr
This commit is contained in:
parent
dab98d9c73
commit
539c8110dd
3 changed files with 42 additions and 23 deletions
20
authentik/metube.tf
Normal file
20
authentik/metube.tf
Normal 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
|
||||
}
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue