{{- if .Values.defaultPolicy.enabled }}
apiVersion: openebs.io/v1alpha1
kind: JivaVolumePolicy
metadata:
  name: {{ .Values.defaultPolicy.name }}
spec:
  replicaSC: {{ .Values.defaultPolicy.replicaSC }}
  target:
    replicationFactor: {{ .Values.defaultPolicy.replicas }}
{{- end }}
