Skip to content

Commit

Permalink
Bump to newer version of cryptnono
Browse files Browse the repository at this point in the history
- Enable it on ovh as well, because it now supports a new
  enough kernel! jupyterhub#2176
- Don't explicitly specify tolerations anymore - this is set up
  properly in cryptnono now
- Enable some new detectors. See inline scripts + config that is
  encrypted for more information
  • Loading branch information
yuvipanda committed Oct 30, 2023
1 parent 28acc75 commit 8012beb
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 14 deletions.
3 changes: 0 additions & 3 deletions config/ovh2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ binderhub:
imageGCThresholdLow: 30e9
imageGCThresholdType: "absolute"

cryptnono:
enabled: false

grafana:
nodeSelector: *coreNodeSelector
ingress:
Expand Down
2 changes: 1 addition & 1 deletion mybinder/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 0 additions & 10 deletions mybinder/values.yaml
Original file line number Diff line number Diff line change
@@ -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:

Expand Down
Binary file modified secrets/config/common/common.yaml
Binary file not shown.
Binary file added secrets/config/cryptnono.yaml
Binary file not shown.
Binary file added secrets/generate-cryptnono-config.py
Binary file not shown.

0 comments on commit 8012beb

Please sign in to comment.