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
|
||||
# Chart: https://charts.authelia.com
|
||||
|
||||
# Ingress - disabled, using separate ingress.yaml
|
||||
# Ingress configuration
|
||||
ingress:
|
||||
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:
|
||||
|
||||
@@ -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
|
||||
resources:
|
||||
- vault/authelia-secrets.yaml
|
||||
- ingress.yaml
|
||||
- middleware.yaml
|
||||
- config.yaml
|
||||
- rbac.yaml
|
||||
- manifests/config.yaml
|
||||
- manifests/middleware.yaml
|
||||
- manifests/rbac.yaml
|
||||
|
||||
Reference in New Issue
Block a user