Skip to content

Commit

Permalink
Add volumes + volumemounts config options to operator helm chart (#761)
Browse files Browse the repository at this point in the history
* add volumes + volumemounts

* Fix linting

---------

Co-authored-by: Jacob Tomlinson <jtomlinson@nvidia.com>
  • Loading branch information
dyu-bot and jacobtomlinson committed Jul 10, 2023
1 parent 22c17a9 commit cb01606
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ The following table lists the configurable parameters of the Dask-kubernetes-ope
| `podSecurityContext` | Security context for the operator pod | `{}` |
| `securityContext` | Security context for the operator container | `{}` |
| `resources` | Resources for the operator pod | `{}` |
| `volumes` | Volumes for the operator pod | `[]` |
| `volumeMounts` | Volume mounts for the operator container | `[]` |
| `nodeSelector` | Node selector | `{}` |
| `tolerations` | Tolerations | `[]` |
| `affinity` | Affinity | `{}` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ spec:
httpGet:
path: /healthz
port: 8080
volumeMounts:
{{- toYaml .Values.volumeMounts | nindent 12 }}
volumes:
{{- toYaml .Values.volumes | nindent 8 }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ resources: {} # Resources for the operator pod
# cpu: 100m
# memory: 128Mi

volumes: [] # Volumes for the operator pod

volumeMounts: [] # Volume mounts for the operator container

nodeSelector: {} # Node selector

tolerations: [] # Tolerations
Expand Down

0 comments on commit cb01606

Please sign in to comment.