Skip to content

Commit

Permalink
Update mount paths for Key Connector files
Browse files Browse the repository at this point in the history
  • Loading branch information
mimartin12 committed Jun 26, 2024
1 parent a9a4bfc commit c293506
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions charts/self-host/templates/key-connector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,14 @@ spec:
{{ toYaml .Values.component.keyConnector.resources | indent 10 }}
volumeMounts:
{{- if eq .Values.component.keyConnector.config.certificateProvider "filesystem" }}
- name: key-connector
mountPath: /etc/bitwarden/key-connector/bwkc.pfx
- name: key-connector-cert
mountPath: /etc/bitwarden/bwkc.pfx
subPath: bwkc.pfx
{{- end }}
{{- if eq .Values.component.keyConnector.config.databaseProvider "json" }}
- name: key-connector-json-db
mountPath: /etc/bitwarden/key-connector
mountPath: /etc/bitwarden
subPath: data.json
{{- end }}
{{- if .Values.volume.logs.enabled }}
- name: applogs
Expand All @@ -107,7 +109,7 @@ spec:
{{ toYaml .Values.component.keyConnector.securityContext | indent 10 }}
volumes:
{{- if eq .Values.component.keyConnector.config.certificateProvider "filesystem" }}
- name: key-connector
- name: key-connector-cert
secret:
secretName: {{ .Release.Name }}-key-connector-cert
{{- end }}
Expand Down

0 comments on commit c293506

Please sign in to comment.