diff --git a/config/ovh2.yaml b/config/ovh2.yaml index 18e5233507..a3828d393a 100644 --- a/config/ovh2.yaml +++ b/config/ovh2.yaml @@ -91,9 +91,6 @@ binderhub: imageGCThresholdLow: 30e9 imageGCThresholdType: "absolute" -cryptnono: - enabled: false - grafana: nodeSelector: *coreNodeSelector ingress: diff --git a/mybinder/Chart.yaml b/mybinder/Chart.yaml index 8bc81bca2f..64442e6ead 100644 --- a/mybinder/Chart.yaml +++ b/mybinder/Chart.yaml @@ -53,7 +53,7 @@ dependencies: # cryptnono, counters crypto mining # Source code: https://github.com/yuvipanda/cryptnono/ - name: cryptnono - version: "0.0.1-n025.h28f473f" + version: "0.0.1-0.dev.git.62.h2f04398" repository: https://yuvipanda.github.io/cryptnono/ condition: cryptnono.enabled diff --git a/mybinder/values.yaml b/mybinder/values.yaml index 1e09bb87b1..746262fbd4 100644 --- a/mybinder/values.yaml +++ b/mybinder/values.yaml @@ -1,16 +1,6 @@ # values ref: https://github.com/yuvipanda/cryptnono/blob/main/cryptnono/values.yaml cryptnono: enabled: true - tolerations: - # deploy anti-cryptomining cryptnono on all nodes - - effect: NoSchedule - key: hub.jupyter.org/dedicated - operator: Equal - value: user - - effect: NoSchedule - key: hub.jupyter.org_dedicated - operator: Equal - value: user imagePullSecrets: diff --git a/secrets/config/common/common.yaml b/secrets/config/common/common.yaml index 9e4a3e6e20..e6981914d6 100644 Binary files a/secrets/config/common/common.yaml and b/secrets/config/common/common.yaml differ diff --git a/secrets/config/cryptnono.yaml b/secrets/config/cryptnono.yaml new file mode 100644 index 0000000000..41c2f47d1d Binary files /dev/null and b/secrets/config/cryptnono.yaml differ diff --git a/secrets/generate-cryptnono-config.py b/secrets/generate-cryptnono-config.py new file mode 100644 index 0000000000..5ed9856c5d Binary files /dev/null and b/secrets/generate-cryptnono-config.py differ