Skip to content

Commit

Permalink
feat(dask): introduce dask variable in the helm chart (reanahub#821)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alputer committed Sep 9, 2024
1 parent 0e74810 commit 79e08ba
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions helm/reana/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,10 @@ dependencies:
condition: traefik.enabled
tags:
- ingress
- name: dask-kubernetes-operator
version: 2024.8.0
repository: https://helm.dask.org
condition: dask.enabled
tags:
- dask

4 changes: 3 additions & 1 deletion helm/reana/templates/roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ rules:
resources: ["pods", "nodes"]
verbs: ["get", "list", "watch"]
# Custom dask kubernetes resources
{{- if .Values.dask.enabled }}
- apiGroups: ["kubernetes.dask.org"]
resources: ["daskclusters", "daskautoscalers"]
verbs: ["create", "get", "list", "watch", "update", "patch", "delete"]
{{- end }}
# Traefik Middleware permissions
{{- if .Values.traefik.enabled }}
{{- if and .Values.traefik.enabled .Values.dask.enabled }}
- apiGroups: ["traefik.containo.us"]
resources: ["middlewares"]
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
Expand Down
3 changes: 3 additions & 0 deletions helm/reana/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ traefik:
enabled: true
isDefaultClass: true

dask:
enabled: true

pgbouncer:
enabled: false
image: docker.io/bitnami/pgbouncer:1.23.1
Expand Down

0 comments on commit 79e08ba

Please sign in to comment.