Report ONOS ready status
- Use the existing onos-ready-status script
Change-Id: I15d874fbe4fcb239d1bd2dd3625ccb1632bfa4dc
diff --git a/apps/tost-telegraf/values.yaml b/apps/tost-telegraf/values.yaml
index 1ac2abe..5a9216f 100644
--- a/apps/tost-telegraf/values.yaml
+++ b/apps/tost-telegraf/values.yaml
@@ -13,14 +13,27 @@
- name: "telegraf-external-daemon"
mountPath: /tmp/onos_telegraf.sh
subPath: tost_telegraf.sh
+ rbac:
+ rules:
+ - apiGroups: [""]
+ resources:
+ - pods
+ verbs:
+ - get
+ - list
+ - apiGroups: [""]
+ resources:
+ - pods/exec
+ verbs:
+ - create
config:
inputs:
- execd:
- command: ["/tmp/onos_telegraf.sh"]
+ command: ["sh", "-c", "/tmp/onos_telegraf.sh"]
signal: "STDIN"
- cisco_telemetry_gnmi:
addresses:
- - 10.128.100.34:9339
+ - 10.128.100.36:9339
redial: 10s
- cisco_telemetry_gnmi.subscription:
name: stratum_counters
@@ -38,3 +51,7 @@
password: rocks
server: localhost
port: 8181
+ namespace: tost
+ component_label: onos-tost-config
+ ready_script: /root/onos/bin/check-onos-status
+ container_name: onos-classic