mirror of
https://github.com/mariadb-operator/mariadb-operator.git
synced 2025-08-18 08:17:37 +00:00
Updated user and grant examples
This commit is contained in:
@ -4,14 +4,16 @@ metadata:
|
||||
name: grant
|
||||
spec:
|
||||
mariaDbRef:
|
||||
name: mariadb
|
||||
name: mariadb-galera
|
||||
privileges:
|
||||
- "SELECT"
|
||||
- "INSERT"
|
||||
- "UPDATE"
|
||||
# - "ALL PRIVILEGES"
|
||||
database: "*"
|
||||
table: "*"
|
||||
username: user
|
||||
grantOption: true
|
||||
host: "%"
|
||||
requeueInterval: 30s
|
||||
retryInterval: 5s
|
@ -8,7 +8,7 @@ spec:
|
||||
mariaDbRef:
|
||||
name: mariadb
|
||||
passwordSecretKeyRef:
|
||||
name: user
|
||||
name: mariadb
|
||||
key: password
|
||||
# This field is immutable and defaults to 10
|
||||
maxUserConnections: 20
|
||||
|
@ -1,6 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: user
|
||||
data:
|
||||
password: dXNlcg==
|
@ -8,10 +8,9 @@ spec:
|
||||
mariaDbRef:
|
||||
name: mariadb
|
||||
passwordSecretKeyRef:
|
||||
name: user
|
||||
name: mariadb
|
||||
key: password
|
||||
# This field is immutable and defaults to 10
|
||||
maxUserConnections: 20
|
||||
host: "%"
|
||||
requeueInterval: 30s
|
||||
retryInterval: 5s
|
Reference in New Issue
Block a user