diff --git a/charts/hedgedoc/Chart.yaml b/charts/hedgedoc/Chart.yaml index 0dfe7820379323bb86c08fe995d65dc598de515c..400aa609c1e5e230cef2911af40e6ce754360938 100644 --- a/charts/hedgedoc/Chart.yaml +++ b/charts/hedgedoc/Chart.yaml @@ -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: diff --git a/charts/hedgedoc/README.md b/charts/hedgedoc/README.md index 2a9647c39d114b6b186bd13d1e54c8d4a5ca499a..2b05d0b5b2c6d7a25fe7d31c2fc5db7d479704f8 100644 --- a/charts/hedgedoc/README.md +++ b/charts/hedgedoc/README.md @@ -1,6 +1,6 @@ # hedgedoc -   +   A platform to write and share markdown. diff --git a/charts/hedgedoc/templates/deployment.yaml b/charts/hedgedoc/templates/deployment.yaml index 6d524eb75ccba51f3ccd15ea5735892d5274fb86..c8b31b9f592fc09ce019cb893ffb3152f54c9895 100644 --- a/charts/hedgedoc/templates/deployment.yaml +++ b/charts/hedgedoc/templates/deployment.yaml @@ -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 }} diff --git a/charts/hedgedoc/tests/__snapshot__/98_snapshot_test.yaml.snap b/charts/hedgedoc/tests/__snapshot__/98_snapshot_test.yaml.snap index be8579cd6adfc6bb84dad0825ad9182a41655239..e0d64c83d242aef4bd4e9b3c19446775d7a47af5 100644 --- a/charts/hedgedoc/tests/__snapshot__/98_snapshot_test.yaml.snap +++ b/charts/hedgedoc/tests/__snapshot__/98_snapshot_test.yaml.snap @@ -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