Skip to content

Commit

Permalink
Remove outer volume mount
Browse files Browse the repository at this point in the history
The initContainer does not make use of it
  • Loading branch information
oliverguenther committed Oct 25, 2023
1 parent 87eff27 commit ac16497
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions charts/openproject/templates/web-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ spec:
configMap:
name: "{{- .Values.egress.tls.rootCA.configMap }}"
{{- end }}
{{- if .Values.persistence.enabled }}
- name: "data"
persistentVolumeClaim:
claimName: {{ include "common.names.fullname" . }}
{{- end }}
initContainers:
- name: wait-for-db
securityContext:
Expand All @@ -88,10 +83,17 @@ spec:
- name: SSL_CERT_FILE
value: "/etc/ssl/certs/custom-ca.pem"
{{- end }}
{{- if .Values.persistence.enabled }}
volumes:
- name: "data"
persistentVolumeClaim:
claimName: {{ include "common.names.fullname" . }}
volumeMounts:
{{- if .Values.persistence.enabled }}
- name: "data"
mountPath: "/var/openproject/assets"
persistentVolumeClaim:
claimName: {{ include "common.names.fullname" . }}
{{- end }}
{{- if .Values.egress.tls.rootCA.fileName }}
- name: ca-pemstore
Expand Down

0 comments on commit ac16497

Please sign in to comment.