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 Redis instance with deletion protection on. Update the namespace!
apiVersion: vshn.appcat.vshn.io/v1
kind: VSHNRedis
metadata:
name: redis-app1
namespace: <your-namespace>
spec:
parameters:
security:
deletionProtection: true (1)
backup:
schedule: '0 22 * * *'
service:
version: "7.0"
redisSettings: |
activedefrag yes
size:
plan: standard-2
writeConnectionSecretToRef:
name: redis-creds
1 | Enable or disable instance deletion protection. |