From ced50b12ea10d9869d4c53c021ad0772cf4464a9 Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Thu, 19 Oct 2023 10:05:43 +0200 Subject: [PATCH 01/18] bmp common, repo & search-ent charts --- helm/alfresco-content-services/Chart.lock | 10 +++++----- helm/alfresco-content-services/Chart.yaml | 6 +++--- helm/alfresco-content-services/README.md | 6 +++--- .../templates/config-infrastructure.yaml | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/helm/alfresco-content-services/Chart.lock b/helm/alfresco-content-services/Chart.lock index 2d581d6e9..580f92e75 100644 --- a/helm/alfresco-content-services/Chart.lock +++ b/helm/alfresco-content-services/Chart.lock @@ -1,7 +1,7 @@ dependencies: - name: alfresco-common repository: https://alfresco.github.io/alfresco-helm-charts/ - version: 3.0.0-alpha.2 + version: 3.0.0-alpha.3 - name: postgresql repository: oci://registry-1.docker.io/bitnamicharts version: 12.8.5 @@ -13,7 +13,7 @@ dependencies: version: 7.11.0 - name: alfresco-repository repository: https://alfresco.github.io/alfresco-helm-charts/ - version: 0.1.0-alpha.18 + version: 0.1.0-alpha.19 - name: activemq repository: https://alfresco.github.io/alfresco-helm-charts/ version: 3.3.0 @@ -28,7 +28,7 @@ dependencies: version: 4.4.0 - name: alfresco-search-enterprise repository: https://alfresco.github.io/alfresco-helm-charts/ - version: 3.0.0-alpha.1 + version: 3.0.0-alpha.2 - name: alfresco-connector-msteams repository: https://alfresco.github.io/alfresco-helm-charts/ version: 0.2.0 @@ -41,5 +41,5 @@ dependencies: - name: alfresco-ai-transformer repository: https://alfresco.github.io/alfresco-helm-charts/ version: 0.3.0 -digest: sha256:6a533094da7cc78446fb85fe0fc7ca6e61e24d207ea63ffa6a6a808f6af5aab7 -generated: "2023-10-13T19:53:57.940715+02:00" +digest: sha256:e4fc2dc786b8d58cbe6a0b120eec91fc4b3688c52001529b3a627098ea7c54c6 +generated: "2023-10-19T10:01:35.406134+02:00" diff --git a/helm/alfresco-content-services/Chart.yaml b/helm/alfresco-content-services/Chart.yaml index 317dfe2f5..aa38e14ad 100644 --- a/helm/alfresco-content-services/Chart.yaml +++ b/helm/alfresco-content-services/Chart.yaml @@ -17,7 +17,7 @@ sources: - https://github.com/Alfresco/acs-deployment dependencies: - name: alfresco-common - version: 3.0.0-alpha.2 + version: 3.0.0-alpha.3 repository: https://alfresco.github.io/alfresco-helm-charts/ - name: postgresql version: 12.8.5 @@ -36,7 +36,7 @@ dependencies: condition: >- alfresco-digital-workspace.enabled - name: alfresco-repository - version: 0.1.0-alpha.18 + version: 0.1.0-alpha.19 repository: https://alfresco.github.io/alfresco-helm-charts/ - name: activemq version: 3.3.0 @@ -56,7 +56,7 @@ dependencies: version: 4.4.0 condition: alfresco-sync-service.enabled - name: alfresco-search-enterprise - version: 3.0.0-alpha.1 + version: 3.0.0-alpha.2 repository: https://alfresco.github.io/alfresco-helm-charts/ condition: alfresco-search-enterprise.enabled - name: alfresco-connector-msteams diff --git a/helm/alfresco-content-services/README.md b/helm/alfresco-content-services/README.md index d35ed4106..f44cd83e0 100644 --- a/helm/alfresco-content-services/README.md +++ b/helm/alfresco-content-services/README.md @@ -20,11 +20,11 @@ Please refer to the [documentation](https://github.com/Alfresco/acs-deployment/b | https://activiti.github.io/activiti-cloud-helm-charts | alfresco-digital-workspace(common) | 7.11.0 | | https://alfresco.github.io/alfresco-helm-charts/ | activemq | 3.3.0 | | https://alfresco.github.io/alfresco-helm-charts/ | alfresco-ai-transformer | 0.3.0 | -| https://alfresco.github.io/alfresco-helm-charts/ | alfresco-common | 3.0.0-alpha.2 | +| https://alfresco.github.io/alfresco-helm-charts/ | alfresco-common | 3.0.0-alpha.3 | | https://alfresco.github.io/alfresco-helm-charts/ | alfresco-connector-ms365 | 0.4.0 | | https://alfresco.github.io/alfresco-helm-charts/ | alfresco-connector-msteams | 0.2.0 | -| https://alfresco.github.io/alfresco-helm-charts/ | alfresco-repository | 0.1.0-alpha.18 | -| https://alfresco.github.io/alfresco-helm-charts/ | alfresco-search-enterprise | 3.0.0-alpha.1 | +| https://alfresco.github.io/alfresco-helm-charts/ | alfresco-repository | 0.1.0-alpha.19 | +| https://alfresco.github.io/alfresco-helm-charts/ | alfresco-search-enterprise | 3.0.0-alpha.2 | | https://alfresco.github.io/alfresco-helm-charts/ | alfresco-search(alfresco-search-service) | 2.0.0-alpha.2 | | https://alfresco.github.io/alfresco-helm-charts/ | share(alfresco-share) | 0.1.1 | | https://alfresco.github.io/alfresco-helm-charts/ | alfresco-sync-service | 4.4.0 | diff --git a/helm/alfresco-content-services/templates/config-infrastructure.yaml b/helm/alfresco-content-services/templates/config-infrastructure.yaml index 7218a875c..a61e1e428 100644 --- a/helm/alfresco-content-services/templates/config-infrastructure.yaml +++ b/helm/alfresco-content-services/templates/config-infrastructure.yaml @@ -12,7 +12,7 @@ data: repo_svc_port: {{ index .Values "alfresco-repository" "service" "port" | default 80 | quote }} {{- $db_url := include "alfresco-content-services.database.repo" $ }} {{ template "alfresco-repository.db.cm" (dict "url" $db_url "driver" .Values.database.driver) }} - {{ template "alfresco-repository.mq.cm" (include "alfresco-content-services.mq.url" .) }} + {{ template "alfresco-common.activemq.cm" (include "alfresco-content-services.mq.url" .) }} {{- $search_url := "" }} {{- $search_flavor := include "alfresco-content-services.search.flavor" . }} {{- if ne "noindex" $search_flavor }} From daae1d709b513df25b2d9712de992298aa078466 Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Thu, 19 Oct 2023 10:47:06 +0200 Subject: [PATCH 02/18] add repo url to infra cm --- .../templates/config-infrastructure.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/helm/alfresco-content-services/templates/config-infrastructure.yaml b/helm/alfresco-content-services/templates/config-infrastructure.yaml index a61e1e428..636a62e16 100644 --- a/helm/alfresco-content-services/templates/config-infrastructure.yaml +++ b/helm/alfresco-content-services/templates/config-infrastructure.yaml @@ -8,8 +8,11 @@ metadata: data: {{- $repoCtx := dict "Values" (index .Values "alfresco-repository") "Chart" .Chart "Release" .Release }} {{- $atsCtx := dict "Values" (index .Values "alfresco-transform-service") "Chart" $.Chart "Release" $.Release }} - repo_svc_name: {{ template "alfresco-repository.fullname" $repoCtx }} - repo_svc_port: {{ index .Values "alfresco-repository" "service" "port" | default 80 | quote }} + {{- $repo_svc_name := include "alfresco-repository.fullname" $repoCtx }} + {{- $repo_svc_port := index .Values "alfresco-repository" "service" "port" | default 80 }} + repo_svc_name: {{ $repo_svc_name }} + repo_svc_port: {{ $repo_svc_port | quote }} + REPOSITORY_URL: {{ printf "http://%s:%v/alfresco" $repo_svc_name $repo_svc_port }} {{- $db_url := include "alfresco-content-services.database.repo" $ }} {{ template "alfresco-repository.db.cm" (dict "url" $db_url "driver" .Values.database.driver) }} {{ template "alfresco-common.activemq.cm" (include "alfresco-content-services.mq.url" .) }} From 2ac993747d3f1564d19ffe4cfb5f7a08936da518 Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Thu, 19 Oct 2023 11:03:19 +0200 Subject: [PATCH 03/18] more work to do before removign the secret based broker url --- .../templates/secret-message-broker.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/alfresco-content-services/templates/secret-message-broker.yaml b/helm/alfresco-content-services/templates/secret-message-broker.yaml index 527998b78..531d54ff5 100644 --- a/helm/alfresco-content-services/templates/secret-message-broker.yaml +++ b/helm/alfresco-content-services/templates/secret-message-broker.yaml @@ -18,6 +18,6 @@ data: BROKER_PASSWORD: {{ .password | default "" | b64enc | quote }} {{- end }} {{- end }} - {{/* required until OPSEXP-2300 & OPSEXP-2293 */}} + {{/* required until OPSEXP-2301, OPSEXP-2300 & OPSEXP-2293 */}} BROKER_URL: {{ include "alfresco-content-services.mq.url" . | b64enc | quote }} {{- end }} From 690818b71f2d46b02b4d0235888660c7e92e95b1 Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Thu, 19 Oct 2023 11:05:02 +0200 Subject: [PATCH 04/18] add repo values for search-enterprise reindexing --- helm/alfresco-content-services/README.md | 2 ++ helm/alfresco-content-services/values.yaml | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/helm/alfresco-content-services/README.md b/helm/alfresco-content-services/README.md index f44cd83e0..fe531550a 100644 --- a/helm/alfresco-content-services/README.md +++ b/helm/alfresco-content-services/README.md @@ -128,11 +128,13 @@ Please refer to the [documentation](https://github.com/Alfresco/acs-deployment/b | alfresco-search-enterprise.liveIndexing.mediation.image.tag | string | `"4.0.0-M1"` | | | alfresco-search-enterprise.liveIndexing.metadata.image.tag | string | `"4.0.0-M1"` | | | alfresco-search-enterprise.liveIndexing.path.image.tag | string | `"4.0.0-M1"` | | +| alfresco-search-enterprise.messageBroker.existingConfigMap.name | string | `"alfresco-infrastructure"` | | | alfresco-search-enterprise.messageBroker.existingSecretName | string | `"acs-alfresco-cs-brokersecret"` | | | alfresco-search-enterprise.reindexing.db.existingConfigMap.name | string | `"alfresco-infrastructure"` | | | alfresco-search-enterprise.reindexing.db.existingSecret.name | string | `"alfresco-cs-database"` | | | alfresco-search-enterprise.reindexing.enabled | bool | `true` | | | alfresco-search-enterprise.reindexing.image.tag | string | `"4.0.0-M1"` | | +| alfresco-search-enterprise.reindexing.repository.existingConfigMap.name | string | `"alfresco-infrastructure"` | | | alfresco-search.alfresco-insight-zeppelin.enabled | bool | `false` | | | alfresco-search.enabled | bool | `true` | | | alfresco-search.external.host | string | `nil` | Host dns/ip of the external solr6 instance. | diff --git a/helm/alfresco-content-services/values.yaml b/helm/alfresco-content-services/values.yaml index e7fef905c..0c2ded73a 100644 --- a/helm/alfresco-content-services/values.yaml +++ b/helm/alfresco-content-services/values.yaml @@ -301,6 +301,8 @@ alfresco-search-enterprise: # -- Enables the embedded elasticsearch cluster enabled: true messageBroker: + existingConfigMap: + name: *infrastructure_cmName existingSecretName: *acs_messageBroker_secretName liveIndexing: mediation: @@ -317,6 +319,9 @@ alfresco-search-enterprise: tag: 4.0.0-M1 reindexing: enabled: true + repository: + existingConfigMap: + name: *infrastructure_cmName db: existingSecret: name: *acs_database_secretName From f08e725022d7638bb018c691e96cb65adf4af3ef Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Thu, 19 Oct 2023 15:53:05 +0200 Subject: [PATCH 05/18] bump search ent subchart --- helm/alfresco-content-services/Chart.lock | 6 +++--- helm/alfresco-content-services/Chart.yaml | 2 +- helm/alfresco-content-services/README.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/helm/alfresco-content-services/Chart.lock b/helm/alfresco-content-services/Chart.lock index 580f92e75..c094746e0 100644 --- a/helm/alfresco-content-services/Chart.lock +++ b/helm/alfresco-content-services/Chart.lock @@ -28,7 +28,7 @@ dependencies: version: 4.4.0 - name: alfresco-search-enterprise repository: https://alfresco.github.io/alfresco-helm-charts/ - version: 3.0.0-alpha.2 + version: 3.0.0-alpha.4 - name: alfresco-connector-msteams repository: https://alfresco.github.io/alfresco-helm-charts/ version: 0.2.0 @@ -41,5 +41,5 @@ dependencies: - name: alfresco-ai-transformer repository: https://alfresco.github.io/alfresco-helm-charts/ version: 0.3.0 -digest: sha256:e4fc2dc786b8d58cbe6a0b120eec91fc4b3688c52001529b3a627098ea7c54c6 -generated: "2023-10-19T10:01:35.406134+02:00" +digest: sha256:dd01b62703e2f71c7093b62267bd7f279da3e2e4656df46ddd6195349dc72bbd +generated: "2023-10-19T17:09:53.652807+02:00" diff --git a/helm/alfresco-content-services/Chart.yaml b/helm/alfresco-content-services/Chart.yaml index aa38e14ad..794af3308 100644 --- a/helm/alfresco-content-services/Chart.yaml +++ b/helm/alfresco-content-services/Chart.yaml @@ -56,7 +56,7 @@ dependencies: version: 4.4.0 condition: alfresco-sync-service.enabled - name: alfresco-search-enterprise - version: 3.0.0-alpha.2 + version: 3.0.0-alpha.4 repository: https://alfresco.github.io/alfresco-helm-charts/ condition: alfresco-search-enterprise.enabled - name: alfresco-connector-msteams diff --git a/helm/alfresco-content-services/README.md b/helm/alfresco-content-services/README.md index fe531550a..ed66284ad 100644 --- a/helm/alfresco-content-services/README.md +++ b/helm/alfresco-content-services/README.md @@ -24,7 +24,7 @@ Please refer to the [documentation](https://github.com/Alfresco/acs-deployment/b | https://alfresco.github.io/alfresco-helm-charts/ | alfresco-connector-ms365 | 0.4.0 | | https://alfresco.github.io/alfresco-helm-charts/ | alfresco-connector-msteams | 0.2.0 | | https://alfresco.github.io/alfresco-helm-charts/ | alfresco-repository | 0.1.0-alpha.19 | -| https://alfresco.github.io/alfresco-helm-charts/ | alfresco-search-enterprise | 3.0.0-alpha.2 | +| https://alfresco.github.io/alfresco-helm-charts/ | alfresco-search-enterprise | 3.0.0-alpha.4 | | https://alfresco.github.io/alfresco-helm-charts/ | alfresco-search(alfresco-search-service) | 2.0.0-alpha.2 | | https://alfresco.github.io/alfresco-helm-charts/ | share(alfresco-share) | 0.1.1 | | https://alfresco.github.io/alfresco-helm-charts/ | alfresco-sync-service | 4.4.0 | From 9a8a6e26f42de65e3c157f3de1e3ae6e33202978 Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Fri, 20 Oct 2023 14:57:25 +0200 Subject: [PATCH 06/18] bump search ernterprise chart to 3.0.0-alpha.5 --- helm/alfresco-content-services/Chart.lock | 6 +++--- helm/alfresco-content-services/Chart.yaml | 2 +- helm/alfresco-content-services/README.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/helm/alfresco-content-services/Chart.lock b/helm/alfresco-content-services/Chart.lock index c094746e0..8bf0c237a 100644 --- a/helm/alfresco-content-services/Chart.lock +++ b/helm/alfresco-content-services/Chart.lock @@ -28,7 +28,7 @@ dependencies: version: 4.4.0 - name: alfresco-search-enterprise repository: https://alfresco.github.io/alfresco-helm-charts/ - version: 3.0.0-alpha.4 + version: 3.0.0-alpha.5 - name: alfresco-connector-msteams repository: https://alfresco.github.io/alfresco-helm-charts/ version: 0.2.0 @@ -41,5 +41,5 @@ dependencies: - name: alfresco-ai-transformer repository: https://alfresco.github.io/alfresco-helm-charts/ version: 0.3.0 -digest: sha256:dd01b62703e2f71c7093b62267bd7f279da3e2e4656df46ddd6195349dc72bbd -generated: "2023-10-19T17:09:53.652807+02:00" +digest: sha256:1ede4451b1e2f358aa2a9b28ca9c6ea593ad5a2f5d29f9a131ea7c218e8dd1ab +generated: "2023-10-20T14:43:11.192329+02:00" diff --git a/helm/alfresco-content-services/Chart.yaml b/helm/alfresco-content-services/Chart.yaml index 794af3308..63439a230 100644 --- a/helm/alfresco-content-services/Chart.yaml +++ b/helm/alfresco-content-services/Chart.yaml @@ -56,7 +56,7 @@ dependencies: version: 4.4.0 condition: alfresco-sync-service.enabled - name: alfresco-search-enterprise - version: 3.0.0-alpha.4 + version: 3.0.0-alpha.5 repository: https://alfresco.github.io/alfresco-helm-charts/ condition: alfresco-search-enterprise.enabled - name: alfresco-connector-msteams diff --git a/helm/alfresco-content-services/README.md b/helm/alfresco-content-services/README.md index ed66284ad..7ae4c0419 100644 --- a/helm/alfresco-content-services/README.md +++ b/helm/alfresco-content-services/README.md @@ -24,7 +24,7 @@ Please refer to the [documentation](https://github.com/Alfresco/acs-deployment/b | https://alfresco.github.io/alfresco-helm-charts/ | alfresco-connector-ms365 | 0.4.0 | | https://alfresco.github.io/alfresco-helm-charts/ | alfresco-connector-msteams | 0.2.0 | | https://alfresco.github.io/alfresco-helm-charts/ | alfresco-repository | 0.1.0-alpha.19 | -| https://alfresco.github.io/alfresco-helm-charts/ | alfresco-search-enterprise | 3.0.0-alpha.4 | +| https://alfresco.github.io/alfresco-helm-charts/ | alfresco-search-enterprise | 3.0.0-alpha.5 | | https://alfresco.github.io/alfresco-helm-charts/ | alfresco-search(alfresco-search-service) | 2.0.0-alpha.2 | | https://alfresco.github.io/alfresco-helm-charts/ | share(alfresco-share) | 0.1.1 | | https://alfresco.github.io/alfresco-helm-charts/ | alfresco-sync-service | 4.4.0 | From 184fede617ce9eef7dc86b5e4b71ec6d76aec3e3 Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Mon, 23 Oct 2023 12:32:22 +0200 Subject: [PATCH 07/18] remove globalm.elasticsearch (replaced by global.search) --- helm/alfresco-content-services/README.md | 6 ------ helm/alfresco-content-services/values.yaml | 14 -------------- 2 files changed, 20 deletions(-) diff --git a/helm/alfresco-content-services/README.md b/helm/alfresco-content-services/README.md index 7ae4c0419..89cd0c6f2 100644 --- a/helm/alfresco-content-services/README.md +++ b/helm/alfresco-content-services/README.md @@ -204,12 +204,6 @@ Please refer to the [documentation](https://github.com/Alfresco/acs-deployment/b | database.user | string | `nil` | External Postgresql database user | | global.ai.enabled | bool | `false` | Enable AI capabilities in ADW AI plugin | | global.alfrescoRegistryPullSecrets | string | `nil` | If a private image registry a secret can be defined and passed to kubernetes, see: https://github.com/Alfresco/acs-deployment/blob/a924ad6670911f64f1bba680682d266dd4ea27fb/docs/helm/eks-deployment.md#docker-registry-secret | -| global.elasticsearch | object | `{"host":"elasticsearch-master","password":null,"port":9200,"protocol":"http","user":null}` | Shared connections details for Elasticsearch/Opensearch, required when alfresco-search-enterprise.enabled is true | -| global.elasticsearch.host | string | `"elasticsearch-master"` | The host where service is available. The provided default is for when elasticsearch.enabled is true | -| global.elasticsearch.password | string | `nil` | The password required to access the service, if any | -| global.elasticsearch.port | int | `9200` | The port where service is available | -| global.elasticsearch.protocol | string | `"http"` | Valid values are http or https | -| global.elasticsearch.user | string | `nil` | The username required to access the service, if any | | global.known_urls | list | `["https://localhost","http://localhost"]` | list of trusted URLs. URLs a re used to configure Cross-origin protections Also the first entry is considered the main hosting domain of the platform. | | global.mail | object | `{"host":null,"password":null,"port":587,"protocol":"smtp","smtp":{"auth":true,"starttls":{"enable":true}},"smtps":{"auth":true},"username":"anonymous"}` | For a full information of configuring the outbound email system, see https://docs.alfresco.com/content-services/latest/config/email/#manage-outbound-emails | | global.mail.host | string | `nil` | SMTP server to use for the system to send outgoing email | diff --git a/helm/alfresco-content-services/values.yaml b/helm/alfresco-content-services/values.yaml index 0c2ded73a..65ae87891 100644 --- a/helm/alfresco-content-services/values.yaml +++ b/helm/alfresco-content-services/values.yaml @@ -62,20 +62,6 @@ global: ai: # -- Enable AI capabilities in ADW AI plugin enabled: false - # -- Shared connections details for Elasticsearch/Opensearch, required when - # alfresco-search-enterprise.enabled is true - elasticsearch: - # -- The host where service is available. The provided default is for when - # elasticsearch.enabled is true - host: elasticsearch-master - # -- The port where service is available - port: 9200 - # -- Valid values are http or https - protocol: http - # -- The username required to access the service, if any - user: null - # -- The password required to access the service, if any - password: null database: # -- Enable using an external database for Alfresco Content Services. Must disable `postgresql.enabled` when true. external: false From 16b0fffcd265d9f48025d6a525c01ff556d8c629 Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Mon, 23 Oct 2023 14:43:34 +0200 Subject: [PATCH 08/18] add elasticsearch dependency --- helm/alfresco-content-services/Chart.lock | 7 +++++-- helm/alfresco-content-services/Chart.yaml | 4 ++++ helm/alfresco-content-services/README.md | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/helm/alfresco-content-services/Chart.lock b/helm/alfresco-content-services/Chart.lock index 8bf0c237a..893394671 100644 --- a/helm/alfresco-content-services/Chart.lock +++ b/helm/alfresco-content-services/Chart.lock @@ -41,5 +41,8 @@ dependencies: - name: alfresco-ai-transformer repository: https://alfresco.github.io/alfresco-helm-charts/ version: 0.3.0 -digest: sha256:1ede4451b1e2f358aa2a9b28ca9c6ea593ad5a2f5d29f9a131ea7c218e8dd1ab -generated: "2023-10-20T14:43:11.192329+02:00" +- name: elasticsearch + repository: https://helm.elastic.co + version: 7.17.3 +digest: sha256:11e54be23afae375c542dfb7835288060503ac2d8725ba567784374555a2ca93 +generated: "2023-10-23T14:41:06.331324+02:00" diff --git a/helm/alfresco-content-services/Chart.yaml b/helm/alfresco-content-services/Chart.yaml index 63439a230..a3496617a 100644 --- a/helm/alfresco-content-services/Chart.yaml +++ b/helm/alfresco-content-services/Chart.yaml @@ -76,4 +76,8 @@ dependencies: version: 0.3.0 repository: https://alfresco.github.io/alfresco-helm-charts/ condition: alfresco-ai-transformer.enabled + - name: elasticsearch + repository: https://helm.elastic.co + version: 7.17.3 + condition: elasticsearch.enabled icon: https://avatars0.githubusercontent.com/u/391127?s=200&v=4 diff --git a/helm/alfresco-content-services/README.md b/helm/alfresco-content-services/README.md index 89cd0c6f2..2f4b802a6 100644 --- a/helm/alfresco-content-services/README.md +++ b/helm/alfresco-content-services/README.md @@ -29,6 +29,7 @@ Please refer to the [documentation](https://github.com/Alfresco/acs-deployment/b | https://alfresco.github.io/alfresco-helm-charts/ | share(alfresco-share) | 0.1.1 | | https://alfresco.github.io/alfresco-helm-charts/ | alfresco-sync-service | 4.4.0 | | https://alfresco.github.io/alfresco-helm-charts/ | alfresco-transform-service | 0.2.0 | +| https://helm.elastic.co | elasticsearch | 7.17.3 | | oci://registry-1.docker.io/bitnamicharts | postgresql | 12.8.5 | ## Values From 7c9c7b161fcad81e906fb5c59463e194c92fffd7 Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Mon, 23 Oct 2023 14:58:05 +0200 Subject: [PATCH 09/18] set ES config in configmap --- .../templates/config-infrastructure.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/helm/alfresco-content-services/templates/config-infrastructure.yaml b/helm/alfresco-content-services/templates/config-infrastructure.yaml index 636a62e16..24ffecbdc 100644 --- a/helm/alfresco-content-services/templates/config-infrastructure.yaml +++ b/helm/alfresco-content-services/templates/config-infrastructure.yaml @@ -25,9 +25,15 @@ data: {{- $searchCtx := dict "Values" (index .Values "alfresco-search") "Chart" .Chart "Release" .Release }} {{- $search_url = printf "http://%s-solr/solr" (include "alfresco-search-service.fullname" $searchCtx) }} {{- else if eq "elasticsearch" $search_flavor }} - {{- $searchCtx := dict "Values" (index .Values "alfresco-search-enterprise") "Chart" .Chart "Release" .Release }} - {{- with (index .Values "alfresco-search-enterprise" "elasticsearch") }} - {{- $search_url = printf "%s://%s-%s:%v" .protocol .clusterName .nodeGroup .httpPort }} + {{- with .Values.elasticsearch }} + {{- if .enabled }} + {{- $esProto := .protocol | default "http" }} + {{- $esHost := printf "%s-%s" (.clusterName | default "elastcisearch") (.nodeGroup | default "master") }} + {{- $esPort := .port | default 9200 }} + {{- $search_url = coalesce $.Values.global.search.url (printf "%s://%s:%v" $esProto $esHost $esPort) }} + {{- else }} + {{- fail "Chart is configured to use Alfresco Search Enterprise but no index backend has been provided. Set one using either global.search.url or elasticsearch.enabled" }} + {{- end }} {{- end }} {{- $search_comms := "" }} {{- if hasPrefix "https://" $search_url }} From bacd6a06746afc23e2e8075ddb247c57991ecffe Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Mon, 23 Oct 2023 14:58:30 +0200 Subject: [PATCH 10/18] set ES credentials in secrets --- .../templates/secret-search.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/helm/alfresco-content-services/templates/secret-search.yaml b/helm/alfresco-content-services/templates/secret-search.yaml index 30d003a2c..584d327b3 100644 --- a/helm/alfresco-content-services/templates/secret-search.yaml +++ b/helm/alfresco-content-services/templates/secret-search.yaml @@ -1,11 +1,18 @@ -{{- if eq "secret" .Values.global.search.securecomms }} +{{- with .Values.global.search }} +{{- if or .password (eq "secret" .securecomms) }} apiVersion: v1 kind: Secret metadata: - name: {{ .Values.global.search.secretName }} + name: {{ .secretName }} labels: - {{- include "alfresco-content-services.labels" . | nindent 4 }} + {{- include "alfresco-content-services.labels" $ | nindent 4 }} type: Opaque data: - SOLR_SECRET: {{ .Values.global.search.sharedSecret | default "" | b64enc | quote }} +{{- if eq "secret" .securecomms }} + SOLR_SECRET: {{ .sharedSecret | default "" | b64enc | quote }} +{{- else }} + SEARCH_USERNAME: {{ .username | default "" | b64enc | quote }} + SEARCH_PASSWORD: {{ .password | default "" | b64enc | quote }} +{{- end }} +{{- end }} {{- end }} From 8aac592b2a80983b680cf08235f62f87c6badac7 Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Mon, 23 Oct 2023 14:59:34 +0200 Subject: [PATCH 11/18] set ES values --- helm/alfresco-content-services/README.md | 10 ++++++---- helm/alfresco-content-services/values.yaml | 13 +++++++++---- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/helm/alfresco-content-services/README.md b/helm/alfresco-content-services/README.md index 2f4b802a6..8089a7c6e 100644 --- a/helm/alfresco-content-services/README.md +++ b/helm/alfresco-content-services/README.md @@ -114,7 +114,7 @@ Please refer to the [documentation](https://github.com/Alfresco/acs-deployment/b | alfresco-repository.configuration.repository.existingSecrets[1].name | string | `"outbound-email"` | | | alfresco-repository.configuration.repository.existingSecrets[1].purpose | string | `"property:mail.password"` | | | alfresco-repository.configuration.search.existingConfigMap.name | string | `"alfresco-infrastructure"` | | -| alfresco-repository.configuration.search.existingSecret.name | string | `"solr-shared-secret"` | | +| alfresco-repository.configuration.search.existingSecret.name | string | `"alfresco-search-secret"` | | | alfresco-repository.configuration.search.flavor | string | `"solr6"` | | | alfresco-repository.image.repository | string | `"quay.io/alfresco/alfresco-content-repository"` | | | alfresco-repository.image.tag | string | `"23.1.0-A27"` | | @@ -123,7 +123,6 @@ Please refer to the [documentation](https://github.com/Alfresco/acs-deployment/b | alfresco-repository.persistence.baseSize | string | `"20Gi"` | | | alfresco-repository.persistence.enabled | bool | `true` | Persist repository data | | alfresco-search-enterprise.ats.existingConfigMap.name | string | `"alfresco-infrastructure"` | | -| alfresco-search-enterprise.elasticsearch.enabled | bool | `true` | Enables the embedded elasticsearch cluster | | alfresco-search-enterprise.enabled | bool | `false` | | | alfresco-search-enterprise.liveIndexing.content.image.tag | string | `"4.0.0-M1"` | | | alfresco-search-enterprise.liveIndexing.mediation.image.tag | string | `"4.0.0-M1"` | | @@ -136,6 +135,8 @@ Please refer to the [documentation](https://github.com/Alfresco/acs-deployment/b | alfresco-search-enterprise.reindexing.enabled | bool | `true` | | | alfresco-search-enterprise.reindexing.image.tag | string | `"4.0.0-M1"` | | | alfresco-search-enterprise.reindexing.repository.existingConfigMap.name | string | `"alfresco-infrastructure"` | | +| alfresco-search-enterprise.search.existingConfigMap.name | string | `"alfresco-infrastructure"` | | +| alfresco-search-enterprise.search.existingSecret.name | string | `"alfresco-search-secret"` | | | alfresco-search.alfresco-insight-zeppelin.enabled | bool | `false` | | | alfresco-search.enabled | bool | `true` | | | alfresco-search.external.host | string | `nil` | Host dns/ip of the external solr6 instance. | @@ -149,7 +150,7 @@ Please refer to the [documentation](https://github.com/Alfresco/acs-deployment/b | alfresco-search.repository.existingConfigMap.keys.securecomms | string | `"SEARCH_SECURECOMMS"` | | | alfresco-search.repository.existingConfigMap.name | string | `"alfresco-infrastructure"` | | | alfresco-search.repository.existingSecret.keys.sharedSecret | string | `"SOLR_SECRET"` | | -| alfresco-search.repository.existingSecret.name | string | `"solr-shared-secret"` | | +| alfresco-search.repository.existingSecret.name | string | `"alfresco-search-secret"` | | | alfresco-search.searchServicesImage.repository | string | `"quay.io/alfresco/search-services"` | | | alfresco-search.searchServicesImage.tag | string | `"2.0.8.1"` | | | alfresco-sync-service.enabled | bool | `true` | Toggle deployment of Alfresco Sync Service (Desktop-Sync) Check [Alfresco Sync Service Documentation](https://github.com/Alfresco/alfresco-helm-charts/tree/main/charts/alfresco-sync-service) | @@ -203,6 +204,7 @@ Please refer to the [documentation](https://github.com/Alfresco/acs-deployment/b | database.secretName | string | `"alfresco-cs-database"` | Name of the secret managed by this chart | | database.url | string | `nil` | External Postgresql jdbc url ex: `jdbc:postgresql://oldfashioned-mule-postgresql-acs:5432/alfresco` | | database.user | string | `nil` | External Postgresql database user | +| elasticsearch.enabled | bool | `false` | Enables the embedded elasticsearch cluster | | global.ai.enabled | bool | `false` | Enable AI capabilities in ADW AI plugin | | global.alfrescoRegistryPullSecrets | string | `nil` | If a private image registry a secret can be defined and passed to kubernetes, see: https://github.com/Alfresco/acs-deployment/blob/a924ad6670911f64f1bba680682d266dd4ea27fb/docs/helm/eks-deployment.md#docker-registry-secret | | global.known_urls | list | `["https://localhost","http://localhost"]` | list of trusted URLs. URLs a re used to configure Cross-origin protections Also the first entry is considered the main hosting domain of the platform. | @@ -211,7 +213,7 @@ Please refer to the [documentation](https://github.com/Alfresco/acs-deployment/b | global.mail.port | int | `587` | SMTP server port | | global.mail.protocol | string | `"smtp"` | SMTP protocol to use. Either smtp or smtps | | global.search.flavor | string | `nil` | set the type of search service used externally (solr6 of elasticsearch) | -| global.search.secretName | string | `"solr-shared-secret"` | Name of the secret managed by this chart | +| global.search.secretName | string | `"alfresco-search-secret"` | Name of the secret managed by this chart | | global.search.securecomms | string | `"secret"` | set the security level used with the external search service (secret, none or https) | | global.search.sharedSecret | string | `nil` | Mandatory secret to provide when using Solr search with 'secret' security level | | global.search.url | string | `nil` | set this URL if you have an external search service | diff --git a/helm/alfresco-content-services/values.yaml b/helm/alfresco-content-services/values.yaml index 65ae87891..48f53ee57 100644 --- a/helm/alfresco-content-services/values.yaml +++ b/helm/alfresco-content-services/values.yaml @@ -50,7 +50,7 @@ global: # -- Mandatory secret to provide when using Solr search with 'secret' security level sharedSecret: null # -- Name of the secret managed by this chart - secretName: &acs_search_secretName solr-shared-secret + secretName: &acs_search_secretName alfresco-search-secret # -- If a private image registry a secret can be defined and passed to # kubernetes, see: # https://github.com/Alfresco/acs-deployment/blob/a924ad6670911f64f1bba680682d266dd4ea27fb/docs/helm/eks-deployment.md#docker-registry-secret @@ -280,12 +280,14 @@ alfresco-search: # - chart-example.local alfresco-search-enterprise: enabled: false + search: + existingConfigMap: + name: *infrastructure_cmName + existingSecret: + name: *acs_search_secretName ats: existingConfigMap: name: *infrastructure_cmName - elasticsearch: - # -- Enables the embedded elasticsearch cluster - enabled: true messageBroker: existingConfigMap: name: *infrastructure_cmName @@ -480,3 +482,6 @@ alfresco-ai-transformer: # region: # s3Bucket: # comprehendRoleARN: +elasticsearch: + # -- Enables the embedded elasticsearch cluster + enabled: false From 9e0677e166ad4b0afb56981a8c5e1d6fbb378e23 Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Mon, 23 Oct 2023 15:01:33 +0200 Subject: [PATCH 12/18] bump search ent subchart --- helm/alfresco-content-services/Chart.lock | 6 +++--- helm/alfresco-content-services/Chart.yaml | 2 +- helm/alfresco-content-services/README.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/helm/alfresco-content-services/Chart.lock b/helm/alfresco-content-services/Chart.lock index 893394671..a0d64fde4 100644 --- a/helm/alfresco-content-services/Chart.lock +++ b/helm/alfresco-content-services/Chart.lock @@ -28,7 +28,7 @@ dependencies: version: 4.4.0 - name: alfresco-search-enterprise repository: https://alfresco.github.io/alfresco-helm-charts/ - version: 3.0.0-alpha.5 + version: 3.0.0-alpha.6 - name: alfresco-connector-msteams repository: https://alfresco.github.io/alfresco-helm-charts/ version: 0.2.0 @@ -44,5 +44,5 @@ dependencies: - name: elasticsearch repository: https://helm.elastic.co version: 7.17.3 -digest: sha256:11e54be23afae375c542dfb7835288060503ac2d8725ba567784374555a2ca93 -generated: "2023-10-23T14:41:06.331324+02:00" +digest: sha256:baff6c44e199f18cfcedac5c5329d667480576f0b8ddf7be5640563da791370e +generated: "2023-10-23T15:00:16.909173+02:00" diff --git a/helm/alfresco-content-services/Chart.yaml b/helm/alfresco-content-services/Chart.yaml index a3496617a..675bfb38a 100644 --- a/helm/alfresco-content-services/Chart.yaml +++ b/helm/alfresco-content-services/Chart.yaml @@ -56,7 +56,7 @@ dependencies: version: 4.4.0 condition: alfresco-sync-service.enabled - name: alfresco-search-enterprise - version: 3.0.0-alpha.5 + version: 3.0.0-alpha.6 repository: https://alfresco.github.io/alfresco-helm-charts/ condition: alfresco-search-enterprise.enabled - name: alfresco-connector-msteams diff --git a/helm/alfresco-content-services/README.md b/helm/alfresco-content-services/README.md index 8089a7c6e..93ad62b81 100644 --- a/helm/alfresco-content-services/README.md +++ b/helm/alfresco-content-services/README.md @@ -24,7 +24,7 @@ Please refer to the [documentation](https://github.com/Alfresco/acs-deployment/b | https://alfresco.github.io/alfresco-helm-charts/ | alfresco-connector-ms365 | 0.4.0 | | https://alfresco.github.io/alfresco-helm-charts/ | alfresco-connector-msteams | 0.2.0 | | https://alfresco.github.io/alfresco-helm-charts/ | alfresco-repository | 0.1.0-alpha.19 | -| https://alfresco.github.io/alfresco-helm-charts/ | alfresco-search-enterprise | 3.0.0-alpha.5 | +| https://alfresco.github.io/alfresco-helm-charts/ | alfresco-search-enterprise | 3.0.0-alpha.6 | | https://alfresco.github.io/alfresco-helm-charts/ | alfresco-search(alfresco-search-service) | 2.0.0-alpha.2 | | https://alfresco.github.io/alfresco-helm-charts/ | share(alfresco-share) | 0.1.1 | | https://alfresco.github.io/alfresco-helm-charts/ | alfresco-sync-service | 4.4.0 | From d73e48c53000bdfc0bddf75880d9f4aaad871d3f Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Mon, 23 Oct 2023 19:13:51 +0200 Subject: [PATCH 13/18] render a search secret if any type of search is enabled --- helm/alfresco-content-services/templates/secret-search.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/helm/alfresco-content-services/templates/secret-search.yaml b/helm/alfresco-content-services/templates/secret-search.yaml index 584d327b3..7fb6cd699 100644 --- a/helm/alfresco-content-services/templates/secret-search.yaml +++ b/helm/alfresco-content-services/templates/secret-search.yaml @@ -1,5 +1,6 @@ +{{- $search_flavor := (include "alfresco-content-services.search.flavor" .) }} +{{- if ne "noindex" $search_flavor }} {{- with .Values.global.search }} -{{- if or .password (eq "secret" .securecomms) }} apiVersion: v1 kind: Secret metadata: @@ -10,7 +11,8 @@ type: Opaque data: {{- if eq "secret" .securecomms }} SOLR_SECRET: {{ .sharedSecret | default "" | b64enc | quote }} -{{- else }} +{{- end }} +{{- if eq "elasticsearch" (include "alfresco-content-services.search.flavor" $) }} SEARCH_USERNAME: {{ .username | default "" | b64enc | quote }} SEARCH_PASSWORD: {{ .password | default "" | b64enc | quote }} {{- end }} From ac6af4a9d4f9c95a6b1dd77c19475e10e67c4779 Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Mon, 23 Oct 2023 19:23:30 +0200 Subject: [PATCH 14/18] align tests --- .../tests/search_test.yaml | 23 ++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/helm/alfresco-content-services/tests/search_test.yaml b/helm/alfresco-content-services/tests/search_test.yaml index cb9706e4f..272309bfd 100644 --- a/helm/alfresco-content-services/tests/search_test.yaml +++ b/helm/alfresco-content-services/tests/search_test.yaml @@ -69,6 +69,8 @@ tests: enabled: false alfresco-search-enterprise: enabled: true + elasticsearch: + enabled: true template: config-infrastructure.yaml asserts: - equal: @@ -89,10 +91,25 @@ tests: - it: should not render a secret render property with default credentials values: *testvalues set: - global: - search: - securecomms: none + alfresco-search: + enabled: false + alfresco-search-enterprise: + enabled: false asserts: - hasDocuments: count: 0 template: secret-search.yaml + - it: Should complain on missing search index + values: *testvalues + set: + alfresco-search: + enabled: false + alfresco-search-enterprise: + enabled: true + template: config-infrastructure.yaml + asserts: + - failedTemplate: + errorMessage: >- + Chart is configured to use Alfresco Search Enterprise but no index + backend has been provided. Set one using either global.search.url + or elasticsearch.enabled From ca9a34fd97281d949fec2004b178fb9e5e828d7f Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Mon, 23 Oct 2023 20:49:54 +0200 Subject: [PATCH 15/18] add ES repo in helm precommit job --- .github/workflows/pre-commit-helm.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit-helm.yml b/.github/workflows/pre-commit-helm.yml index c1dd1a5fe..babb3b034 100644 --- a/.github/workflows/pre-commit-helm.yml +++ b/.github/workflows/pre-commit-helm.yml @@ -31,6 +31,7 @@ jobs: - uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@v3.3.3 - name: Add dependency chart repos run: | - helm repo add alfresco-helm-charts https://alfresco.github.io/alfresco-helm-charts/ + helm repo add alfresco-helm-charts https://alfresco.github.io/alfresco-helm-charts helm repo add activiti-cloud-helm-charts https://activiti.github.io/activiti-cloud-helm-charts + helm repo add elasticsearch https://helm.elastic.co - uses: pre-commit/action@v3.0.0 From 549e78ee3fe497b8c2affb06650a48a38726d1db Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Mon, 23 Oct 2023 20:50:15 +0200 Subject: [PATCH 16/18] doc update --- docs/helm/examples/with-aws-services.md | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/docs/helm/examples/with-aws-services.md b/docs/helm/examples/with-aws-services.md index ade06a9dd..d3c946cc7 100644 --- a/docs/helm/examples/with-aws-services.md +++ b/docs/helm/examples/with-aws-services.md @@ -238,17 +238,17 @@ global: known_urls: - https://acs.YOUR-DOMAIN-NAME search: - sharedSecret: dummy - alfrescoRegistryPullSecrets: quay-registry-secret - elasticsearch: - host: YOUR-DOMAIN-HOSTNAME - port: 443 - protocol: https - user: YOUR-DOMAIN-MASTER-USERNAME + url: https://YOUR-DOMAIN-HOSTNAME/ + username: YOUR-DOMAIN-MASTER-USERNAME password: YOUR-DOMAIN-MASTER-PASSWORD + alfrescoRegistryPullSecrets: quay-registry-secret alfresco-repository: image: repository: alfresco-content-repository-aws + configuration: + search: + flavor: elasticsearch + securecomms: https persistence: enabled: false environement: @@ -313,14 +313,13 @@ helm -n alfresco install acs \ --atomic --timeout 10m0s \ --set global.known_urls=https://acs.YOUR-DOMAIN-NAME \ --set global.alfrescoRegistryPullSecrets=quay-registry-secret \ - --set global.search.sharedSecret=dummy \ - --set global.elasticsearch.host=YOUR-DOMAIN-HOSTNAME \ - --set global.elasticsearch.port=443 \ - --set global.elasticsearch.protocol=https \ - --set global.elasticsearch.user=YOUR-DOMAIN-MASTER-USERNAME \ - --set global.elasticsearch.password=YOUR-DOMAIN-MASTER-PASSWORD \ + --set global.search.url=https://YOUR-DOMAIN-HOSTNAME \ + --set global.search.username=YOUR-DOMAIN-MASTER-USERNAME \ + --set global.search.password=YOUR-DOMAIN-MASTER-PASSWORD \ --set alfresco-repository.persistence.enabled=false \ --set alfresco-repository.image.repository=alfresco-content-repository-aws \ + --set alfresco-repository.configuration.search.flavor=elasticsearch \ + --set alfresco-repository.configuration.search.securecomms=https \ --set filestore.persistence.enabled=true \ --set filestore.persistence.storageClass="nfs-client" \ --set alfresco-repository.image.repository="quay.io/alfresco/alfresco-content-repository-aws" \ From e587b27ab49713247a95788e199be5274d038a94 Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Mon, 23 Oct 2023 21:09:03 +0200 Subject: [PATCH 17/18] just a one node cluster --- helm/alfresco-content-services/README.md | 2 ++ helm/alfresco-content-services/values.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/helm/alfresco-content-services/README.md b/helm/alfresco-content-services/README.md index 93ad62b81..ddba5113d 100644 --- a/helm/alfresco-content-services/README.md +++ b/helm/alfresco-content-services/README.md @@ -204,7 +204,9 @@ Please refer to the [documentation](https://github.com/Alfresco/acs-deployment/b | database.secretName | string | `"alfresco-cs-database"` | Name of the secret managed by this chart | | database.url | string | `nil` | External Postgresql jdbc url ex: `jdbc:postgresql://oldfashioned-mule-postgresql-acs:5432/alfresco` | | database.user | string | `nil` | External Postgresql database user | +| elasticsearch.clusterHealthCheckParams | string | `"wait_for_status=yellow&timeout=1s"` | | | elasticsearch.enabled | bool | `false` | Enables the embedded elasticsearch cluster | +| elasticsearch.replicas | int | `1` | | | global.ai.enabled | bool | `false` | Enable AI capabilities in ADW AI plugin | | global.alfrescoRegistryPullSecrets | string | `nil` | If a private image registry a secret can be defined and passed to kubernetes, see: https://github.com/Alfresco/acs-deployment/blob/a924ad6670911f64f1bba680682d266dd4ea27fb/docs/helm/eks-deployment.md#docker-registry-secret | | global.known_urls | list | `["https://localhost","http://localhost"]` | list of trusted URLs. URLs a re used to configure Cross-origin protections Also the first entry is considered the main hosting domain of the platform. | diff --git a/helm/alfresco-content-services/values.yaml b/helm/alfresco-content-services/values.yaml index 48f53ee57..b9a61a06e 100644 --- a/helm/alfresco-content-services/values.yaml +++ b/helm/alfresco-content-services/values.yaml @@ -485,3 +485,5 @@ alfresco-ai-transformer: elasticsearch: # -- Enables the embedded elasticsearch cluster enabled: false + replicas: 1 + clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s" From 84bbc2387e4a63ac779a165edcab0f0905607cae Mon Sep 17 00:00:00 2001 From: Alexandre Chapellon Date: Tue, 24 Oct 2023 09:55:53 +0200 Subject: [PATCH 18/18] pass correct secret data keys to alfresco-repo chart for search --- helm/alfresco-content-services/README.md | 2 ++ helm/alfresco-content-services/values.yaml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/helm/alfresco-content-services/README.md b/helm/alfresco-content-services/README.md index ddba5113d..34c9d46b4 100644 --- a/helm/alfresco-content-services/README.md +++ b/helm/alfresco-content-services/README.md @@ -114,6 +114,8 @@ Please refer to the [documentation](https://github.com/Alfresco/acs-deployment/b | alfresco-repository.configuration.repository.existingSecrets[1].name | string | `"outbound-email"` | | | alfresco-repository.configuration.repository.existingSecrets[1].purpose | string | `"property:mail.password"` | | | alfresco-repository.configuration.search.existingConfigMap.name | string | `"alfresco-infrastructure"` | | +| alfresco-repository.configuration.search.existingSecret.keys.password | string | `"SEARCH_PASSWORD"` | | +| alfresco-repository.configuration.search.existingSecret.keys.username | string | `"SEARCH_USERNAME"` | | | alfresco-repository.configuration.search.existingSecret.name | string | `"alfresco-search-secret"` | | | alfresco-repository.configuration.search.flavor | string | `"solr6"` | | | alfresco-repository.image.repository | string | `"quay.io/alfresco/alfresco-content-repository"` | | diff --git a/helm/alfresco-content-services/values.yaml b/helm/alfresco-content-services/values.yaml index b9a61a06e..bdd904941 100644 --- a/helm/alfresco-content-services/values.yaml +++ b/helm/alfresco-content-services/values.yaml @@ -118,6 +118,9 @@ alfresco-repository: name: *infrastructure_cmName existingSecret: name: *acs_search_secretName + keys: + username: SEARCH_USERNAME + password: SEARCH_PASSWORD persistence: # -- Persist repository data enabled: true