Made traefik-dashboard not a component as that doesn't really work well

This commit is contained in:
Dreaded_X 2024-12-31 04:11:19 +01:00
parent ac6f0852d7
commit e011308c24
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4
4 changed files with 8 additions and 17 deletions

View File

@ -77,6 +77,9 @@ spec:
access_control:
rules:
- domain: traefik.${domain}
policy: one_factor
subject: "group:lldap_admin"
# Deny by default, mainly a placeholder to allow patching in other rules
- domain: "*"
policy: deny

View File

@ -4,8 +4,7 @@ resources:
- ./lldap
- ./authelia
- ./grafana
- ./traefik-dashboard
- ./whoami.yaml
- ./akri-demo.yaml
components:
- ./traefik-dashboard

View File

@ -1,6 +0,0 @@
- op: add
path: /spec/values/configMap/access_control/rules/0
value:
domain: traefik.${domain}
policy: one_factor
subject: "group:lldap_admin"

View File

@ -1,10 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: traefik
resources:
- ingress.yaml
patches:
- target:
kind: HelmRelease
name: authelia
namespace: authelia
path: access.yaml