diff --git a/class/defaults.yml b/class/defaults.yml index 7a7a8b2..5badd5e 100644 --- a/class/defaults.yml +++ b/class/defaults.yml @@ -123,6 +123,8 @@ parameters: enabled: true size: ${vault:storage:size} storageClass: ${vault:storage:class} + annotations: + k8up.io/backup: 'false' ingress: enabled: ${vault:ingress:enabled} annotations: ${vault:ingress:annotations} diff --git a/tests/golden/defaults/vault/vault/10_vault/vault/templates/server-statefulset.yaml b/tests/golden/defaults/vault/vault/10_vault/vault/templates/server-statefulset.yaml index c12465d..980b08d 100644 --- a/tests/golden/defaults/vault/vault/10_vault/vault/templates/server-statefulset.yaml +++ b/tests/golden/defaults/vault/vault/10_vault/vault/templates/server-statefulset.yaml @@ -168,6 +168,8 @@ spec: type: OnDelete volumeClaimTemplates: - metadata: + annotations: + k8up.io/backup: 'false' name: data spec: accessModes: