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/templates/clusterrole.yaml b/voltha-infra/templates/clusterrole.yaml
index 504fafc..ba7a0aa 100644
--- a/voltha-infra/templates/clusterrole.yaml
+++ b/voltha-infra/templates/clusterrole.yaml
@@ -19,5 +19,5 @@
namespace: {{ .Release.Namespace | quote }}
rules:
- apiGroups: [""]
- resources: ["pods"]
- verbs: ["get", "list", "watch"]
+ resources: ["pods", "pods/exec"]
+ verbs: ["get", "list", "watch", "create"]