You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Master role name will be used to create owner group role. Users with "owner" privilege will be put in this group role. Default is empty.
String
dropOnDelete
Should drop database on current Custom Resource deletion ? Default is false
Boolean
false
waitLinkedResourcesDeletion
Tell operator if it has to wait until all linked resources are deleted to delete current custom resource. If not, it won't be able to delete PostgresqlUser after. Default value is false.
Boolean
false
schemas
List of schemas to create/update. Default is empty.
apiVersion: postgresql.easymile.com/v1alpha1kind: PostgresqlDatabasemetadata:
name: fullspec:
# Engine configuration linkengineConfiguration:
# Resource namename: simple# Resource namespace# Will use resource namespace if not set# namespace:# Database namedatabase: databasename# Master role name# Master role name will be used to create top group role.# Database owner and users will be in this group role.# Default is ""masterRole: ""# Should drop on delete ?# Default set to falsedropOnDelete: true# Wait for linked resource deletion to accept deletion of the current resource# See documentation for more information# Default set to falsewaitLinkedResourcesDeletion: true# Schemasschemas:
# List of schemas to enablelist:
- schema1# Should drop on delete ?# Default set to false# If set to false, removing from list won't delete schema from databasedropOnDelete: true# Delete schema with cascade# Default set to false# For all elements that have used the deleted schemadeleteWithCascade: true# Extensionsextensions:
# List of extensions to enablelist:
- uuid-ossp# Should drop on delete ?# Default set to false# If set to false, removing from list won't delete extension from databasedropOnDelete: true# Delete extension with cascade# Default set to false# For all elements that have used the deleted extensiondeleteWithCascade: true