From 19f3134d15a9463228be7d25e5ab78993ca2f3d3 Mon Sep 17 00:00:00 2001 From: jamalkm Date: Sat, 27 Jun 2020 15:41:23 +0100 Subject: [PATCH] ACS-301: pull identity service image from docker hub. Also, updated release notes. --- CHANGELOG.md | 10 ++++++++++ README.md | 14 +++++++------- helm/alfresco-identity-service/values.yaml | 4 +--- upgrade.md | 20 ++++++++++---------- 4 files changed, 28 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index efb85e1a..55e55f21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ ## Release Notes - Identity Service --- + +### *Alfresco Identity Service 1.3* + +#### Bugs + +* [ACS-301] - Upgrade to Keycloak 11.0.0 alfresco patch +* [MNT-21445] - Auto user creation +* [ACA-2959] - New login theme + + ### *Alfresco Identity Service 1.2* #### Stories diff --git a/README.md b/README.md index 3ad80421..782a52b6 100644 --- a/README.md +++ b/README.md @@ -18,36 +18,36 @@ This guide helps you get started with the Identity Service. It covers simple sta #### Installing and booting - 1. Download the Identity Service zip alfresco-identity-service-1.2.0.zip from the Support Portal at http://support.alfresco.com + 1. Download the Identity Service zip alfresco-identity-service-1.3.0.zip from the Support Portal at http://support.alfresco.com 2. Place the file in a directory you choose and use the unzip utility to extract it. Linux/Unix ```bash - $ unzip alfresco-identity-service-1.2.0.zip + $ unzip alfresco-identity-service-1.3.0.zip ``` Windows ```bash - > unzip alfresco-identity-service-1.2.0.zip + > unzip alfresco-identity-service-1.3.0.zip ``` 3. Cd to the bin directory of the server distribution and run the standalone boot script. Linux/Unix ```bash - $ cd alfresco-identity-service-1.2.0/bin + $ cd alfresco-identity-service-1.3.0/bin $ ./standalone.sh -b ``` Windows bat ```bash - > ...\alfresco-identity-service-1.2.0\bin\standalone.bat -b + > ...\alfresco-identity-service-1.3.0\bin\standalone.bat -b ``` Windows powershell ```bash - > ...\alfresco-identity-service-1.2.0\bin\standalone.ps1 -b + > ...\alfresco-identity-service-1.3.0\bin\standalone.ps1 -b ``` - **_NOTE:_** To bind to all public interfaces use `0.0.0.0` as the value of IP_ADDRESS otherwise specify the the address of the specific interface you want to use. + **_NOTE:_** To bind to all public interfaces use `0.0.0.0` as the value of IP_ADDRESS otherwise specify the address of the specific interface you want to use. This is deployed with the **default example realm applied** which results in default values of: diff --git a/helm/alfresco-identity-service/values.yaml b/helm/alfresco-identity-service/values.yaml index 3b401884..6b8cee57 100644 --- a/helm/alfresco-identity-service/values.yaml +++ b/helm/alfresco-identity-service/values.yaml @@ -63,11 +63,9 @@ keycloak: create: false keycloak: image: - repository: quay.io/alfresco/alfresco-identity-service + repository: alfresco/alfresco-identity-service tag: 1.3 pullPolicy: Always - pullSecrets: - - quay-registry-secret serviceAccount: create: true username: admin diff --git a/upgrade.md b/upgrade.md index b1773095..20cbf027 100644 --- a/upgrade.md +++ b/upgrade.md @@ -1,6 +1,6 @@ # Upgrading Identity Service -## Upgrading from Identity Service 1.1 to 1.2 +## Upgrading from Identity Service 1.2 to 1.3 **_NOTE:_** The upgrade of the Alfresco Identity Management Service requires downtime. This means that no user will be able to connect to any of the Digital Business Platform components while the upgrade or rollback is being done. @@ -59,7 +59,7 @@ For the rollback process we are using the following jobs: #### How to upgrade - **_NOTE:_** This upgrade works only from 1.1 to 1.2 version of the Alfresco Identity Management Service . + **_NOTE:_** This upgrade works only from 1.2 to 1.3 version of the Alfresco Identity Management Service . 1. Identify your infrastructure chart deployment and save it in a variable. @@ -67,8 +67,8 @@ For the rollback process we are using the following jobs: export RELEASENAME=knobby-wolf ``` -2. Run the helm upgrade command using the new version of the infrastructure chart that contains Alfresco Identity Management Service 1.2. -If you however have the Digital Business Platform Helm Chart installed you will need to upgrade to a newer DBP chart which containes Alfresco Identity Management Service 1.2. +2. Run the helm upgrade command using the new version of the infrastructure chart that contains Alfresco Identity Management Service 1.3. +If you however have the Digital Business Platform Helm Chart installed you will need to upgrade to a newer DBP chart which contains Alfresco Identity Management Service 1.3. ```bash helm upgrade $RELEASENAME alfresco-incubator/alfresco-infrastructure --version 5.2.0 @@ -78,13 +78,13 @@ helm upgrade $RELEASENAME alfresco-incubator/alfresco-infrastructure --version 5 #### How to Rollback -1. If for any reason the upgrade to 1.2 failed or you just want to rollback to 1.1 issue the following command: +1. If for any reason the upgrade to 1.3 failed, or you just want to rollback to 1.2 issue the following command: ```bash helm rollback --force --recreate-pods --cleanup-on-fail $RELEASENAME 1 ``` -The AIMS service will be back to it's original state in a few minutes. +The AIMS service will be back to its original state in a few minutes. ### ZIP Distribution @@ -98,10 +98,10 @@ pg_dump --clean --no-owner --no-acl -h ${POSTGRES_HOST} -p ${POSTGRES_PORT} -U 2. Remove old data and stop the PostgreSQL instance. -3. Stop the Identity Service 1.1 server. +3. Stop the Identity Service 1.2 server. -4. Open Identity Service 1.2 distribution zip and configure accordingly to the database that will be used (for this example PostgreSQL). - For detailed information on how to set up the desired database this visit the official documentation of Keycloak [here](https://www.keycloak.org/docs/7.0/server_installation/#_database). +4. Open Identity Service 1.3 distribution zip and configure accordingly to the database that will be used (for this example PostgreSQL). + For detailed information on how to set up the desired database this visit the official documentation of Keycloak [here](https://www.keycloak.org/docs/10.0/server_installation/#_database). 5. Start the database and restore data by executing the following command: @@ -109,4 +109,4 @@ pg_dump --clean --no-owner --no-acl -h ${POSTGRES_HOST} -p ${POSTGRES_PORT} -U psql -h ${POSTGRES_HOST} -p ${POSTGRES_PORT} -d ${POSTGRES_DATABASE} -U ${POSTGRES_USER} -f /backup/backup.sql ``` -6. Start Identity Service 1.2 as described [here](https://github.com/Alfresco/alfresco-identity-service/blob/master/README.md#installing-and-booting). +6. Start Identity Service 1.3 as described [here](https://github.com/Alfresco/alfresco-identity-service/blob/master/README.md#installing-and-booting).