Skip to content

Commit e53318b

Browse files
committed
feat(solr): get solr from values to easly use it
1 parent 5ed3acf commit e53318b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

values.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ imio_type: "ac"
99
imio_app: "iA.Smartweb"
1010
plone_path: "/Plone"
1111
keycloak_url: "https://keycloak.cloud.imio-test.be/"
12+
solr_host: "{{ .Release.Name }}-solr"
13+
solr_port: 8983
14+
solr_base: "/solr/web"
1215
environment: "dev"
1316
language: "fr"
1417

@@ -173,9 +176,9 @@ plone:
173176
PLONE_EXTENSION_IDS: "plone.app.caching:default,plonetheme.barceloneta:default,imio.smartweb.policy:default"
174177
DEFAULT_LANGUAGE: "{{ .Values.language | default \"en\" }}"
175178
ACTIVE_BIGBANG: "False"
176-
COLLECTIVE_SOLR_HOST: "{{ .Release.Name }}-solr"
177-
COLLECTIVE_SOLR_PORT: "8983"
178-
COLLECTIVE_SOLR_BASE: "/solr/web"
179+
COLLECTIVE_SOLR_HOST: "{{ .Values.solr_host }}"
180+
COLLECTIVE_SOLR_PORT: "{{ .Values.solr_port }}"
181+
COLLECTIVE_SOLR_BASE: "{{ .Values.solr_base }}"
179182
application_id: "{{ .Values.imio_app }}"
180183
keycloak_realm: "{{ .Values.imio_id }}{{- if .Values.imio_type }}-{{ .Values.imio_type }}{{- end }}"
181184
keycloak_url: "{{ .Values.keycloak_url }}"

0 commit comments

Comments
 (0)