Added authelia
This commit is contained in:
parent
6a86c3b7af
commit
5ad72c4b0f
11
apps/authelia/kustomization.yaml
Normal file
11
apps/authelia/kustomization.yaml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: authelia
|
||||||
|
resources:
|
||||||
|
- ./namespace.yaml
|
||||||
|
- ./repository.yaml
|
||||||
|
- ./release.yaml
|
||||||
|
|
||||||
|
components:
|
||||||
|
- ../../common/postgres
|
||||||
|
- ../../common/dragonflydb
|
4
apps/authelia/namespace.yaml
Normal file
4
apps/authelia/namespace.yaml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: authelia
|
55
apps/authelia/release.yaml
Normal file
55
apps/authelia/release.yaml
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: authelia
|
||||||
|
spec:
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: authelia
|
||||||
|
reconcileStrategy: ChartVersion
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: authelia
|
||||||
|
version: 0.9.9
|
||||||
|
interval: 15m
|
||||||
|
values:
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
tls:
|
||||||
|
enabled: true
|
||||||
|
secret: huizinga-dev-tls
|
||||||
|
traefikCRD:
|
||||||
|
enabled: true
|
||||||
|
entryPoints:
|
||||||
|
- websecure
|
||||||
|
configMap:
|
||||||
|
authentication_backend:
|
||||||
|
ldap:
|
||||||
|
enabled: true
|
||||||
|
implementation: custom
|
||||||
|
address: ldap://lldap.lldap.svc.cluster.local:3890
|
||||||
|
base_dn: dc=huizinga,dc=dev
|
||||||
|
additional_users_dn: ou=people
|
||||||
|
users_filter: "(&({username_attribute}={input})(objectClass=person))"
|
||||||
|
additional_groups_dn: ou=groups
|
||||||
|
groups_filter: "(member={dn})"
|
||||||
|
attributes:
|
||||||
|
display_name: displayName
|
||||||
|
username: uid
|
||||||
|
group_name: cn
|
||||||
|
mail: mail
|
||||||
|
user: uid=authelia,ou=people,dc=huizinga,dc=dev
|
||||||
|
password:
|
||||||
|
value: "JustATest"
|
||||||
|
session:
|
||||||
|
cookies:
|
||||||
|
- subdomain: login
|
||||||
|
domain: huizinga.dev
|
||||||
|
|
||||||
|
# Just for testing
|
||||||
|
storage:
|
||||||
|
local:
|
||||||
|
enabled: true
|
||||||
|
notifier:
|
||||||
|
filesystem:
|
||||||
|
enabled: true
|
7
apps/authelia/repository.yaml
Normal file
7
apps/authelia/repository.yaml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: authelia
|
||||||
|
spec:
|
||||||
|
interval: 15m
|
||||||
|
url: https://charts.authelia.com
|
|
@ -3,4 +3,5 @@ kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ./traefik-dashboard
|
- ./traefik-dashboard
|
||||||
- ./lldap
|
- ./lldap
|
||||||
|
- ./authelia
|
||||||
- ./whoami.yaml
|
- ./whoami.yaml
|
||||||
|
|
|
@ -1,15 +1,9 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: dragonflydb
|
|
||||||
---
|
|
||||||
apiVersion: dragonflydb.io/v1alpha1
|
apiVersion: dragonflydb.io/v1alpha1
|
||||||
kind: Dragonfly
|
kind: Dragonfly
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: dragonflydb
|
app: dragonflydb
|
||||||
name: dragonflydb
|
name: dragonflydb
|
||||||
namespace: dragonflydb
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
resources:
|
resources:
|
4
common/dragonflydb/kustomization.yaml
Normal file
4
common/dragonflydb/kustomization.yaml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1alpha1
|
||||||
|
kind: Component
|
||||||
|
resources:
|
||||||
|
- ./database.yaml
|
|
@ -8,4 +8,3 @@ resources:
|
||||||
|
|
||||||
- ./akri-devices.yaml
|
- ./akri-devices.yaml
|
||||||
- ./intel-devices.yaml
|
- ./intel-devices.yaml
|
||||||
- ./dragonflydb.yaml
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user