Patch in authelia access rules
This commit is contained in:
parent
264a70b5b0
commit
b4073dfef7
|
@ -72,6 +72,6 @@ spec:
|
||||||
|
|
||||||
access_control:
|
access_control:
|
||||||
rules:
|
rules:
|
||||||
- domain: traefik.${domain}
|
# Deny by default, mainly a placeholder to allow patching in other rules
|
||||||
policy: one_factor
|
- domain: "*"
|
||||||
subject: "group:lldap_admin"
|
policy: deny
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ./traefik-dashboard
|
|
||||||
- ./lldap
|
- ./lldap
|
||||||
- ./authelia
|
- ./authelia
|
||||||
- ./whoami.yaml
|
- ./whoami.yaml
|
||||||
|
|
||||||
|
components:
|
||||||
|
- ./traefik-dashboard
|
||||||
|
|
6
apps/traefik-dashboard/access.yaml
Normal file
6
apps/traefik-dashboard/access.yaml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
- op: add
|
||||||
|
path: /spec/values/configMap/access_control/rules/0
|
||||||
|
value:
|
||||||
|
domain: traefik.${domain}
|
||||||
|
policy: one_factor
|
||||||
|
subject: "group:lldap_admin"
|
|
@ -1,4 +1,10 @@
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1alpha1
|
||||||
kind: Kustomization
|
kind: Component
|
||||||
resources:
|
resources:
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
|
patches:
|
||||||
|
- target:
|
||||||
|
kind: HelmRelease
|
||||||
|
name: authelia
|
||||||
|
namespace: authelia
|
||||||
|
path: access.yaml
|
||||||
|
|
Loading…
Reference in New Issue
Block a user