Skip to content

Commit

Permalink
feat: outline-1.2.0 (#40)
Browse files Browse the repository at this point in the history
* feat: outline-1.2.0

* feat: outline-1.2.0
  • Loading branch information
nushkovg authored Nov 16, 2024
1 parent de49476 commit 43342d6
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 6 deletions.
4 changes: 2 additions & 2 deletions charts/outline/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion charts/outline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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` |
Expand Down
14 changes: 12 additions & 2 deletions charts/outline/templates/001-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
8 changes: 7 additions & 1 deletion charts/outline/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ global:
##
image:
repository: outlinewiki/outline
tag: "0.80.2"
tag: "0.81.0"
imagePullPolicy: IfNotPresent

## @section Deployment parameters
Expand All @@ -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.
Expand Down Expand Up @@ -109,6 +112,9 @@ outline:
uploadMaxSize: "26214400"
initContainerSecurityContext:
enabled: false
nodeSelector: {}
tolerations: []
affinity: {}

optional:
collaborationUrl: ""
Expand Down

0 comments on commit 43342d6

Please sign in to comment.