Skip to content

Commit

Permalink
use values in template
Browse files Browse the repository at this point in the history
  • Loading branch information
alxgomz committed Sep 19, 2023
1 parent 3d4eca2 commit 3145ee3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ data:
{{- $db_url := include "alfresco-content-service.database.repo" $ }}
{{ template "alfresco-repository.db.cm" (dict "url" $db_url "driver" .Values.database.driver) }}
{{ template "alfresco-repository.mq.cm" (include "alfresco-content-service.mq.url" .) }}
{{- if index .Values "alfresco-search" "enabled" }}
{{- if eq "solr6" .Values.search.flavor }}
SEARCH_SECURECOMMS: {{ .Values.global.tracking.auth | default "secret" }}
SEARCH_HOST: {{ template "alfresco-common.url.host" .Values.search.url }}
SEARCH_PORT: {{ include "alfresco-common.url.port" .Values.search.url | quote }}
SOLR_BASE_URL: {{ include "alfresco-common.url.path" .Values.search.url | default "/solr" }}
SOLR_BASE_URL: {{ include "alfresco-common.url.path" .Values.search.url }}
{{- end }}
{{- if ne "noindex" .Values.search.flavor }}
SEARCH_URL: {{ .Values.search.url }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{- if and (index .Values "alfresco-search" "enabled") (eq .Values.global.tracking.auth "secret") }}
{{- include "alfresco-content-service.search.set.flavor" . }}
{{- if and (eq "solr6" .Values.search.flavor) (eq .Values.global.tracking.auth "secret") }}
apiVersion: v1
kind: Secret
metadata:
Expand Down

0 comments on commit 3145ee3

Please sign in to comment.