Patch in authelia access rules
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user