From b531739a2d897ee7e24f0d3073cd090d7598df84 Mon Sep 17 00:00:00 2001 From: Praful Rakhade <99539100+Prafulrakhade@users.noreply.github.com> Date: Mon, 2 Sep 2024 22:34:12 +0530 Subject: [PATCH] [DSD-6112] pms v1.3.0-dp.1 release (#733) * Updated URL from https://github.com/mosip/mosip-infra/blob/master/deployment/v3/utils/copy_cm_func.sh to https://raw.githubusercontent.com/mosip/mosip-infra/master/deployment/v3/utils/copy_cm_func.sh * [DSD-6112] pms v1.3.0-dp.1 release --- README.md | 25 ++++++++++++++++++++++++- deploy/copy_cm.sh | 2 +- deploy/install.sh | 2 +- helm/pmp-reactjs-ui/Chart.yaml | 2 +- helm/pmp-reactjs-ui/values.yaml | 4 ++-- helm/pmp-ui/Chart.yaml | 2 +- helm/pmp-ui/values.yaml | 4 ++-- 7 files changed, 32 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 0f9e69619..ff036936f 100644 --- a/README.md +++ b/README.md @@ -1 +1,24 @@ -# Partner-management-portal \ No newline at end of file +# Partner-management-portal + +## Deployment in K8 cluster with other MOSIP services: +### Pre-requisites +* Set KUBECONFIG variable to point to existing K8 cluster kubeconfig file: + * ``` + export KUBECONFIG=~/.kube/ + ``` +### Install + ``` + $ cd deploy + $ ./install.sh + ``` +### Delete + ``` + $ cd deploy + $ ./delete.sh + ``` +### Restart + ``` + $ cd deploy + $ ./restart.sh + ``` + diff --git a/deploy/copy_cm.sh b/deploy/copy_cm.sh index 776a4376f..bec9bd075 100755 --- a/deploy/copy_cm.sh +++ b/deploy/copy_cm.sh @@ -3,7 +3,7 @@ # DST_NS: Destination namespace function copying_cm() { - UTIL_URL=https://github.com/mosip/mosip-infra/blob/master/deployment/v3/utils/copy_cm_func.sh + UTIL_URL=https://raw.githubusercontent.com/mosip/mosip-infra/master/deployment/v3/utils/copy_cm_func.sh COPY_UTIL=./copy_cm_func.sh DST_NS=pms diff --git a/deploy/install.sh b/deploy/install.sh index 83e056da5..a1c7e2bb9 100755 --- a/deploy/install.sh +++ b/deploy/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=pms -CHART_VERSION=0.0.1-develop +CHART_VERSION=1.3.0-dp.1 echo Create $NS namespace kubectl create ns $NS diff --git a/helm/pmp-reactjs-ui/Chart.yaml b/helm/pmp-reactjs-ui/Chart.yaml index 79046cc51..0b5f3a830 100644 --- a/helm/pmp-reactjs-ui/Chart.yaml +++ b/helm/pmp-reactjs-ui/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: pmp-reactjs-ui description: A Helm chart for MOSIP pmp reactJS UI module type: application -version: 0.0.1-develop +version: 1.3.0-dp.1 appVersion: "" dependencies: - name: common diff --git a/helm/pmp-reactjs-ui/values.yaml b/helm/pmp-reactjs-ui/values.yaml index a96c49819..882b397e5 100644 --- a/helm/pmp-reactjs-ui/values.yaml +++ b/helm/pmp-reactjs-ui/values.yaml @@ -51,8 +51,8 @@ service: image: registry: docker.io - repository: mosipqa/pmp-reactjs-ui - tag: develop + repository: mosipid/pmp-reactjs-ui + tag: 1.3.0-dp.1 ## Specify a imagePullPolicy ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' diff --git a/helm/pmp-ui/Chart.yaml b/helm/pmp-ui/Chart.yaml index a94f3c9e8..c6fbe8ff0 100644 --- a/helm/pmp-ui/Chart.yaml +++ b/helm/pmp-ui/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: pmp-ui description: A Helm chart for MOSIP pmp UI module type: application -version: 0.0.1-develop +version: 1.3.0-dp.1 appVersion: "" dependencies: - name: common diff --git a/helm/pmp-ui/values.yaml b/helm/pmp-ui/values.yaml index 347cc49b6..65341df93 100644 --- a/helm/pmp-ui/values.yaml +++ b/helm/pmp-ui/values.yaml @@ -51,8 +51,8 @@ service: image: registry: docker.io - repository: mosipqa/pmp-ui - tag: develop + repository: mosipid/pmp-ui + tag: 1.3.0-dp.1 ## Specify a imagePullPolicy ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'