re-add outpost
Some checks failed
/ non-lab (push) Has been cancelled

This commit is contained in:
Chris Cowley 2025-04-02 17:01:01 +02:00
parent ec13906098
commit 30fb9c7d0f
2 changed files with 26 additions and 26 deletions

View file

@ -3,7 +3,7 @@ on:
branches:
- 'main'
path:
- '**/authentik'
- '**/authentik/*'
jobs:
authentik":

View file

@ -33,31 +33,31 @@ resource "authentik_outpost" "embedded_outpost" {
# })
}
# resource "authentik_outpost" "internal" {
# name = "Internal Outpost"
#
# protocol_providers = [
# authentik_provider_proxy.longhorn.id,
# ]
# service_connection = authentik_service_connection_kubernetes.local.id
#
# config = jsonencode({
# authentik_host = "https://auth.lab.cowley.tech"
# docker_map_ports = true
# kubernetes_ingress_class_name = "traefik"
# kubernetes_ingress_annotations = {
# "cert-manager.io/cluster-issuer" = "letsencrypt"
# }
# kubernetes_ingress_secret_name = "authentk_internal_outpost_tls"
# kubernetes_json_patches = null
# kubernetes_namespace = "authentik"
# kubernetes_replicas = 1
# kubernetes_service_type = "ClusterIP"
# log_level = "info"
# object_naming_template = "ak-outpost-%(name)s"
# refresh_interval = "minutes=5"
# })
# }
resource "authentik_outpost" "internal" {
name = "Internal Outpost"
protocol_providers = [
authentik_provider_proxy.longhorn.id,
]
service_connection = authentik_service_connection_kubernetes.local.id
config = jsonencode({
authentik_host = "https://auth.lab.cowley.tech"
docker_map_ports = true
kubernetes_ingress_class_name = "traefik"
kubernetes_ingress_annotations = {
"cert-manager.io/cluster-issuer" = "letsencrypt"
}
kubernetes_ingress_secret_name = "authentk_internal_outpost_tls"
kubernetes_json_patches = null
kubernetes_namespace = "authentik"
kubernetes_replicas = 1
kubernetes_service_type = "ClusterIP"
log_level = "info"
object_naming_template = "ak-outpost-%(name)s"
refresh_interval = "minutes=5"
})
}
resource "authentik_service_connection_kubernetes" "local" {
name = "Local Kubernetes Cluster"