mirror of
https://github.com/mariadb-operator/mariadb-operator.git
synced 2025-07-22 18:27:44 +00:00
20 lines
546 B
YAML
20 lines
546 B
YAML
apiVersion: k8s.mariadb.com/v1alpha1
|
|
kind: User
|
|
metadata:
|
|
name: user
|
|
spec:
|
|
# If you want the user to be created with a different name than the resource name
|
|
# name: user-custom
|
|
mariaDbRef:
|
|
name: mariadb
|
|
passwordSecretKeyRef:
|
|
name: mariadb
|
|
key: password
|
|
# This field defaults to 10
|
|
maxUserConnections: 20
|
|
host: "%"
|
|
# Delete the resource in the database whenever the CR gets deleted.
|
|
# Alternatively, you can specify Skip in order to omit deletion.
|
|
cleanupPolicy: Delete
|
|
requeueInterval: 10h
|
|
retryInterval: 30s |