Skip to content

Commit

Permalink
fix schema mount filename
Browse files Browse the repository at this point in the history
  • Loading branch information
wkloucek committed Feb 17, 2023
1 parent f55ec24 commit fa06a99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -206,13 +206,13 @@ spec:
mountPath: /opt/bitnami/openldap/certs
{{- range $file := (include "openldap.builtinSchemaFiles" . | split ",") }}
- name: replication-acls
mountPath: /opt/bitnami/openldap/etc/schema/{{ $file }}
mountPath: /opt/bitnami/openldap/etc/schema/{{ $file }}.ldif
subPath: {{ $file }}.ldif
{{- end }}
{{- if .Values.customSchemaFiles}}
{{- range $file := (include "openldap.customSchemaFiles" . | split ",") }}
- name: custom-schema-files
mountPath: /opt/bitnami/openldap/etc/schema/{{ $file }}
mountPath: /opt/bitnami/openldap/etc/schema/{{ $file }}.ldif
subPath: {{ $file }}.ldif
{{- end }}
{{- end }}
Expand Down

0 comments on commit fa06a99

Please sign in to comment.