Skip to content

Commit

Permalink
Merge pull request #1420 from yuvipanda/crypto
Browse files Browse the repository at this point in the history
Enable cryptnono on all our clusters
  • Loading branch information
yuvipanda authored Jun 15, 2022
2 parents 397316b + 5dde537 commit f58a3c6
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions helm-charts/support/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,10 @@ dependencies:
version: 1.3.1
repository: https://kvaps.github.io/charts
condition: nfs-server-provisioner.enabled

# cryptnono, counters crypto mining
# Source code: https://github.com/yuvipanda/cryptnono/
- name: cryptnono
version: "0.0.1-n025.h28f473f"
repository: https://yuvipanda.github.io/cryptnono/
condition: cryptnono.enabled
5 changes: 5 additions & 0 deletions helm-charts/support/values.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ required:
- nfs-server-provisioner
- nvidiaDevicePlugin
- prometheusIngressAuthSecret
- cryptnono
- global
properties:
# cluster-autoscaler is a dependent helm chart, we rely on its schema
Expand Down Expand Up @@ -50,6 +51,10 @@ properties:
nfs-server-provisioner:
type: object
additionalProperties: true
# Enables https://github.com/yuvipanda/cryptnono/ to prevent cryptomining
cryptnono:
type: object
additionalProperties: true
# nvidiaDevicePlugin is _not a dependent helm chart_. It is values directly
# coupled with this helm chart and are influencing the rendering of templates
# we provide as part of this helm chart.
Expand Down
4 changes: 4 additions & 0 deletions helm-charts/support/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ nvidiaDevicePlugin:
aws:
enabled: false

# Enables https://github.com/yuvipanda/cryptnono/ to prevent cryptomining
cryptnono:
enabled: true

# A placeholder as global values that can be referenced from the same location
# of any chart should be possible to provide, but aren't necessarily provided or
# used.
Expand Down

0 comments on commit f58a3c6

Please sign in to comment.