From e438a2aab90f495e536bb332ab140ead96b4b3ff 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 1e1daba..be214b4 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['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 e408369..7e7b4a5 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['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 27e9dc5..99396ee 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['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 17ce566..e219c36 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['zabbix_token'] }}"
   # recommended to keep in sync with common/playbooks/files/jupyterhub-jwt.yaml
   image:
     name: eginotebooks/hub
-- 
GitLab