mirror of
https://github.com/lordmathis/dev-cluster.git
synced 2025-12-22 16:44:24 +00:00
Use variable susbtitution in manifests
This commit is contained in:
@@ -6,7 +6,7 @@ metadata:
|
||||
namespace: auth
|
||||
spec:
|
||||
forwardAuth:
|
||||
address: 'http://authelia.auth.svc.cluster.local/api/authz/forward-auth?authelia_url=https%3A%2F%2Fauth.example.com'
|
||||
address: 'http://authelia.auth.svc.cluster.local/api/authz/forward-auth?authelia_url=https%3A%2F%2F${AUTHELIA_DOMAIN}'
|
||||
trustForwardHeader: true
|
||||
authResponseHeaders:
|
||||
- "Remote-User"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# /apps/prod/authelia/values.yaml
|
||||
domain: 'example.com'
|
||||
domain: '${DOMAIN}'
|
||||
configMap:
|
||||
authentication_backend:
|
||||
file:
|
||||
@@ -11,7 +11,7 @@ configMap:
|
||||
enabled: false
|
||||
access_control:
|
||||
rules:
|
||||
- domain: '*.example.com'
|
||||
- domain: '*.${DOMAIN}'
|
||||
policy: one_factor
|
||||
server:
|
||||
endpoints:
|
||||
@@ -22,8 +22,8 @@ configMap:
|
||||
redis:
|
||||
enabled: false
|
||||
cookies:
|
||||
- domain: 'example.com'
|
||||
authelia_url: 'https://auth.example.com'
|
||||
- domain: '${DOMAIN}'
|
||||
authelia_url: 'https://${AUTHELIA_DOMAIN}'
|
||||
name: 'authelia_session'
|
||||
storage:
|
||||
local:
|
||||
@@ -51,6 +51,6 @@ ingress:
|
||||
ingressClassName: "traefik"
|
||||
traefikCRD:
|
||||
enabled: true
|
||||
matchOverride: Host(`auth.example.com`)
|
||||
matchOverride: Host(`${AUTHELIA_DOMAIN}`)
|
||||
entryPoints:
|
||||
- "websecure"
|
||||
Reference in New Issue
Block a user