Skip to content

Commit 8a2dc66

Browse files
authored
feat(imaginary): add nodeSelector and tolerations #681
2 parents 70403bc + 6926c35 commit 8a2dc66

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

charts/nextcloud/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: nextcloud
3-
version: 6.5.2
3+
version: 6.6.2
44
appVersion: 30.0.4
55
description: A file sharing server that puts the control and security of your own data back into your hands.
66
keywords:

charts/nextcloud/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,8 @@ We include an optional external preview provider from [h2non/imaginary](https://
546546
| `imaginary.image.pullSecrets` | Imaginary image pull secrets | `nil` |
547547
| `imaginary.podAnnotations` | Additional annotations for imaginary | `{}` |
548548
| `imaginary.podLabels` | Additional labels for imaginary | `{}` |
549+
| `imaginary.nodeSelector` | Imaginary pod nodeSelector | `{}` |
550+
| `imaginary.tolerations` | Imaginary pod tolerations | `[]` |
549551
| `imaginary.resources` | imaginary resources | `{}` |
550552
| `imaginary.securityContext` | Optional security context for the Imaginary container | `nil` |
551553
| `imaginary.podSecurityContext` | Optional security context for the Imaginary pod (applies to all containers in the pod) | `nil` |

charts/nextcloud/templates/imaginary/deployment.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,12 @@ spec:
8585
securityContext:
8686
{{- toYaml . | nindent 12 }}
8787
{{- end }}
88+
{{- with .Values.imaginary.nodeSelector }}
89+
nodeSelector:
90+
{{- toYaml . | nindent 8 }}
91+
{{- end }}
92+
{{- with .Values.imaginary.tolerations }}
93+
tolerations:
94+
{{- toYaml . | nindent 8 }}
95+
{{- end }}
8896
{{- end }}

charts/nextcloud/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,11 @@ imaginary:
704704
podAnnotations: {}
705705
# -- Additional labels for imaginary
706706
podLabels: {}
707+
# -- Imaginary pod nodeSelector
708+
nodeSelector: {}
709+
# -- Imaginary pod tolerations
710+
tolerations: []
711+
707712
# -- imaginary resources
708713
resources: {}
709714

0 commit comments

Comments
 (0)