-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
37 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
helm/alfresco-content-services/templates/secret-audit-elasticsearch.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{{- if not .Values.global.auditIndex.existingSecretName }} | ||
{{- with .Values.global.auditIndex }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ .secretName }} | ||
labels: | ||
{{- include "alfresco-content-services.labels" $ | nindent 4 }} | ||
type: Opaque | ||
data: | ||
AUDIT_ELASTICSEARCH_USERNAME: {{ .username | default "" | b64enc | quote }} | ||
AUDIT_ELASTICSEARCH_PASSWORD: {{ .password | default "" | b64enc | quote }} | ||
{{- end }} | ||
{{- end }} |
14 changes: 5 additions & 9 deletions
14
helm/alfresco-content-services/templates/secret-search.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,21 @@ | ||
{{- if not .Values.global.search.existingSecretName }} | ||
{{- $search_flavor := (include "alfresco-content-services.search.flavor" .) }} | ||
{{- if ne "noindex" $search_flavor }} | ||
{{- with .Values.global }} | ||
{{- with .Values.global.search }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ .search.secretName }} | ||
name: {{ .secretName }} | ||
labels: | ||
{{- include "alfresco-content-services.labels" $ | nindent 4 }} | ||
type: Opaque | ||
data: | ||
{{- if eq "solr6" $search_flavor }} | ||
SOLR_SECRET: {{ .search.sharedSecret | default "" | b64enc | quote }} | ||
SOLR_SECRET: {{ .sharedSecret | default "" | b64enc | quote }} | ||
{{- else if eq "elasticsearch" $search_flavor }} | ||
SEARCH_USERNAME: {{ .search.username | default "" | b64enc | quote }} | ||
SEARCH_PASSWORD: {{ .search.password | default "" | b64enc | quote }} | ||
SEARCH_USERNAME: {{ .username | default "" | b64enc | quote }} | ||
SEARCH_PASSWORD: {{ .password | default "" | b64enc | quote }} | ||
{{- end }} | ||
AUDIT_ELASTICSEARCH_USERNAME: {{ .auditIndex.username | default "" | b64enc | quote }} | ||
AUDIT_ELASTICSEARCH_PASSWORD: {{ .auditIndex.password | default "" | b64enc | quote }} | ||
elasticsearch-password: {{ .auditIndex.password | default "" | b64enc | quote }} | ||
kibana-password: {{ .auditIndex.password | default "" | b64enc | quote }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters