Skip to content

Commit

Permalink
charts/brig: Fix template for settings ES CA certs (#4022)
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaymankar authored Apr 25, 2024
1 parent 12e5ed9 commit 38f507e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/3-bug-fixes/es-tls-template-fix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
charts/brig: Fix template for settings ES CA certs
4 changes: 2 additions & 2 deletions charts/brig/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ data:
{{- if $.Values.secrets.elasticsearch }}
credentials: /etc/wire/brig/secrets/elasticsearch-credentials.yaml
{{- end }}
{{- if (include "configureElasticSearchCa" .) }}
{{- if eq (include "configureElasticSearchCa" .) "true" }}
caCert: /etc/wire/brig/elasticsearch-ca/{{ include "elasticsearchTlsSecretKey" .}}
{{- end }}
{{- if (include "configureAdditionalElasticSearchCa" .) }}
{{- if eq (include "configureAdditionalElasticSearchCa" .) "true" }}
additionalCaCert: /etc/wire/brig/additional-elasticsearch-ca/{{ include "additionalElasticsearchTlsSecretKey" .}}
{{- end }}
{{- if $.Values.secrets.elasticsearchAdditional }}
Expand Down

0 comments on commit 38f507e

Please sign in to comment.