feat: add portainer authentik-oidc tofu module
This commit is contained in:
parent
9d6464a7af
commit
ca93b20463
3 changed files with 29 additions and 0 deletions
|
|
@ -85,3 +85,20 @@ module "miniflux" {
|
|||
app_url = "https://feeds.roboces.dev"
|
||||
sub_mode = "hashed_user_id"
|
||||
}
|
||||
|
||||
module "portainer" {
|
||||
source = "../modules/authentik-oidc"
|
||||
app_name = "Portainer"
|
||||
app_slug = "portainer"
|
||||
client_id = var.portainer_client_id
|
||||
client_secret = var.portainer_client_secret
|
||||
app_access_group_id = authentik_group.admins.id
|
||||
redirect_uris = [
|
||||
"https://containers.fukurokuju.dev/"
|
||||
]
|
||||
app_icon = "https://www.portainer.io/hubfs/crane-icon.svg"
|
||||
app_description = "Kubernetes and Docker container Management Software"
|
||||
app_publisher = "Portainer"
|
||||
app_url = "https://containers.fukurokuju.dev/"
|
||||
sub_mode = "hashed_user_id"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,3 +8,5 @@ TF_VAR_gitea_client_id=
|
|||
TF_VAR_gitea_client_secret=
|
||||
TF_VAR_miniflux_client_id=
|
||||
TF_VAR_miniflux_client_secret=
|
||||
TF_VAR_portainer_client_id=
|
||||
TF_VAR_portainer_client_secret=
|
||||
|
|
|
|||
|
|
@ -37,3 +37,13 @@ variable "miniflux_client_secret" {
|
|||
description = "Client secret"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "portainer_client_id" {
|
||||
description = "Client ID"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "portainer_client_secret" {
|
||||
description = "Client secret"
|
||||
type = string
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue