VOL-4077: Improve storage usage
- Use etcd chart 6.2.5 autoCompactionMode=revision and
  autocompactionRetention=1
- Allow configurability of ETCD_ELECTION_TIMEOUT and
  ETCD_HEARTBEAT_INTERVAL for etcd (defaults to 5000 and 1000
  respectively).
- Also create a cron job to defragement etcd DB every 5 mins

Change-Id: I32db16ab64f9ea30d69875a34016ff0479913f70
diff --git a/voltha-infra/values.yaml b/voltha-infra/values.yaml
index 8b4a55d..4ad7171 100644
--- a/voltha-infra/values.yaml
+++ b/voltha-infra/values.yaml
@@ -73,6 +73,13 @@
 
 etcd:
   enabled: true
+
+  # ETCD defrag creates a CronJob that runs "etcdctl defrag --cluster"
+  # on a defined schedule
+  defrag:
+    enabled: false
+    schedule: "*/5 * * * *"
+
   ingress:
     enabled: false
     annotations:
@@ -94,6 +101,13 @@
     replicaCount: 1
   service:
     port: 2379
+  autoCompactionMode: "revision"
+  autoCompactionRetention: 1
+  extraEnvVars:
+    - name: ETCD_ELECTION_TIMEOUT
+      value: "5000"
+    - name: ETCD_HEARTBEAT_INTERVAL
+      value: "1000"
 
 kafka:
   enabled: true