Do not clean up pvc when awxbackup cr is deleted

- This is accomplished by explicitly setting ownerRefs to null
This commit is contained in:
Christian M. Adams
2021-06-15 12:23:01 -04:00
parent 1bb6ada3a2
commit 42141cd159

View File

@@ -4,6 +4,7 @@ kind: PersistentVolumeClaim
metadata:
name: {{ deployment_name }}-backup-claim
namespace: {{ backup_pvc_namespace }}
ownerReferences: null
labels:
app.kubernetes.io/name: '{{ meta.name }}'
app.kubernetes.io/part-of: '{{ meta.name }}'