REFACTOR(authelia): integrate ingress in values
- Move config.yaml, middleware.yaml, rbac.yaml to manifests/ - Add ingress configuration to helm-values.yaml - Remove separate ingress.yaml
This commit is contained in:
@@ -1,9 +1,20 @@
|
|||||||
# Authelia Helm Values
|
# Authelia Helm Values
|
||||||
# Chart: https://charts.authelia.com
|
# Chart: https://charts.authelia.com
|
||||||
|
|
||||||
# Ingress - disabled, using separate ingress.yaml
|
# Ingress configuration
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: true
|
||||||
|
className: traefik
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
tls:
|
||||||
|
enabled: true
|
||||||
|
secret: authelia-tls
|
||||||
|
traefikCRD:
|
||||||
|
enabled: false
|
||||||
|
subdomain: auth0213
|
||||||
|
host: ~
|
||||||
|
hostOverride: auth0213.kro.kr
|
||||||
|
|
||||||
# Pod configuration
|
# Pod configuration
|
||||||
pod:
|
pod:
|
||||||
|
|||||||
@@ -1,24 +0,0 @@
|
|||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
name: authelia-ingress
|
|
||||||
namespace: authelia
|
|
||||||
annotations:
|
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
||||||
spec:
|
|
||||||
ingressClassName: traefik
|
|
||||||
tls:
|
|
||||||
- hosts:
|
|
||||||
- auth0213.kro.kr
|
|
||||||
secretName: authelia-tls
|
|
||||||
rules:
|
|
||||||
- host: auth0213.kro.kr
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: Prefix
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: authelia
|
|
||||||
port:
|
|
||||||
number: 80
|
|
||||||
@@ -2,7 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- vault/authelia-secrets.yaml
|
- vault/authelia-secrets.yaml
|
||||||
- ingress.yaml
|
- manifests/config.yaml
|
||||||
- middleware.yaml
|
- manifests/middleware.yaml
|
||||||
- config.yaml
|
- manifests/rbac.yaml
|
||||||
- rbac.yaml
|
|
||||||
|
|||||||
Reference in New Issue
Block a user