Files
mariadb-operator/examples/manifests/user.yaml
2024-10-07 10:14:47 +02:00

20 lines
545 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: 30s
retryInterval: 5s