From 43342d6f52a0e8ef0ebe56ff246e2a62b9bc2876 Mon Sep 17 00:00:00 2001 From: Goran Nushkov Date: Sat, 16 Nov 2024 21:15:10 +0100 Subject: [PATCH] feat: outline-1.2.0 (#40) * feat: outline-1.2.0 * feat: outline-1.2.0 --- charts/outline/Chart.yaml | 4 ++-- charts/outline/README.md | 5 ++++- charts/outline/templates/001-deployment.yaml | 14 ++++++++++++-- charts/outline/values.yaml | 8 +++++++- 4 files changed, 25 insertions(+), 6 deletions(-) diff --git a/charts/outline/Chart.yaml b/charts/outline/Chart.yaml index e77110c..8becd0c 100644 --- a/charts/outline/Chart.yaml +++ b/charts/outline/Chart.yaml @@ -3,8 +3,8 @@ maintainers: - name: kubitodev url: https://kubito.dev apiVersion: v2 -appVersion: 0.80.2 -version: 1.1.1 +appVersion: 0.81.0 +version: 1.2.0 description: Kubito Outline Wiki Helm Chart home: https://github.com/kubitodev/helm/tree/main/charts/outline icon: https://kubito.dev/images/kubito.svg diff --git a/charts/outline/README.md b/charts/outline/README.md index f63fa0e..0b06a6c 100644 --- a/charts/outline/README.md +++ b/charts/outline/README.md @@ -55,7 +55,7 @@ The command removes all the Kubernetes components associated with the chart and | Name | Description | Value | | ----------------------- | --------------------------------------------- | --------------------- | | `image.repository` | The Docker repository to pull the image from. | `outlinewiki/outline` | -| `image.tag` | The image tag to use. | `0.80.2` | +| `image.tag` | The image tag to use. | `0.81.0` | | `image.imagePullPolicy` | The logic of image pulling. | `IfNotPresent` | ### Deployment parameters @@ -79,6 +79,9 @@ The command removes all the Kubernetes components associated with the chart and | `outline.fileStorage.localRootDir` | Local directory path for storing files, if using local storage. | `/var/lib/outline/data` | | `outline.fileStorage.uploadMaxSize` | Maximum file upload size limit. | `26214400` | | `outline.fileStorage.initContainerSecurityContext.enabled` | Whether to set the security context for the initContainer. Useful for deployments on GKE and similar. | `false` | +| `outline.nodeSelector` | Optional node selector to use. | `{}` | +| `outline.tolerations` | Whether to set node tolerations. | `[]` | +| `outline.affinity` | Whether to set node affinity. | `{}` | | `outline.optional.collaborationUrl` | URL for collaboration features, if any. | `""` | | `outline.optional.forceHttps` | Forces HTTPS connections for increased security. | `false` | | `outline.optional.enableUpdates` | Enables automatic application updates. | `false` | diff --git a/charts/outline/templates/001-deployment.yaml b/charts/outline/templates/001-deployment.yaml index 328c88a..03c66c7 100644 --- a/charts/outline/templates/001-deployment.yaml +++ b/charts/outline/templates/001-deployment.yaml @@ -415,8 +415,6 @@ spec: value: "{{ .Values.outline.optional.iframely.apiKey }}" {{- end }} {{- end }} - - {{- if eq .Values.outline.fileStorage.type "local" }} volumeMounts: - name: {{ .Release.Name }}-data @@ -426,3 +424,15 @@ spec: persistentVolumeClaim: claimName: {{ .Release.Name }}-data {{- end }} + {{- with .Values.outline.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.outline.affinity }} + affinity: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.outline.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} diff --git a/charts/outline/values.yaml b/charts/outline/values.yaml index aafe608..539d5cb 100644 --- a/charts/outline/values.yaml +++ b/charts/outline/values.yaml @@ -19,7 +19,7 @@ global: ## image: repository: outlinewiki/outline - tag: "0.80.2" + tag: "0.81.0" imagePullPolicy: IfNotPresent ## @section Deployment parameters @@ -44,6 +44,9 @@ replicaCount: 1 ## @param outline.fileStorage.localRootDir Local directory path for storing files, if using local storage. ## @param outline.fileStorage.uploadMaxSize Maximum file upload size limit. ## @param outline.fileStorage.initContainerSecurityContext.enabled Whether to set the security context for the initContainer. Useful for deployments on GKE and similar. +## @param outline.nodeSelector Optional node selector to use. +## @param outline.tolerations Whether to set node tolerations. +## @param outline.affinity Whether to set node affinity. ## @param outline.optional.collaborationUrl URL for collaboration features, if any. ## @param outline.optional.forceHttps Forces HTTPS connections for increased security. ## @param outline.optional.enableUpdates Enables automatic application updates. @@ -109,6 +112,9 @@ outline: uploadMaxSize: "26214400" initContainerSecurityContext: enabled: false + nodeSelector: {} + tolerations: [] + affinity: {} optional: collaborationUrl: ""