chore(deps): update terraform authentik to v2024.10.2
Some checks failed
checks / pre-commit (push) Failing after 5s
checks / k8s (push) Failing after 2s
checks / tflint (push) Failing after 2s
Kaniko deployments / nextcloud (push) Failing after 3s
OpenTofu deployments / authentik (push) Failing after 2s
OpenTofu deployments / adguard (push) Failing after 2s
Some checks failed
checks / pre-commit (push) Failing after 5s
checks / k8s (push) Failing after 2s
checks / tflint (push) Failing after 2s
Kaniko deployments / nextcloud (push) Failing after 3s
OpenTofu deployments / authentik (push) Failing after 2s
OpenTofu deployments / adguard (push) Failing after 2s
This commit is contained in:
parent
1bfb486da2
commit
96843e24b9
5 changed files with 64 additions and 53 deletions
47
tofu/authentik/.terraform.lock.hcl
generated
47
tofu/authentik/.terraform.lock.hcl
generated
|
|
@ -2,36 +2,23 @@
|
||||||
# Manual edits may be lost in future updates.
|
# Manual edits may be lost in future updates.
|
||||||
|
|
||||||
provider "registry.opentofu.org/goauthentik/authentik" {
|
provider "registry.opentofu.org/goauthentik/authentik" {
|
||||||
version = "2024.10.1"
|
version = "2024.10.2"
|
||||||
constraints = "2024.10.1"
|
constraints = "2024.10.2"
|
||||||
hashes = [
|
hashes = [
|
||||||
"h1:/Eo+yQyGAKK67bkgt1plX5X41mkRKu5br66XYnL/UyQ=",
|
"h1:qjDOLb8+12kZHSM3VsItQCsZYJhDMD4bNKSZi15HQ28=",
|
||||||
"h1:1S06FnDvjDsdOm/2J/M95FypohflaT0a9OUOwl4S87o=",
|
"zh:06c6c9bb2716052fefc1013ed1a77a12159d5625fe43857700c282e80e2fbba1",
|
||||||
"h1:7c3PvOLtsB0F4KHdGT1bTq2mzeNjx4TaNlVKRX78vAc=",
|
"zh:121e45b3d3675df24e2c1bb107e2ed15fc9f1ec8b602b9bdaebec71481addf0c",
|
||||||
"h1:8NUPNLWr9/klFJckfw6HkOMqsGhTTdePUmlBRLOIJjY=",
|
"zh:2aec74c8df3e3eb56fb09edcb1c7f43c91f932b2ef2327aa855ba0819f11169e",
|
||||||
"h1:Ariy1e/DAbcoXS9Wud/Ad3rEC1cLqQ7HdcHBzfTRiSM=",
|
"zh:4f2bf009f43293a24cc8941d4bbab340a53f569a9331aa615a7934f500a64290",
|
||||||
"h1:Bc9zVu8DyzeveEqEaCitlsvzBEY6CU/F648PEjrFYuk=",
|
"zh:64b150655b47c60e6ae72a2ee754f5019b2baabd4dc292a6b2b960b3a206e218",
|
||||||
"h1:D5mConUujTcrau12WRa+Qg1lvPJLzjc76ClIYevJtVw=",
|
"zh:78bf3fd7cbac489d23a620743e5af5b85b31fc548433cf86f0861878b68f2666",
|
||||||
"h1:FFYDaQDN8nbfsjwp8kw7YO6xsFCJlhtKSXx9gdLLbok=",
|
"zh:7ce7a02671056d476d17652d780ee2bd309ce34eb77746719b7b277ca66b7c58",
|
||||||
"h1:Qfd127te/m5E0LAJvJ9kGWKdCXQdFXlz3ve+nV3HsWM=",
|
"zh:84fdb911186918cbba86c1390ce18a4423f0d748216f2d9c8421801b34b41f16",
|
||||||
"h1:RpNxc5WPT5H3WoKP8t7yKLO7MUAuHgfjm/rifaKpYM8=",
|
"zh:95db38fb110302707cd70471f5cb2bf361ed6d5987f7b6fe5f3c5855f9dc9b64",
|
||||||
"h1:XifS+/OiEMhGI7MQnQtF3ACScqWB/N2Sr/bIrvSKOag=",
|
"zh:9c24dbf6512637bb1d4201a901dddef0210b440ad8b02717ca1167b75afa6882",
|
||||||
"h1:YMreOu0B0U2v8azRZ/iVJPhoDedlATNHCam1iztTUks=",
|
"zh:a83bc8bfe87e44c788c3c974e764c7bfb1c5fb982f427a5b928c50e55b48dea6",
|
||||||
"h1:eIMjryDbwEUWlBOFPtGWPf9NdNVWeGLeniVzafoPXZU=",
|
"zh:b5a4d5d1f2f0e8d65ad29a23bfd72d0d4e3e06e9bacea9463a10e67137833409",
|
||||||
"h1:v6XQwr4PDKtgHtdgCq03iYme4VaJAG8kSH4aKJL0OSw=",
|
"zh:d1e08a662ab7c80373bc13446c9b316a671fcddec6aeffef7ab3649d1bbfb76b",
|
||||||
"zh:149c76107f75ea5b530409d81cd3b63abc5478831c1f794df1fc12acd5f7ac78",
|
"zh:e1c50a791f2d53f7b464ab122f92062547d5a4ad71297f5e7f0375453cd2034f",
|
||||||
"zh:60bf7a62ec4bb742121f708b1e964b6bc816988e14c9e831723f0788a5c22471",
|
|
||||||
"zh:625f1eecf87e1d741bc99b69aa0aac3c82a4040bb9e704e2c20b09e562517c20",
|
|
||||||
"zh:690f247fd428dd7659aad3189a86288c784fdedbeb8cd75295aa417338d126b2",
|
|
||||||
"zh:6be8c0c70b18da79b5c7cb19ca445a1607404b7e1caff9bdb8e2330c22a591c6",
|
|
||||||
"zh:77bd031a28ec92a215cc5c12381791239ad43087c37f73ab1538f909e15ceae5",
|
|
||||||
"zh:78ffd4fe7b65220db2d33430240507395a71ef8e1dd1c22d82fd547855113df5",
|
|
||||||
"zh:7c0414978a45481bbeb8fc1aed1806409a2499967bd30edfcf9c34d1005d0faa",
|
|
||||||
"zh:7df2c43de2555c11b761a938e2414f25165845d932ca95d562ccabfe3a78a209",
|
|
||||||
"zh:819baedab497151fabcc9c887bcb07382a371708e3f9632ae1a58563ba79104f",
|
|
||||||
"zh:891208df7e634c2de7cb164d1ed88d492e7852abd32293b727b5b82f32efd7e7",
|
|
||||||
"zh:b6385a881b7098f6a6260f7b298eb26ef06eeed02a90ffdff9d2d7cf72fdaa27",
|
|
||||||
"zh:ce642bbd35babd93339a80549552823ec743397e456f18dbcffdf5af3fec612e",
|
|
||||||
"zh:ffd96ddda256a49097b21e6e672ef63d532a960bbc5455958102900ce79a4a10",
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ terraform {
|
||||||
required_providers {
|
required_providers {
|
||||||
authentik = {
|
authentik = {
|
||||||
source = "goauthentik/authentik"
|
source = "goauthentik/authentik"
|
||||||
version = "2024.10.1"
|
version = "2024.10.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -40,7 +40,7 @@ module "gitea" {
|
||||||
client_id = var.gitea_client_id
|
client_id = var.gitea_client_id
|
||||||
client_secret = var.gitea_client_secret
|
client_secret = var.gitea_client_secret
|
||||||
app_access_group_id = ""
|
app_access_group_id = ""
|
||||||
redirect_uris = ["https://git.roboces.dev/user/oauth2/authentik/callback"]
|
redirect_uris = [{ matching_mode = "strict", url = "https://git.roboces.dev/user/oauth2/authentik/callback" }]
|
||||||
app_icon = "https://git.roboces.dev/assets/img/logo.svg"
|
app_icon = "https://git.roboces.dev/assets/img/logo.svg"
|
||||||
app_description = "Beyond coding. We forge."
|
app_description = "Beyond coding. We forge."
|
||||||
app_publisher = "Forgejo"
|
app_publisher = "Forgejo"
|
||||||
|
|
@ -55,12 +55,21 @@ module "miniflux" {
|
||||||
client_id = var.miniflux_client_id
|
client_id = var.miniflux_client_id
|
||||||
client_secret = var.miniflux_client_secret
|
client_secret = var.miniflux_client_secret
|
||||||
app_access_group_id = ""
|
app_access_group_id = ""
|
||||||
redirect_uris = ["https://feeds.roboces.dev/oauth2/oidc/callback", "https://feeds.fuku/oauth2/oidc/callback"]
|
redirect_uris = [
|
||||||
app_icon = "https://miniflux.app/favicon.ico"
|
{
|
||||||
app_description = "RSS aggregator"
|
matching_mode = "strict",
|
||||||
app_publisher = "Miniflux"
|
url = "https://feeds.roboces.dev/oauth2/oidc/callback"
|
||||||
app_url = "https://feeds.roboces.dev"
|
},
|
||||||
sub_mode = "hashed_user_id"
|
{
|
||||||
|
matching_mode = "strict",
|
||||||
|
url = "https://feeds.fuku/oauth2/oidc/callback"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
app_icon = "https://miniflux.app/favicon.ico"
|
||||||
|
app_description = "RSS aggregator"
|
||||||
|
app_publisher = "Miniflux"
|
||||||
|
app_url = "https://feeds.roboces.dev"
|
||||||
|
sub_mode = "hashed_user_id"
|
||||||
}
|
}
|
||||||
|
|
||||||
module "portainer" {
|
module "portainer" {
|
||||||
|
|
@ -71,7 +80,10 @@ module "portainer" {
|
||||||
client_secret = var.portainer_client_secret
|
client_secret = var.portainer_client_secret
|
||||||
app_access_group_id = authentik_group.admins.id
|
app_access_group_id = authentik_group.admins.id
|
||||||
redirect_uris = [
|
redirect_uris = [
|
||||||
"https://containers.fukurokuju.dev/"
|
{
|
||||||
|
matching_mode = "strict",
|
||||||
|
url = "https://containers.fukurokuju.dev/"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
app_icon = "https://www.portainer.io/hubfs/crane-icon.svg"
|
app_icon = "https://www.portainer.io/hubfs/crane-icon.svg"
|
||||||
app_description = "Kubernetes and Docker container Management Software"
|
app_description = "Kubernetes and Docker container Management Software"
|
||||||
|
|
@ -87,11 +99,13 @@ module "paperless" {
|
||||||
client_id = var.paperless_client_id
|
client_id = var.paperless_client_id
|
||||||
client_secret = var.paperless_client_secret
|
client_secret = var.paperless_client_secret
|
||||||
app_access_group_id = ""
|
app_access_group_id = ""
|
||||||
redirect_uris = ["https://paperless.roboces.dev/accounts/oidc/authentik/login/callback/"]
|
redirect_uris = [
|
||||||
app_icon = "https://paperless.roboces.dev/favicon.ico"
|
{ matching_mode = "strict", url = "https://paperless.roboces.dev/accounts/oidc/authentik/login/callback/" }
|
||||||
app_description = "Document manager"
|
]
|
||||||
app_publisher = "Paperless"
|
app_icon = "https://paperless.roboces.dev/favicon.ico"
|
||||||
app_url = "https://paperless.roboces.dev"
|
app_description = "Document manager"
|
||||||
|
app_publisher = "Paperless"
|
||||||
|
app_url = "https://paperless.roboces.dev"
|
||||||
}
|
}
|
||||||
|
|
||||||
module "sonarr" {
|
module "sonarr" {
|
||||||
|
|
@ -136,9 +150,19 @@ module "netbird" {
|
||||||
client_type = "public"
|
client_type = "public"
|
||||||
app_access_group_id = authentik_group.vpn.id
|
app_access_group_id = authentik_group.vpn.id
|
||||||
redirect_uris = [
|
redirect_uris = [
|
||||||
"https://vpn.fukurokuju.dev",
|
{
|
||||||
"https://vpn.fukurokuju.dev.*",
|
matching_mode = "strict",
|
||||||
"http://localhost:53000"
|
url = "https://vpn.fukurokuju.dev",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
matching_mode = "regex",
|
||||||
|
url = "https://vpn.fukurokuju.dev.*",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
matching_mode = "strict",
|
||||||
|
url = "http://localhost:53000"
|
||||||
|
},
|
||||||
|
|
||||||
]
|
]
|
||||||
sub_mode = "user_id"
|
sub_mode = "user_id"
|
||||||
extra_property_mappings = [
|
extra_property_mappings = [
|
||||||
|
|
|
||||||
|
|
@ -3,12 +3,12 @@ terraform {
|
||||||
required_providers {
|
required_providers {
|
||||||
authentik = {
|
authentik = {
|
||||||
source = "goauthentik/authentik"
|
source = "goauthentik/authentik"
|
||||||
version = "2024.10.1"
|
version = "2024.10.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
data "authentik_flow" "default-authorization-flow" {
|
data "authentik_flow" "default-authorization-implicit-flow" {
|
||||||
slug = "default-provider-authorization-implicit-consent"
|
slug = "default-provider-authorization-implicit-consent"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -35,9 +35,9 @@ resource "authentik_provider_oauth2" "provider_oidc" {
|
||||||
client_id = var.client_id
|
client_id = var.client_id
|
||||||
client_secret = var.client_secret
|
client_secret = var.client_secret
|
||||||
client_type = var.client_type
|
client_type = var.client_type
|
||||||
authorization_flow = data.authentik_flow.default-authorization-flow.id
|
authorization_flow = data.authentik_flow.default-authorization-implicit-flow.id
|
||||||
authentication_flow = data.authentik_flow.default-authentication-flow.id
|
authentication_flow = data.authentik_flow.default-authentication-flow.id
|
||||||
redirect_uris = var.redirect_uris
|
allowed_redirect_uris = var.redirect_uris
|
||||||
property_mappings = data.authentik_property_mapping_provider_scope.default-scopes.ids
|
property_mappings = data.authentik_property_mapping_provider_scope.default-scopes.ids
|
||||||
sub_mode = var.sub_mode
|
sub_mode = var.sub_mode
|
||||||
signing_key = var.oidc_signing_key
|
signing_key = var.oidc_signing_key
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ variable "app_access_group_id" {
|
||||||
|
|
||||||
variable "redirect_uris" {
|
variable "redirect_uris" {
|
||||||
description = "List of URIs allowed to redirect to"
|
description = "List of URIs allowed to redirect to"
|
||||||
type = list(string)
|
type = list(map(string))
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "sub_mode" {
|
variable "sub_mode" {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ terraform {
|
||||||
required_providers {
|
required_providers {
|
||||||
authentik = {
|
authentik = {
|
||||||
source = "goauthentik/authentik"
|
source = "goauthentik/authentik"
|
||||||
version = "2024.10.1"
|
version = "2024.10.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue