[VOL-2065]Create probes in helm-charts for openonu adapter
Change-Id: I1a7f6cc6a84f55a722096220d58077a0d23c8eb0
diff --git a/voltha-adapter-openonu/Chart.yaml b/voltha-adapter-openonu/Chart.yaml
index ff281d5..b9a7eb7 100644
--- a/voltha-adapter-openonu/Chart.yaml
+++ b/voltha-adapter-openonu/Chart.yaml
@@ -17,5 +17,5 @@
description: A Helm chart for Voltha OpenONU Adapter
icon: https://guide.opencord.org/logos/cord.svg
-version: 2.1.6
+version: 2.1.7
appVersion: 2.2.2
diff --git a/voltha-adapter-openonu/templates/adapters-openonu.yaml b/voltha-adapter-openonu/templates/adapters-openonu.yaml
index 475f018..1b3f5f4 100644
--- a/voltha-adapter-openonu/templates/adapters-openonu.yaml
+++ b/voltha-adapter-openonu/templates/adapters-openonu.yaml
@@ -71,3 +71,16 @@
- "--name=brcm_openomci_onu"
- "--backend=etcd"
- "--etcd={{ .Values.services.etcd.service }}:{{ .Values.services.etcd.port }}"
+ - "--probe=:8080"
+ readinessProbe:
+ httpGet:
+ path: /readz
+ port: 8080
+ initialDelaySeconds: 10
+ periodSeconds: 5
+ livenessProbe:
+ httpGet:
+ path: /healthz
+ port: 8080
+ initialDelaySeconds: 10
+ periodSeconds: 5