From 9f15716157a0e3af33263c6bcb375b8901e9e283 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jarom=C3=ADr=20Hradil?= <jaromir.hradil@cesnet.cz>
Date: Wed, 23 Oct 2024 08:56:17 +0200
Subject: [PATCH] Creating eosc mon service

---
 cesnet-central/deployments/fullhub.yaml | 4 ++++
 common/deployments/hub-production.yaml  | 4 ++++
 common/deployments/hub-staging.yaml     | 4 ++++
 testing/deployments/hub.yaml            | 4 ++++
 4 files changed, 16 insertions(+)

diff --git a/cesnet-central/deployments/fullhub.yaml b/cesnet-central/deployments/fullhub.yaml
index 6812913..e3a0c9e 100644
--- a/cesnet-central/deployments/fullhub.yaml
+++ b/cesnet-central/deployments/fullhub.yaml
@@ -173,6 +173,10 @@ hub:
     jwt:
       url: "http://jwt/"
       display: false
+    eosc-monitor: 
+      admin: true
+      display: false
+      api_token: "{{ secrets[name]['zabbix_token'] }}"
   # recommended to keep in sync with common/playbooks/files/jupyterhub-jwt.yaml
   image:
     name: eginotebooks/hub
diff --git a/common/deployments/hub-production.yaml b/common/deployments/hub-production.yaml
index 8a6c8e8..de26c68 100644
--- a/common/deployments/hub-production.yaml
+++ b/common/deployments/hub-production.yaml
@@ -155,6 +155,10 @@ hub:
     jwt:
       url: "http://jwt/"
       display: false
+    eosc-monitor: 
+      admin: true
+      display: false
+      api_token: "{{ secrets[name]['zabbix_token'] }}" 
   # recommended to keep in sync with common/playbooks/files/jupyterhub-jwt.yaml
   image:
     name: eginotebooks/hub
diff --git a/common/deployments/hub-staging.yaml b/common/deployments/hub-staging.yaml
index e8ba7fb..9f9e248 100644
--- a/common/deployments/hub-staging.yaml
+++ b/common/deployments/hub-staging.yaml
@@ -155,6 +155,10 @@ hub:
     jwt:
       url: "http://jwt/"
       display: false
+    eosc-monitor: 
+      admin: true
+      display: false
+      api_token: "{{ secrets[name]['zabbix_token'] }}"      
   # recommended to keep in sync with common/playbooks/files/jupyterhub-jwt.yaml
   image:
     name: eginotebooks/hub
diff --git a/testing/deployments/hub.yaml b/testing/deployments/hub.yaml
index 467a234..0641d68 100644
--- a/testing/deployments/hub.yaml
+++ b/testing/deployments/hub.yaml
@@ -156,6 +156,10 @@ hub:
     jwt:
       url: "http://jwt/"
       display: false
+    eosc-monitor: 
+      admin: true
+      display: false
+      api_token: "{{ secrets[name]['zabbix_token'] }}"
   # recommended to keep in sync with common/playbooks/files/jupyterhub-jwt.yaml
   image:
     name: eginotebooks/hub
-- 
GitLab