apiVersion: k8s.mariadb.com/v1alpha1 kind: Grant metadata: name: grant spec: mariaDbRef: name: mariadb privileges: - "ALL PRIVILEGES" database: "app-demo-database" table: "*" username: "app-demo-user" grantOption: true host: "%" # Delete the resource in the database whenever the CR gets deleted. # Alternatively, you can specify Skip in order to omit deletion. cleanupPolicy: Skip requeueInterval: 10h retryInterval: 30s