diff --git a/helm/ldap-server/templates/deployment-proxy.yaml b/helm/ldap-server/templates/deployment-proxy.yaml index 3f40888..b7a5ec4 100644 --- a/helm/ldap-server/templates/deployment-proxy.yaml +++ b/helm/ldap-server/templates/deployment-proxy.yaml @@ -202,6 +202,8 @@ spec: lifecycle: {{- include "common.tplvalues.render" (dict "value" .Values.lifecycleHooks "context" .) | nindent 12 }} {{- end }} volumeMounts: + - name: tmp-volume + mountPath: /tmp - name: usr-share-univention-ldap-volume mountPath: /usr/share/univention-ldap - name: usr-share-oidc-volume @@ -251,6 +253,8 @@ spec: {{- include "common.tplvalues.render" (dict "value" .Values.extraVolumeMounts "context" .) | nindent 12 }} {{- end }} volumes: + - name: tmp-volume + emptyDir: {} - name: "data-volume" emptyDir: {} - name: "var-run-volume" diff --git a/helm/ldap-server/templates/statefulset-primary.yaml b/helm/ldap-server/templates/statefulset-primary.yaml index 5f4d23f..b6edd04 100644 --- a/helm/ldap-server/templates/statefulset-primary.yaml +++ b/helm/ldap-server/templates/statefulset-primary.yaml @@ -369,11 +369,15 @@ spec: readinessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.readinessProbe "context" .) | nindent 12 }} startupProbe: {{- include "common.tplvalues.render" (dict "value" .Values.startupProbe "context" .) | nindent 12 }} volumeMounts: + - name: tmp-volume + mountPath: /tmp {{- if .Values.persistence.enabled }} - name: "shared-data" mountPath: /var/lib/univention-ldap {{- end }} volumes: + - name: tmp-volume + emptyDir: {} - name: "slapd-overlay-unix-socket-volume" emptyDir: {} - name: "usr-share-univention-ldap-volume" diff --git a/helm/ldap-server/templates/statefulset-secondary.yaml b/helm/ldap-server/templates/statefulset-secondary.yaml index 2477d0a..700d8b2 100644 --- a/helm/ldap-server/templates/statefulset-secondary.yaml +++ b/helm/ldap-server/templates/statefulset-secondary.yaml @@ -266,6 +266,8 @@ spec: lifecycle: {{- include "common.tplvalues.render" (dict "value" .Values.lifecycleHooks "context" .) | nindent 12 }} {{- end }} volumeMounts: + - name: tmp-volume + mountPath: /tmp - name: usr-share-univention-ldap-volume mountPath: /usr/share/univention-ldap - name: usr-share-oidc-volume @@ -331,6 +333,8 @@ spec: {{- include "common.tplvalues.render" (dict "value" .Values.extraVolumeMounts "context" .) | nindent 12 }} {{- end }} volumes: + - name: tmp-volume + emptyDir: {} - name: "usr-share-univention-ldap-volume" emptyDir: {} - name: "usr-share-saml-volume"