Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions deploy/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then
fi

NS=regclient
CHART_VERSION=12.0.2-develop
CHART_VERSION=12.0.3-develop

echo Create $NS namespace
kubectl create ns $NS
Expand All @@ -17,6 +17,12 @@ function installing_regclient() {
kubectl label ns $NS istio-injection=enabled --overwrite
helm repo update

read -p "Is values.yaml for regclinet chart set correctly as part of Pre-requisites?(Y/n) " yn
if [[ "$yn" != "Y" ]]; then
echo "ERROR: values.yaml not set correctly; EXITING."
exit 1
fi

echo Copy configmaps
sed -i 's/\r$//' copy_cm.sh
./copy_cm.sh
Expand All @@ -26,7 +32,7 @@ function installing_regclient() {
HEALTH_URL=https://$INTERNAL_HOST/v1/syncdata/actuator/health

echo Installing reg client downloader. This may take a few minutes ..
helm -n $NS install regclient mosip/regclient \
helm -n $NS install regclient mosip/regclient -f values.yaml \
--set regclient.upgradeServerUrl=https://$REGCLIENT_HOST \
--set regclient.healthCheckUrl=$HEALTH_URL \
--set regclient.hostName=$INTERNAL_HOST \
Expand Down
26 changes: 4 additions & 22 deletions deploy/values.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
regclient:
version: 1.2.0.3-SNAPSHOT
image:
registry: docker.io
repository: mosipqa/registration-client
tag: 1.2.0.1
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
##
pullPolicy: Always
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
##
# pullSecrets:
# - myRegistryKeySecretName

regclient:
version: 1.2.0.1-SNAPSHOT
mountDir: /home/mosip/build_files/
## Currently this is hardcoded. Will change in the future
cryptoKey: bBQX230Wskq6XpoZ1c+Ep1D+znxfT89NxLQ7P4KFkc4=
upgradeServerUrl: https://regclient.sandbox.xzy.net
## Here we check the health of syncdata service. The service must be accessible over internal channel.
healthCheckUrl: http://api-internal.sandbox.v3box1.net/v1/syncdata/actuator/health
repository: mosipdev/registration-client
tag: 1.2.0.x
2 changes: 1 addition & 1 deletion helm/regclient/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: regclient
description: A Helm chart to installed Downloader for Regstration Client Application
type: application
version: 12.0.2-develop
version: 12.0.3-develop
appVersion: ""
dependencies:
- name: common
Expand Down
8 changes: 4 additions & 4 deletions helm/regclient/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ service:

image:
registry: docker.io
repository: mosipid/registration-client
tag: 1.2.0.2
repository: mosipqa/registration-client
tag: 1.2.0.x
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand All @@ -67,14 +67,14 @@ image:
job:
name: keystorejob
registry: docker.io
image: mosipdev/regclient-keystore
image: mosipqa/regclient-keystore
tag: 1.2.0.x
pullPolicy: Always
rolename: keystorerole
rolebindingname: keystorerolebinding

regclient:
version: 1.2.0.2
version: 1.2.0.3-SNAPSHOT
mountDir: /home/mosip/build_files/
upgradeServerUrl: https://regclient.sandbox.xzy.net
hostName: https://api-internal.sandbox.mosip.net
Expand Down
5 changes: 3 additions & 2 deletions registration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<!--<parent>
<groupId>io.mosip</groupId>
<artifactId>registration</artifactId>
<version>1.2.0.1</version>
<version>1.2.0.3-SNAPSHOT</version>
</parent>-->

<groupId>io.mosip.registration</groupId>
<version>1.2.0.2</version>
<version>1.2.0.3-SNAPSHOT</version>
<artifactId>registration-client-parent</artifactId>
<packaging>pom</packaging>
<name>MOSIP Registration Client</name>
Expand Down Expand Up @@ -629,3 +629,4 @@
</profile>
</profiles>
</project>

6 changes: 3 additions & 3 deletions registration/registration-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<parent>
<groupId>io.mosip.registration</groupId>
<artifactId>registration-client-parent</artifactId>
<version>1.2.0.2</version>
<version>1.2.0.3-SNAPSHOT</version>
</parent>
<artifactId>registration-test</artifactId>
<name>registration-test</name>
<description>Maven project of MOSIP Registration Test</description>
<version>1.2.0.2</version>
<version>1.2.0.3-SNAPSHOT</version>

<properties>
<maven.compiler.source>11</maven.compiler.source>
Expand Down Expand Up @@ -66,7 +66,7 @@
<dependency>
<groupId>io.mosip.registration</groupId>
<artifactId>registration-client</artifactId>
<version>1.2.0.2</version>
<version>1.2.0.3-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
Loading