-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Helm chart configuration for Opensearch and enterprise search conne…
…ctor (#70) * update values for opensearch * add makefile +chart changes * Update values.yaml * Update values.yaml * update makefile * Update values.yaml * Update values.yaml * Update values.yaml * vars * Update values.yaml * Update values.yaml * images * config map * Revert "config map" This reverts commit e714ada. * Reapply "config map" This reverts commit c47acb8. * config map * images * Squashed commit of the following: commit 6cda4f5 Merge: a682b79 ca20a8c Author: George Taylor <[email protected]> Date: Tue Jul 16 15:03:01 2024 +0100 Merge pull request #75 from ministryofjustice/fix-ingress-share-real Revert share ingress to dedicated hostname + enable redirect to /share commit ca20a8c Author: George Taylor <[email protected]> Date: Tue Jul 16 13:15:37 2024 +0100 redirect to /share commit a682b79 Merge: 066cecc 1780e23 Author: George Taylor <[email protected]> Date: Tue Jul 16 11:23:05 2024 +0100 Merge pull request #74 from ministryofjustice/remove-share-sub-domain Remove share subdomain commit 1780e23 Author: George Taylor <[email protected]> Date: Tue Jul 16 11:21:18 2024 +0100 remove share subdomain commit 066cecc Merge: 4d23e4b b21f656 Author: George Taylor <[email protected]> Date: Thu Jul 11 15:36:49 2024 +0100 Merge pull request #73 from ministryofjustice/workflow-changes Update cloud-platform-deploy-release.yml commit b21f656 Author: George Taylor <[email protected]> Date: Thu Jul 11 15:35:57 2024 +0100 Update cloud-platform-deploy-release.yml commit 4d23e4b Merge: 6aeb967 ca1cfb2 Author: George Taylor <[email protected]> Date: Thu Jul 11 15:09:57 2024 +0100 Merge pull request #72 from ministryofjustice/add-airflow-ips chore: Add templated directory to .gitignore and update IP whitelist in values files commit ca1cfb2 Author: George Taylor <[email protected]> Date: Thu Jul 11 15:08:14 2024 +0100 chore: Add templated directory to .gitignore and update IP whitelist in values files commit 6aeb967 Merge: f6a7c0e 540fe64 Author: Prem Basumatary <[email protected]> Date: Fri Jul 5 09:10:27 2024 +0100 Merge pull request #71 from ministryofjustice/NIT-1305-custom-scaling-times NIT-1305 fix error in script commit 540fe64 Author: Prem Basumatary <[email protected]> Date: Fri Jul 5 09:03:12 2024 +0100 NIT-1305 fix error in script * Update ingress-share.yaml * Use multi live indexing vals indexing Update values.yaml Update liveindexing-deployment.yaml Update values.yaml
- Loading branch information
1 parent
47a5814
commit e1aab2c
Showing
6 changed files
with
188 additions
and
32 deletions.
There are no files selected for viewing
78 changes: 78 additions & 0 deletions
78
...ontent-services/charts/alfresco-search-enterprise/templates/prefixes-file-config-map.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,78 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: prefixes-file | ||
data: | ||
reindex.prefixes-file.json: | | ||
{ | ||
"prefixUriMap":{ | ||
"":"", | ||
"http://www.alfresco.org/model/aos/1.0":"aos", | ||
"http://www.alfresco.org/model/workflow/invite/nominated/1.0":"inwf", | ||
"http://www.alfresco.org/model/solrfacetcustomproperty/1.0":"srftcustom", | ||
"http://www.alfresco.org/model/datalist/1.0":"dl", | ||
"http://www.alfresco.org/model/webdav/1.0":"webdav", | ||
"http://www.alfresco.org/model/cmis/1.0/cs01ext":"cmisext", | ||
"http://www.alfresco.org/model/distributionpolicies/1.0/model":"dp", | ||
"http://www.alfresco.org/view/repository/1.0":"view", | ||
"http://www.alfresco.org/model/download/1.0":"download", | ||
"http://www.alfresco.org/model/publishing/twitter/1.0":"twitter", | ||
"http://www.alfresco.org/model/action/1.0":"act", | ||
"http://www.alfresco.org/system/registry/1.0":"reg", | ||
"http://www.alfresco.org/model/user/1.0":"usr", | ||
"http://www.alfresco.org/model/calendar":"ia", | ||
"http://www.alfresco.org":"alf", | ||
"http://www.alfresco.org/model/content/metadata/IPTCXMP/1.0":"iptcxmp", | ||
"http://www.alfresco.org/model/application/1.0":"app", | ||
"http://www.alfresco.org/model/surf/1.0":"surf", | ||
"http://www.alfresco.org/model/versionstore/1.0":"ver", | ||
"http://www.alfresco.org/system/modules/1.0":"module", | ||
"http://www.alfresco.org/model/linksmodel/1.0":"lnk", | ||
"http://iptc.org/std/Iptc4xmpExt/2008-02-29/":"Iptc4xmpExt", | ||
"http://ns.adobe.com/photoshop/1.0/":"photoshop", | ||
"http://www.alfresco.org/model/sync/1.0":"sync", | ||
"http://ns.useplus.org/ldf/xmp/1.0/":"plus", | ||
"http://www.alfresco.org/model/zaizi/gdpr/1.0":"gdpr", | ||
"http://www.alfresco.org/model/remotecredentials/1.0":"rc", | ||
"http://www.alfresco.org/model/emailserver/1.0":"emailserver", | ||
"http://www.alfresco.org/model/hybridworkflow/1.0":"hwf", | ||
"http://www.alfresco.org/model/sitecustomproperty/1.0":"stcp", | ||
"http://www.alfresco.org/model/cmis/1.0/cs01":"cmis", | ||
"http://www.alfresco.org/model/transfer/1.0":"trx", | ||
"http://www.alfresco.org/model/rendition/1.0":"rn", | ||
"http://www.alfresco.org/model/exif/1.0":"exif", | ||
"http://www.alfresco.org/model/publishing/youtube/1.0":"youtube", | ||
"http://ns.adobe.com/xap/1.0/rights/":"xmpRights", | ||
"http://www.alfresco.org/model/custommodelmanagement/1.0":"cmm", | ||
"http://www.alfresco.org/model/workflow/invite/moderated/1.0":"imwf", | ||
"http://www.alfresco.org/model/forum/1.0":"fm", | ||
"http://www.alfresco.org/model/rule/1.0":"rule", | ||
"http://www.alfresco.org/model/publishing/linkedin/1.0":"linkedin", | ||
"http://www.alfresco.org/model/publishing/slideshare/1.0":"slideshare", | ||
"http://www.alfresco.org/model/system/1.0":"sys", | ||
"http://www.alfresco.org/model/content/smartfolder/1.0":"smf", | ||
"http://www.alfresco.org/model/zaizi/nomsspg/1.0":"nspg", | ||
"http://www.alfresco.org/model/workflow/1.0":"wf", | ||
"http://www.alfresco.org/model/qshare/1.0":"qshare", | ||
"http://www.alfresco.org/model/versionstore/2.0":"ver2", | ||
"http://www.alfresco.org/model/solrfacet/1.0":"srft", | ||
"http://www.alfresco.org/model/audio/1.0":"audio", | ||
"http://www.alfresco.org/model/blogintegration/1.0":"blg", | ||
"http://www.alfresco.org/model/bpm/1.0":"bpm", | ||
"http://www.alfresco.org/model/site/1.0":"st", | ||
"http://www.alfresco.org/model/imap/1.0":"imap", | ||
"http://www.alfresco.org/model/dictionary/1.0":"d", | ||
"custom.model":"custom", | ||
"http://www.alfresco.org/model/publishing/facebook/1.0":"facebook", | ||
"http://www.alfresco.org/model/content/1.0":"cm", | ||
"http://www.alfresco.org/model/cmis/custom":"cmiscustom", | ||
"http://www.alfresco.org/model/devicesync/1.0":"devicesync", | ||
"http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/":"Iptc4xmpCore", | ||
"http://www.alfresco.org/model/googledocs/2.0":"gd2", | ||
"http://www.alfresco.org/model/publishing/flickr/1.0":"flickr", | ||
"http://www.alfresco.org/model/workflow/resetpassword/1.0":"resetpasswordwf", | ||
"http://www.alfresco.org/model/cmis/1.0/alfcmis":"alfcmis", | ||
"http://www.alfresco.org/model/publishing/1.0":"pub", | ||
"http://purl.org/dc/elements/1.1/":"dc" | ||
} | ||
} |
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
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
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,44 @@ | ||
# Define the Helm chart name and release name | ||
CHART_NAME := alfresco-content-services | ||
VALUES := values.yaml | ||
VALUES_ENV := values_$(ENV).yaml | ||
DEBUG := false | ||
ATOMIC := true | ||
|
||
# Helm upgrade/install command | ||
helm_upgrade: | ||
$(eval BUCKET_NAME := $(shell kubectl get secrets s3-bucket-output -o jsonpath='{.data.BUCKET_NAME}' | base64 -d)) | ||
|
||
@SECRET=$$(kubectl get secrets alfresco-content-services-alfresco-repository-properties-secret -o jsonpath='{.data.alfresco-global\.properties}' | base64 -d | awk '{print substr($$0, 19)}'); \ | ||
if [ -z "$$SECRET" ]; then \ | ||
SECRET=$$(openssl rand -base64 20); \ | ||
fi; \ | ||
if [ "$(ENV)" = "poc" ]; then \ | ||
NAMESPACE=hmpps-delius-alfrsco-$(ENV); \ | ||
else \ | ||
NAMESPACE=hmpps-delius-alfresco-$(ENV); \ | ||
fi; \ | ||
echo "Using namespace: $${NAMESPACE}"; \ | ||
if [ "$(DEBUG)" = "true" ]; then \ | ||
DEBUG_FLAG="--debug"; \ | ||
else \ | ||
DEBUG_FLAG=""; \ | ||
fi; \ | ||
if [ "$(ATOMIC)" = "true" ]; then \ | ||
ATOMIC_FLAG="--atomic"; \ | ||
else \ | ||
ATOMIC_FLAG=""; \ | ||
fi; \ | ||
echo "BUCKET_NAME: $(BUCKET_NAME)"; \ | ||
helm upgrade --install $(CHART_NAME) ./$(CHART_NAME) --namespace $${NAMESPACE} \ | ||
--values=./$(CHART_NAME)/$(VALUES) --values=./$(CHART_NAME)/$(VALUES_ENV) \ | ||
--set s3connector.config.bucketName=$(BUCKET_NAME) \ | ||
--set global.tracking.sharedsecret=$${SECRET} $${ATOMIC_FLAG} $${DEBUG_FLAG} --wait --timeout=20m | ||
|
||
|
||
# Default target | ||
.PHONY: default | ||
default: helm_upgrade | ||
|
||
# Phony targets | ||
.PHONY: helm_upgrade |