From 719aca9c4ce2779d575737e64ef61cce423360b7 Mon Sep 17 00:00:00 2001 From: Shahzad Chaudhry Date: Wed, 22 Nov 2023 09:32:49 +0000 Subject: [PATCH 1/2] NIT-938 Updagetd readme for shared secret extraction --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 98f4692..0a011ec 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,16 @@ These example instsructions explain how you would customise one particular dependant Helm chart and publish a newer version to GitHub pages. Instructions assume GitHub pages are already configured for your repo; see the reference section below +### Start services +We will first need to ensure all services are up and running. +Start k8s services by executing helm command _(Helm will complain if a random secret is not created)_ +``` +cd hmpps-delius-alfresco-poc/alfresco-content-services +SECRET=$(openssl rand -base64 20) helm install alfresco-content-services . \ +--values=./values.yaml \ +--set global.tracking.sharedsecret=$SECRET +``` + ### Check Chart.lock file for dependent charts and pull the required version For the purpose of this demo, we will select the following service from the `Chart.yaml` file ``` From 7874c24b2641b91d9ad7029520ddae4ac87d0239 Mon Sep 17 00:00:00 2001 From: Shahzad Chaudhry Date: Wed, 22 Nov 2023 09:38:46 +0000 Subject: [PATCH 2/2] NIT-938 update the readme for starting services --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0a011ec..f9ef868 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ SECRET=$(openssl rand -base64 20) helm install alfresco-content-services . \ --set global.tracking.sharedsecret=$SECRET ``` -### Check Chart.lock file for dependent charts and pull the required version +### Check the chart file for dependent charts and pull the required version For the purpose of this demo, we will select the following service from the `Chart.yaml` file ``` - condition: alfresco-sync-service.enabled