Skip to content

Commit

Permalink
fix: added mariadb grant/user/db for authelia
Browse files Browse the repository at this point in the history
  • Loading branch information
henrywhitaker3 committed Mar 9, 2024
1 parent 28d3747 commit 666ad25
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions argo/cluster/misc/authelia/chart/templates/db.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
apiVerison: k8s.mariadb.com/v1alpha1
kind: Database
metadata:
name: authelia-db
spec:
mariaDbRef:
name: mariadb
namespace: databases
---
apiVersion: k8s.mariadb.com
kind: User
metadata:
name: authelia
spec:
name: authelia
host: '%'

passwordSecretKeyRef:
name: mariadb-authelia-password
key: password

mariaDbRef:
name: mariadb
namespace: databases
---
apiVersion: k8s.mariadb.com
kind: Grant
metadata:
name: authlia-grant
spec:
database: authelia
table: "*"
privileges: [ALL]
username: authelia

mariaDbRef:
name: mariadb
namespace: databases

0 comments on commit 666ad25

Please sign in to comment.