Files
mariadb-operator/examples/manifests/user.yaml
2025-07-17 17:33:54 +02:00

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