Skip to content
Snippets Groups Projects
Verified Commit 440b5e53 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(hedgedoc): Add emptyDir under /tmp to fix uploads

parent e5867151
No related branches found
No related tags found
No related merge requests found
Pipeline #18547 passed
......@@ -20,7 +20,7 @@ keywords:
sources:
- https://github.com/hedgedoc/hedgedoc/tree/master
- https://git.shivering-isles.com/shivering-isles/infrastructure-gitops/-/tree/main/charts/hedgedoc
version: 0.4.0
version: 0.4.1
# renovate: image=quay.io/hedgedoc/hedgedoc
appVersion: "1.9.9"
maintainers:
......
# hedgedoc
![Version: 0.4.0](https://img.shields.io/badge/Version-0.4.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.9.9](https://img.shields.io/badge/AppVersion-1.9.9-informational?style=flat-square)
![Version: 0.4.1](https://img.shields.io/badge/Version-0.4.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.9.9](https://img.shields.io/badge/AppVersion-1.9.9-informational?style=flat-square)
A platform to write and share markdown.
......
......@@ -69,11 +69,13 @@ spec:
path: /status
{{- end }}
port: http
{{- if .Values.postgresql.tls.enabled }}
volumeMounts:
- name: tmp
mountPath: /tmp
{{- if .Values.postgresql.tls.enabled }}
- name: config
mountPath: /files/
{{- end }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
......@@ -88,8 +90,10 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.postgresql.tls.enabled }}
volumes:
- name: tmp
emptyDir: {}
{{- if .Values.postgresql.tls.enabled }}
- name: config
configMap:
name: {{ include "hedgedoc.fullname" . }}-config
......@@ -97,4 +101,4 @@ spec:
- key: config.json
path: config.json
defaultMode: 420
{{- end }}
{{- end }}
......@@ -93,6 +93,9 @@ should match basic snapshot:
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 10000
volumeMounts:
- mountPath: /tmp
name: tmp
securityContext:
allowPrivilegeEscalation: false
capabilities:
......@@ -102,6 +105,9 @@ should match basic snapshot:
seccompProfile:
type: RuntimeDefault
serviceAccountName: RELEASE-NAME-hedgedoc
volumes:
- emptyDir: {}
name: tmp
3: |
apiVersion: networking.k8s.io/v1
kind: Ingress
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment