mirror of
https://github.com/dat515-2025/Group-8.git
synced 2026-03-22 06:57:47 +01:00
19 lines
455 B
YAML
19 lines
455 B
YAML
apiVersion: k8s.mariadb.com/v1alpha1
|
|
kind: Grant
|
|
metadata:
|
|
name: grant
|
|
spec:
|
|
mariaDbRef:
|
|
name: mariadb
|
|
privileges:
|
|
- "ALL PRIVILEGES"
|
|
database: "app-demo-database"
|
|
table: "*"
|
|
username: "app-demo-user"
|
|
grantOption: true
|
|
host: "%"
|
|
# Delete the resource in the database whenever the CR gets deleted.
|
|
# Alternatively, you can specify Skip in order to omit deletion.
|
|
cleanupPolicy: Skip
|
|
requeueInterval: 10h
|
|
retryInterval: 30s |