Deletion Protection

The Deletion Protection feature is enabled by default and ensures your instance is not deleted by accident.

Configuration

Deletion protection can be enabled or disabled using the following configuration:

Example of a Nextcloud instance with deletion protection on. Update the namespace!
apiVersion: vshn.appcat.vshn.io/v1
kind: VSHNNextcloud
metadata:
  name: nextcloud-app1-prod
  namespace: <your-namespace>
spec:
  parameters:
    security:
      deletionProtection: true (1)
    service:
      fqdn: my-nextcloud.example.com
      version: "29"
      useExternalPostgreSQL: true
      postgreSQLParameters: {}
    size:
      plan: standard-2
  writeConnectionSecretToRef:
    name: nextcloud-creds
1 Enable or disable instance deletion protection.