mirror of
https://github.com/dat515-2025/Group-8.git
synced 2026-03-22 15:12:08 +01:00
feat(infrastructure): add basic terraform resources
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
apiVersion: k8s.mariadb.com/v1alpha1
|
||||
kind: User
|
||||
metadata:
|
||||
name: mariadb-user
|
||||
namespace: mariadb-operator
|
||||
spec:
|
||||
mariaDbRef:
|
||||
name: mariadb-repl
|
||||
namespace: mariadb-operator
|
||||
waitForIt: false
|
||||
host: {{ .Values.user.host | default "%" | quote }}
|
||||
name: {{ .Values.user.name | default "user" }}
|
||||
passwordPlugin: {}
|
||||
passwordSecretKeyRef:
|
||||
key: user-password
|
||||
name: mariadb-secret
|
||||
Reference in New Issue
Block a user