mirror of
https://github.com/mariadb-operator/mariadb-operator.git
synced 2025-07-31 05:05:09 +00:00
16 lines
486 B
YAML
16 lines
486 B
YAML
apiVersion: k8s.mariadb.com/v1alpha1
|
|
kind: Database
|
|
metadata:
|
|
name: database
|
|
spec:
|
|
# If you want the database to be created with a different name than the resource name
|
|
# name: my-logical-database
|
|
mariaDbRef:
|
|
name: mariadb
|
|
characterSet: utf8
|
|
collate: utf8_general_ci
|
|
# 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 |