From c3454a4efd43d406b9e7c91fba4d0c29ff5ac2fd Mon Sep 17 00:00:00 2001 From: Rakshithb1 Date: Thu, 7 Nov 2024 17:33:08 +0530 Subject: [PATCH 1/5] [MOSIP-36836] added helm chart Signed-off-by: Rakshithb1 --- deploy/README.md | 22 + deploy/delete-all.sh | 35 ++ deploy/inji-verify-service/README.md | 16 + .../inji-verify-service}/copy_cm.sh | 1 - .../inji-verify-service}/copy_cm_func.sh | 0 deploy/inji-verify-service/delete.sh | 31 ++ deploy/inji-verify-service/install.sh | 55 +++ deploy/inji-verify-service/restart.sh | 24 + deploy/inji-verify-ui/README.md | 16 + deploy/inji-verify-ui/copy_cm.sh | 21 + deploy/inji-verify-ui/copy_cm_func.sh | 33 ++ .../inji-verify-ui}/delete.sh | 4 +- .../inji-verify-ui}/install.sh | 24 +- .../inji-verify-ui}/restart.sh | 3 +- deploy/install-all.sh | 36 ++ deploy/restart-all.sh | 35 ++ helm/inji-verify-service/.gitignore | 2 + .../.helmignore | 0 helm/inji-verify-service/Chart.yaml | 19 + helm/inji-verify-service/README.md | 10 + .../templates/NOTES.txt | 0 .../templates/_helpers.tpl | 60 +++ .../templates/clusterrolebinding.yaml | 19 + .../templates/deployment.yaml | 148 ++++++ .../templates/extra-list.yaml | 0 .../templates/service-account.yaml | 12 + .../templates/service.yaml | 28 ++ .../templates/servicemonitor.yaml | 0 .../templates/virtualservice.yaml | 40 ++ helm/inji-verify-service/values.yaml | 453 ++++++++++++++++++ .../Chart.yaml | 4 +- helm/inji-verify-ui/README.md | 10 + .../templates/.gitignore | 0 helm/inji-verify-ui/templates/.helmignore | 21 + helm/inji-verify-ui/templates/NOTES.txt | 1 + .../templates/_helpers.tpl | 16 +- .../templates/clusterrole.yaml | 0 .../templates/clusterrolebinding.yaml | 2 +- .../templates/configmap.yaml | 0 .../templates/deployment.yaml | 12 +- helm/inji-verify-ui/templates/extra-list.yaml | 4 + .../templates/gateway.yaml | 0 .../templates/service-account.yaml | 2 +- .../templates/service.yaml | 0 .../templates/servicemonitor.yaml | 36 ++ .../templates/virtualservice.yaml | 0 .../values.yaml | 15 +- helm/inji-verify/README.md | 11 - 48 files changed, 1228 insertions(+), 53 deletions(-) create mode 100644 deploy/README.md create mode 100644 deploy/delete-all.sh create mode 100644 deploy/inji-verify-service/README.md rename {helm/inji-verify => deploy/inji-verify-service}/copy_cm.sh (92%) mode change 100755 => 100644 rename {helm/inji-verify => deploy/inji-verify-service}/copy_cm_func.sh (100%) mode change 100755 => 100644 create mode 100644 deploy/inji-verify-service/delete.sh create mode 100644 deploy/inji-verify-service/install.sh create mode 100644 deploy/inji-verify-service/restart.sh create mode 100644 deploy/inji-verify-ui/README.md create mode 100644 deploy/inji-verify-ui/copy_cm.sh create mode 100644 deploy/inji-verify-ui/copy_cm_func.sh rename {helm/inji-verify => deploy/inji-verify-ui}/delete.sh (83%) mode change 100755 => 100644 rename {helm/inji-verify => deploy/inji-verify-ui}/install.sh (81%) mode change 100755 => 100644 rename {helm/inji-verify => deploy/inji-verify-ui}/restart.sh (87%) mode change 100755 => 100644 create mode 100644 deploy/install-all.sh create mode 100644 deploy/restart-all.sh create mode 100644 helm/inji-verify-service/.gitignore rename helm/{inji-verify/templates => inji-verify-service}/.helmignore (100%) create mode 100644 helm/inji-verify-service/Chart.yaml create mode 100644 helm/inji-verify-service/README.md rename helm/{inji-verify => inji-verify-service}/templates/NOTES.txt (100%) create mode 100644 helm/inji-verify-service/templates/_helpers.tpl create mode 100644 helm/inji-verify-service/templates/clusterrolebinding.yaml create mode 100644 helm/inji-verify-service/templates/deployment.yaml rename helm/{inji-verify => inji-verify-service}/templates/extra-list.yaml (100%) create mode 100644 helm/inji-verify-service/templates/service-account.yaml create mode 100644 helm/inji-verify-service/templates/service.yaml rename helm/{inji-verify => inji-verify-service}/templates/servicemonitor.yaml (100%) create mode 100644 helm/inji-verify-service/templates/virtualservice.yaml create mode 100644 helm/inji-verify-service/values.yaml rename helm/{inji-verify => inji-verify-ui}/Chart.yaml (90%) create mode 100644 helm/inji-verify-ui/README.md rename helm/{inji-verify => inji-verify-ui}/templates/.gitignore (100%) create mode 100644 helm/inji-verify-ui/templates/.helmignore create mode 100644 helm/inji-verify-ui/templates/NOTES.txt rename helm/{inji-verify => inji-verify-ui}/templates/_helpers.tpl (76%) rename helm/{inji-verify => inji-verify-ui}/templates/clusterrole.yaml (100%) rename helm/{inji-verify => inji-verify-ui}/templates/clusterrolebinding.yaml (92%) rename helm/{inji-verify => inji-verify-ui}/templates/configmap.yaml (100%) rename helm/{inji-verify => inji-verify-ui}/templates/deployment.yaml (94%) create mode 100644 helm/inji-verify-ui/templates/extra-list.yaml rename helm/{inji-verify => inji-verify-ui}/templates/gateway.yaml (100%) rename helm/{inji-verify => inji-verify-ui}/templates/service-account.yaml (88%) rename helm/{inji-verify => inji-verify-ui}/templates/service.yaml (100%) create mode 100644 helm/inji-verify-ui/templates/servicemonitor.yaml rename helm/{inji-verify => inji-verify-ui}/templates/virtualservice.yaml (100%) rename helm/{inji-verify => inji-verify-ui}/values.yaml (98%) mode change 100755 => 100644 delete mode 100644 helm/inji-verify/README.md diff --git a/deploy/README.md b/deploy/README.md new file mode 100644 index 00000000..6905d8bd --- /dev/null +++ b/deploy/README.md @@ -0,0 +1,22 @@ +# inji verify services + +## Install +* Run `install-all.sh` to deploy inji verify services. + ``` + cd deploy + ./install-all.sh + ``` + +## Delete +* Run `delete-all.sh` to remove inji verify services. + ``` + cd deploy + ./delete-all.sh + ``` + +## Restart +* Run `restart-all.sh` to restart inji verify services. + ``` + cd deploy + ./restart.sh + ``` \ No newline at end of file diff --git a/deploy/delete-all.sh b/deploy/delete-all.sh new file mode 100644 index 00000000..4300c3cd --- /dev/null +++ b/deploy/delete-all.sh @@ -0,0 +1,35 @@ +#!/bin/bash + +# deletes inji-verify services in correct order +## Usage: ./delete-all.sh [kubeconfig] + +if [ $# -ge 1 ] ; then + export KUBECONFIG=$1 +fi + +function Deleting_All() { + ROOT_DIR=`pwd` + + declare -a module=("inji-verify-service" + "inji-verify-ui" + ) + + echo Installing inji-verify services + + for i in "${module[@]}" + do + cd $ROOT_DIR/"$i" + ./delete.sh + done + + echo All inji-verify services deleted sucessfully. + return 0 +} + +# set commands for error handling. +set -e +set -o errexit ## set -e : exit the script if any statement returns a non-true return value +set -o nounset ## set -u : exit the script if you try to use an uninitialised variable +set -o errtrace # trace ERR through 'time command' and other functions +set -o pipefail # trace ERR through pipes +Deleting_All # calling function \ No newline at end of file diff --git a/deploy/inji-verify-service/README.md b/deploy/inji-verify-service/README.md new file mode 100644 index 00000000..91fbe52f --- /dev/null +++ b/deploy/inji-verify-service/README.md @@ -0,0 +1,16 @@ +# inji verify service + +## Install +``` +./install.sh +``` + +## Restart +``` +./restart.sh +``` + +## Delete +``` +./delete.sh +``` diff --git a/helm/inji-verify/copy_cm.sh b/deploy/inji-verify-service/copy_cm.sh old mode 100755 new mode 100644 similarity index 92% rename from helm/inji-verify/copy_cm.sh rename to deploy/inji-verify-service/copy_cm.sh index f84ae39d..a94b3f7b --- a/helm/inji-verify/copy_cm.sh +++ b/deploy/inji-verify-service/copy_cm.sh @@ -9,7 +9,6 @@ function copying_cm() { $COPY_UTIL configmap global default $DST_NS $COPY_UTIL configmap artifactory-share artifactory $DST_NS $COPY_UTIL configmap config-server-share config-server $DST_NS - #$COPY_UTIL configmap softhsm-esignet-share softhsm $DST_NS return 0 } diff --git a/helm/inji-verify/copy_cm_func.sh b/deploy/inji-verify-service/copy_cm_func.sh old mode 100755 new mode 100644 similarity index 100% rename from helm/inji-verify/copy_cm_func.sh rename to deploy/inji-verify-service/copy_cm_func.sh diff --git a/deploy/inji-verify-service/delete.sh b/deploy/inji-verify-service/delete.sh new file mode 100644 index 00000000..b3241c8b --- /dev/null +++ b/deploy/inji-verify-service/delete.sh @@ -0,0 +1,31 @@ +#!/bin/bash +# Uninstalls all inji-verify-service helm charts +## Usage: ./delete.sh [kubeconfig] + +if [ $# -ge 1 ] ; then + export KUBECONFIG=$1 +fi + +function Deleting_inji-verify-service() { + NS=injiverify + while true; do + read -p "Are you sure you want to delete all inji-verify-service helm charts?(Y/n) " yn + if [ $yn = "Y" ] + then + helm -n $NS delete inji-verify-service + break + else + break + fi + done + return 0 +} + +# set commands for error handling. +set -e +set -o errexit ## set -e : exit the script if any statement returns a non-true return value +set -o nounset ## set -u : exit the script if you try to use an uninitialised variable +set -o errtrace # trace ERR through 'time command' and other functions +set -o pipefail # trace ERR through pipes +Deleting_inji-verify-service # calling function + diff --git a/deploy/inji-verify-service/install.sh b/deploy/inji-verify-service/install.sh new file mode 100644 index 00000000..a6dd6d89 --- /dev/null +++ b/deploy/inji-verify-service/install.sh @@ -0,0 +1,55 @@ +#!/bin/bash +# Installs all inji-verify-service helm charts +## Usage: ./install.sh [kubeconfig] + +if [ $# -ge 1 ] ; then + export KUBECONFIG=$1 +fi + +NS=injiverify +CHART_VERSION=0.0.1-develop + +echo Create $NS namespace +kubectl create ns $NS + +function installing_inji-verify-service() { + + echo Istio label + kubectl label ns $NS istio-injection=enabled --overwrite + #helm repo add mosip https://mosip.github.io/mosip-helm + #helm repo update + + echo Copy configmaps + ./copy_cm.sh + + echo "Do you have public domain & valid SSL? (Y/n) " + echo "Y: if you have public domain & valid ssl certificate" + echo "n: If you don't have a public domain and a valid SSL certificate. Note: It is recommended to use this option only in development environments." + read -p "" flag + + if [ -z "$flag" ]; then + echo "'flag' was provided; EXITING;" + exit 1; + fi + ENABLE_INSECURE='' + if [ "$flag" = "n" ]; then + ENABLE_INSECURE='--set enable_insecure=true'; + fi + + echo Installing inji-verify-service + helm -n $NS install inji-verify-service /d/inji-verify/helm/inji-verify-service --version $CHART_VERSION $ENABLE_INSECURE + #helm -n $NS install inji-verify-service mosip/inji-verify-service --version $CHART_VERSION $ENABLE_INSECURE + + kubectl -n $NS get deploy -o name | xargs -n1 -t kubectl -n $NS rollout status + + echo Installed inji-verify-service service + return 0 +} + +# set commands for error handling. +set -e +set -o errexit ## set -e : exit the script if any statement returns a non-true return value +set -o nounset ## set -u : exit the script if you try to use an uninitialised variable +set -o errtrace # trace ERR through 'time command' and other functions +set -o pipefail # trace ERR through pipes +installing_inji-verify-service # calling function diff --git a/deploy/inji-verify-service/restart.sh b/deploy/inji-verify-service/restart.sh new file mode 100644 index 00000000..7072fe3f --- /dev/null +++ b/deploy/inji-verify-service/restart.sh @@ -0,0 +1,24 @@ +#!/bin/bash +# Restart the inji-verify-service services + +if [ $# -ge 1 ] ; then + export KUBECONFIG=$1 +fi + +function Restarting_inji-verify-service() { + NS=injiverify + kubectl -n $NS rollout restart deploy inji-verify-service + + kubectl -n $NS get deploy -o name | xargs -n1 -t kubectl -n $NS rollout status + + echo Retarted inji-verify-service + return 0 +} + +# set commands for error handling. +set -e +set -o errexit ## set -e : exit the script if any statement returns a non-true return value +set -o nounset ## set -u : exit the script if you try to use an uninitialised variable +set -o errtrace # trace ERR through 'time command' and other functions +set -o pipefail # trace ERR through pipes +Restarting_inji-verify-service # calling function \ No newline at end of file diff --git a/deploy/inji-verify-ui/README.md b/deploy/inji-verify-ui/README.md new file mode 100644 index 00000000..65525c06 --- /dev/null +++ b/deploy/inji-verify-ui/README.md @@ -0,0 +1,16 @@ +# inji verify ui + +## Install +``` +./install.sh +``` + +## Restart +``` +./restart.sh +``` + +## Delete +``` +./delete.sh +``` diff --git a/deploy/inji-verify-ui/copy_cm.sh b/deploy/inji-verify-ui/copy_cm.sh new file mode 100644 index 00000000..a94b3f7b --- /dev/null +++ b/deploy/inji-verify-ui/copy_cm.sh @@ -0,0 +1,21 @@ +#!/bin/bash +# Copy configmaps from other namespaces +# DST_NS: Destination namespace + +function copying_cm() { + COPY_UTIL=./copy_cm_func.sh + DST_NS=injiverify + + $COPY_UTIL configmap global default $DST_NS + $COPY_UTIL configmap artifactory-share artifactory $DST_NS + $COPY_UTIL configmap config-server-share config-server $DST_NS + return 0 +} + +# set commands for error handling. +set -e +set -o errexit ## set -e : exit the script if any statement returns a non-true return value +set -o nounset ## set -u : exit the script if you try to use an uninitialised variable +set -o errtrace # trace ERR through 'time command' and other functions +set -o pipefail # trace ERR through pipes +copying_cm # calling function \ No newline at end of file diff --git a/deploy/inji-verify-ui/copy_cm_func.sh b/deploy/inji-verify-ui/copy_cm_func.sh new file mode 100644 index 00000000..7b225948 --- /dev/null +++ b/deploy/inji-verify-ui/copy_cm_func.sh @@ -0,0 +1,33 @@ +#!/bin/sh +# Copy configmap and secret from one namespace to another. +# ./copy_cm_func.sh [name] +# Parameters: +# resource: configmap|secret +# name: Optional new name of the configmap or secret in destination namespace. This may be needed if there is +# clash of names + +if [ $1 = "configmap" ] +then + RESOURCE=configmap +elif [ $1 = "secret" ] +then + RESOURCE=secret +else + echo "Incorrect resource $1. Exiting.." + exit 1 +fi + + +if [ $# -ge 5 ] +then + kubectl -n $4 delete --ignore-not-found=true $RESOURCE $5 + kubectl -n $3 get $RESOURCE $2 -o yaml | sed "s/namespace: $3/namespace: $4/g" | sed "s/name: $2/name: $5/g" | kubectl -n $4 create -f - +else + kubectl -n $4 delete --ignore-not-found=true $RESOURCE $2 + kubectl -n $3 get $RESOURCE $2 -o yaml | sed "s/namespace: $3/namespace: $4/g" | kubectl -n $4 create -f - +fi + + + + + diff --git a/helm/inji-verify/delete.sh b/deploy/inji-verify-ui/delete.sh old mode 100755 new mode 100644 similarity index 83% rename from helm/inji-verify/delete.sh rename to deploy/inji-verify-ui/delete.sh index 6c52f50a..22ea51b9 --- a/helm/inji-verify/delete.sh +++ b/deploy/inji-verify-ui/delete.sh @@ -9,10 +9,10 @@ fi function Deleting_injiverify() { NS=injiverify while true; do - read -p "Are you sure you want to delete all esignet helm charts?(Y/n) " yn + read -p "Are you sure you want to delete all inji-verify-ui helm charts?(Y/n) " yn if [ $yn = "Y" ] then - helm -n $NS delete injiverify + helm -n $NS delete inji-verify-ui break else break diff --git a/helm/inji-verify/install.sh b/deploy/inji-verify-ui/install.sh old mode 100755 new mode 100644 similarity index 81% rename from helm/inji-verify/install.sh rename to deploy/inji-verify-ui/install.sh index 58c7c4a1..873180b2 --- a/helm/inji-verify/install.sh +++ b/deploy/inji-verify-ui/install.sh @@ -1,5 +1,5 @@ #!/bin/bash -## Installs inji-verify helm charts +## Installs inji-verify-ui helm charts ## Usage: ./install.sh [kubeconfig] if [ $# -ge 1 ] ; then @@ -15,7 +15,7 @@ if echo "$DEFAULT_MOSIP_INJIVERIFY_HOST" | grep -q "MOSIP_INJIVERIFY_HOST"; then echo "MOSIP_INJIVERIFY_HOST is already present in configmap/global of configserver" MOSIP_INJIVERIFY_HOST=DEFAULT_MOSIP_INJIVERIFY_HOST else - read -p "Please provide injiverifyhost (eg: injiVERIFY.sandbox.xyz.net ) : " MOSIP_INJIVERIFY_HOST + read -p "Please provide injiverifyhost (eg: injiverify.sandbox.xyz.net ) : " MOSIP_INJIVERIFY_HOST if [ -z "MOSIP_INJIVERIFY_HOST" ]; then echo "INJIVERIFY Host not provided; EXITING;" @@ -23,11 +23,11 @@ else fi fi -CHK_MOSIP_INJIVERIFY_HOST=$( nslookup "$MOSIP_INJIVERIFY_HOST" ) -if [ $? -gt 0 ]; then - echo "InjiVERIFY Host does not exists; EXITING;" - exit 0; -fi + CHK_MOSIP_INJIVERIFY_HOST=$( nslookup "$MOSIP_INJIVERIFY_HOST" ) + if [ $? -gt 0 ]; then + echo "InjiVERIFY Host does not exists; EXITING;" + exit 0; + fi echo "MOSIP_INJIVERIFY_HOST is not present in configmap/global of configserver" # Add injiverify host to global @@ -41,7 +41,7 @@ echo "MOSIP_INJIVERIFY_HOST is not present in configmap/global of configserver" echo Create $NS namespace kubectl create ns $NS -function installing_inji-verify() { +function installing_inji-verify-ui() { echo Istio label kubectl label ns $NS istio-injection=enabled --overwrite @@ -53,14 +53,14 @@ function installing_inji-verify() { INJIVERIFY_HOST=$(kubectl get cm global -o jsonpath={.data.mosip-injiverify-host}) echo Installing INJIVERIFY - helm -n $NS install inji-verify mosip/injiverify \ - -f values.yaml \ + # helm -n $NS install inji-verify-ui mosip/inji-verify-ui \ + helm -n $NS install inji-verify-ui /d/inji-verify/helm/inji-verify-ui \ --set istio.hosts\[0\]=$INJIVERIFY_HOST \ --version $CHART_VERSION kubectl -n $NS get deploy -o name | xargs -n1 -t kubectl -n $NS rollout status - echo Installed inji-verify + echo Installed inji-verify-ui return 0 } @@ -70,4 +70,4 @@ set -o errexit ## set -e : exit the script if any statement returns a non-true set -o nounset ## set -u : exit the script if you try to use an uninitialised variable set -o errtrace # trace ERR through 'time command' and other functions set -o pipefail # trace ERR through pipes -installing_inji-verify # calling function +installing_inji-verify-ui # calling function diff --git a/helm/inji-verify/restart.sh b/deploy/inji-verify-ui/restart.sh old mode 100755 new mode 100644 similarity index 87% rename from helm/inji-verify/restart.sh rename to deploy/inji-verify-ui/restart.sh index 5c1806b7..d258052e --- a/helm/inji-verify/restart.sh +++ b/deploy/inji-verify-ui/restart.sh @@ -8,10 +8,11 @@ fi function Restarting_oidc-ui() { NS=injiverify + kubectl -n $NS rollout restart deploy inji-verify-ui kubectl -n $NS get deploy -o name | xargs -n1 -t kubectl -n $NS rollout status - echo Retarted injiverify services + echo Retarted inji-verify-ui return 0 } diff --git a/deploy/install-all.sh b/deploy/install-all.sh new file mode 100644 index 00000000..14791ff9 --- /dev/null +++ b/deploy/install-all.sh @@ -0,0 +1,36 @@ +#!/bin/bash + +# Installs inji-verify services in correct order +## Usage: ./install-all.sh [kubeconfig] + +if [ $# -ge 1 ] ; then + export KUBECONFIG=$1 +fi + +ROOT_DIR=`pwd` + +function installing_All() { + + declare -a module=("inji-verify-service" + "inji-verify-ui" + ) + + echo Installing inji-verify services + + for i in "${module[@]}" + do + cd $ROOT_DIR/"$i" + ./install.sh + done + + echo All inji-verify services deployed sucessfully. + return 0 +} + +# set commands for error handling. +set -e +set -o errexit ## set -e : exit the script if any statement returns a non-true return value +set -o nounset ## set -u : exit the script if you try to use an uninitialised variable +set -o errtrace # trace ERR through 'time command' and other functions +set -o pipefail # trace ERR through pipes +installing_All # calling function \ No newline at end of file diff --git a/deploy/restart-all.sh b/deploy/restart-all.sh new file mode 100644 index 00000000..7d6992b6 --- /dev/null +++ b/deploy/restart-all.sh @@ -0,0 +1,35 @@ +#!/bin/bash + +# restarts inji-verify services in correct order +## Usage: ./restart-all.sh [kubeconfig] + +if [ $# -ge 1 ] ; then + export KUBECONFIG=$1 +fi + +function Restarting_All() { + ROOT_DIR=`pwd` + + declare -a module=("inji-verify-service" + "inji-verify-ui" + ) + + echo restarting inji-verify services + + for i in "${module[@]}" + do + cd $ROOT_DIR/"$i" + ./restart.sh + done + + echo All inji-verify services restarted sucessfully. + return 0 +} + +# set commands for error handling. +set -e +set -o errexit ## set -e : exit the script if any statement returns a non-true return value +set -o nounset ## set -u : exit the script if you try to use an uninitialised variable +set -o errtrace # trace ERR through 'time command' and other functions +set -o pipefail # trace ERR through pipes +Restarting_All # calling function \ No newline at end of file diff --git a/helm/inji-verify-service/.gitignore b/helm/inji-verify-service/.gitignore new file mode 100644 index 00000000..f791801b --- /dev/null +++ b/helm/inji-verify-service/.gitignore @@ -0,0 +1,2 @@ +charts/ +Chart.lock diff --git a/helm/inji-verify/templates/.helmignore b/helm/inji-verify-service/.helmignore similarity index 100% rename from helm/inji-verify/templates/.helmignore rename to helm/inji-verify-service/.helmignore diff --git a/helm/inji-verify-service/Chart.yaml b/helm/inji-verify-service/Chart.yaml new file mode 100644 index 00000000..5ef45e04 --- /dev/null +++ b/helm/inji-verify-service/Chart.yaml @@ -0,0 +1,19 @@ +apiVersion: v2 +name: inji-verify-service +description: A Helm chart for MOSIP inji-verify-service module +type: application +version: 0.0.1-develop +appVersion: "" +dependencies: + - name: common + repository: https://charts.bitnami.com/bitnami + tags: + - bitnami-common + version: 1.x.x +home: https://mosip.io +keywords: + - mosip + - inji-verify-service +maintainers: + - email: info@mosip.io + name: MOSIP diff --git a/helm/inji-verify-service/README.md b/helm/inji-verify-service/README.md new file mode 100644 index 00000000..162281fb --- /dev/null +++ b/helm/inji-verify-service/README.md @@ -0,0 +1,10 @@ +# inji verify service + +Helm chart for installing inji verify service. + +## TL;DR + +```console +$ helm repo add mosip https://mosip.github.io +$ helm install my-release mosip/inji-verify-service +``` diff --git a/helm/inji-verify/templates/NOTES.txt b/helm/inji-verify-service/templates/NOTES.txt similarity index 100% rename from helm/inji-verify/templates/NOTES.txt rename to helm/inji-verify-service/templates/NOTES.txt diff --git a/helm/inji-verify-service/templates/_helpers.tpl b/helm/inji-verify-service/templates/_helpers.tpl new file mode 100644 index 00000000..4245e402 --- /dev/null +++ b/helm/inji-verify-service/templates/_helpers.tpl @@ -0,0 +1,60 @@ +{{/* +Return the proper image name +*/}} +{{- define "inji-verify-service.image" -}} +{{ include "common.images.image" (dict "imageRoot" .Values.image "global" .Values.global) }} +{{- end -}} + +{{/* +Return the proper image name (for the init container volume-permissions image) +*/}} +{{- define "inji-verify-service.volumePermissions.image" -}} +{{- include "common.images.image" ( dict "imageRoot" .Values.volumePermissions.image "global" .Values.global ) -}} +{{- end -}} + +{{/* +Return the proper Docker Image Registry Secret Names +*/}} +{{- define "inji-verify-service.imagePullSecrets" -}} +{{- include "common.images.pullSecrets" (dict "images" (list .Values.image .Values.volumePermissions.image) "global" .Values.global) -}} +{{- end -}} + +{{/* +Create the name of the service account to use +*/}} +{{- define "inji-verify-service.serviceAccountName" -}} +{{- if .Values.serviceAccount.create -}} + {{ default (printf "%s" (include "common.names.fullname" .)) .Values.serviceAccount.name }} +{{- else -}} + {{ default "default" .Values.serviceAccount.name }} +{{- end -}} +{{- end -}} + +{{/* +Compile all warnings into a single message. +*/}} +{{- define "inji-verify-service.validateValues" -}} +{{- $messages := list -}} +{{- $messages := append $messages (include "inji-verify-service.validateValues.foo" .) -}} +{{- $messages := append $messages (include "inji-verify-service.validateValues.bar" .) -}} +{{- $messages := without $messages "" -}} +{{- $message := join "\n" $messages -}} + +{{- if $message -}} +{{- printf "\nVALUES VALIDATION:\n%s" $message -}} +{{- end -}} +{{- end -}} + +{{/* +Return podAnnotations +*/}} +{{- define "inji-verify-service.podAnnotations" -}} +{{- if .Values.podAnnotations }} +{{ include "common.tplvalues.render" (dict "value" .Values.podAnnotations "context" $) }} +{{- end }} +{{- if and .Values.metrics.enabled .Values.metrics.podAnnotations }} +{{ include "common.tplvalues.render" (dict "value" .Values.metrics.podAnnotations "context" $) }} +{{- end }} +{{- end -}} + + diff --git a/helm/inji-verify-service/templates/clusterrolebinding.yaml b/helm/inji-verify-service/templates/clusterrolebinding.yaml new file mode 100644 index 00000000..f3d358b3 --- /dev/null +++ b/helm/inji-verify-service/templates/clusterrolebinding.yaml @@ -0,0 +1,19 @@ +kind: ClusterRoleBinding +apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }} +metadata: + labels: {{- include "common.labels.standard" . | nindent 4 }} + {{- if .Values.commonLabels }} + {{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }} + {{- end }} + name: {{ template "common.names.fullname" . }} + {{- if .Values.commonAnnotations }} + annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} + {{- end }} +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: {{ template "common.names.fullname" . }} +subjects: + - kind: ServiceAccount + name: {{ template "inji-verify-service.serviceAccountName" . }} + namespace: {{ .Release.Namespace }} diff --git a/helm/inji-verify-service/templates/deployment.yaml b/helm/inji-verify-service/templates/deployment.yaml new file mode 100644 index 00000000..608ac217 --- /dev/null +++ b/helm/inji-verify-service/templates/deployment.yaml @@ -0,0 +1,148 @@ +apiVersion: {{ include "common.capabilities.deployment.apiVersion" . }} +kind: Deployment +metadata: + labels: {{- include "common.labels.standard" . | nindent 4 }} + {{- if .Values.commonLabels }} + {{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }} + {{- end }} + name: {{ template "common.names.fullname" . }} + annotations: + {{- if .Values.commonAnnotations }} + {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} + {{- end }} +spec: + replicas: {{ .Values.replicaCount }} + {{- if .Values.updateStrategy }} + strategy: {{- toYaml .Values.updateStrategy | nindent 4 }} + {{- end }} + selector: + matchLabels: {{- include "common.labels.matchLabels" . | nindent 6 }} + template: + metadata: + annotations: + {{- if or .Values.podAnnotations .Values.metrics.enabled }} + {{- include "inji-verify-service.podAnnotations" . | nindent 8 }} + {{- end }} + + labels: {{- include "common.labels.standard" . | nindent 8 }} + {{- if .Values.podLabels }} + {{- include "common.tplvalues.render" (dict "value" .Values.podLabels "context" $) | nindent 8 }} + {{- end }} + spec: + serviceAccountName: {{ template "inji-verify-service.serviceAccountName" . }} + {{- include "inji-verify-service.imagePullSecrets" . | nindent 6 }} + {{- if .Values.hostAliases }} + hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }} + {{- end }} + {{- if .Values.affinity }} + affinity: {{- include "common.tplvalues.render" ( dict "value" .Values.affinity "context" $) | nindent 8 }} + {{- else }} + affinity: + podAffinity: {{- include "common.affinities.pods" (dict "type" .Values.podAffinityPreset "context" $) | nindent 10 }} + podAntiAffinity: {{- include "common.affinities.pods" (dict "type" .Values.podAntiAffinityPreset "context" $) | nindent 10 }} + nodeAffinity: {{- include "common.affinities.nodes" (dict "type" .Values.nodeAffinityPreset.type "key" .Values.nodeAffinityPreset.key "values" .Values.nodeAffinityPreset.values) | nindent 10 }} + {{- end }} + {{- if .Values.nodeSelector }} + nodeSelector: {{- include "common.tplvalues.render" ( dict "value" .Values.nodeSelector "context" $) | nindent 8 }} + {{- end }} + {{- if .Values.tolerations }} + tolerations: {{- include "common.tplvalues.render" (dict "value" .Values.tolerations "context" .) | nindent 8 }} + {{- end }} + {{- if .Values.priorityClassName }} + priorityClassName: {{ .Values.priorityClassName | quote }} + {{- end }} + {{- if .Values.podSecurityContext.enabled }} + securityContext: {{- omit .Values.podSecurityContext "enabled" | toYaml | nindent 8 }} + {{- end }} + initContainers: + {{- if and .Values.volumePermissions.enabled .Values.persistence.enabled }} + - name: volume-permissions + image: {{ include "inji-verify-service.volumePermissions.image" . }} + imagePullPolicy: {{ .Values.volumePermissions.image.pullPolicy | quote }} + command: + - %%commands%% + securityContext: + runAsUser: 0 + {{- if .Values.volumePermissions.resources }} + resources: {{- toYaml .Values.volumePermissions.resources | nindent 12 }} + {{- end }} + volumeMounts: + - name: foo + mountPath: bar + {{- end }} + {{- if .Values.enable_insecure }} + {{- include "common.tplvalues.render" (dict "value" .Values.initContainers "context" $) | nindent 8 }} + {{- end }} + containers: + - name: inji-verify-service + image: {{ template "inji-verify-service.image" . }} + imagePullPolicy: {{ .Values.image.pullPolicy }} + {{- if .Values.lifecycleHooks }} + lifecycle: {{- include "common.tplvalues.render" (dict "value" .Values.lifecycleHooks "context" $) | nindent 12 }} + {{- end }} + {{- if .Values.containerSecurityContext.enabled }} + securityContext: {{- omit .Values.containerSecurityContext "enabled" | toYaml | nindent 12 }} + {{- end }} + {{- if .Values.command }} + command: {{- include "common.tplvalues.render" (dict "value" .Values.command "context" $) | nindent 12 }} + {{- end }} + {{- if .Values.args }} + args: {{- include "common.tplvalues.render" (dict "value" .Values.args "context" $) | nindent 12 }} + {{- end }} + env: + - name: container_user + value: {{ .Values.containerSecurityContext.runAsUser }} + - name: JDK_JAVA_OPTIONS + value: {{ .Values.additionalResources.javaOpts }} + {{- if .Values.extraEnvVars }} + {{- include "common.tplvalues.render" (dict "value" .Values.extraEnvVars "context" $) | nindent 12 }} + {{- end }} + envFrom: + {{- if .Values.extraEnvVarsCM }} + {{- range .Values.extraEnvVarsCM }} + - configMapRef: + name: {{ . }} + {{- end }} + {{- end }} + {{- if .Values.extraEnvVarsSecret }} + {{- range .Values.extraEnvVarsSecret }} + - secretRef: + name: {{ . }} + {{- end }} + {{- end }} + ports: + - name: spring-service + containerPort: {{ .Values.springServicePort }} + + {{- if .Values.resources }} + resources: {{- toYaml .Values.resources | nindent 12 }} + {{- end }} + {{- if .Values.startupProbe.enabled }} + startupProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.startupProbe "enabled") "context" $) | nindent 12 }} + {{- else if .Values.customStartupProbe }} + startupProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customStartupProbe "context" $) | nindent 12 }} + {{- end }} + {{- if .Values.livenessProbe.enabled }} + livenessProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.livenessProbe "enabled") "context" $) | nindent 12 }} + {{- else if .Values.customLivenessProbe }} + livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customLivenessProbe "context" $) | nindent 12 }} + {{- end }} + {{- if .Values.readinessProbe.enabled }} + readinessProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.readinessProbe "enabled") "context" $) | nindent 12 }} + {{- else if .Values.customReadinessProbe }} + readinessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customReadinessProbe "context" $) | nindent 12 }} + {{- end }} + volumeMounts: + {{- if .Values.enable_insecure }} + - mountPath: /usr/local/openjdk-11/lib/security/cacerts + name: cacerts + subPath: cacerts + {{- end }} + {{- if .Values.sidecars }} + {{- include "common.tplvalues.render" ( dict "value" .Values.sidecars "context" $) | nindent 8 }} + {{- end }} + volumes: + {{- if .Values.enable_insecure }} + - name: cacerts + emptyDir: {} + {{- end }} diff --git a/helm/inji-verify/templates/extra-list.yaml b/helm/inji-verify-service/templates/extra-list.yaml similarity index 100% rename from helm/inji-verify/templates/extra-list.yaml rename to helm/inji-verify-service/templates/extra-list.yaml diff --git a/helm/inji-verify-service/templates/service-account.yaml b/helm/inji-verify-service/templates/service-account.yaml new file mode 100644 index 00000000..28bef367 --- /dev/null +++ b/helm/inji-verify-service/templates/service-account.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + labels: {{- include "common.labels.standard" . | nindent 4 }} + {{- if .Values.commonLabels }} + {{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }} + {{- end }} + name: {{ template "inji-verify-service.serviceAccountName" . }} + {{- if .Values.commonAnnotations }} + annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} + {{- end }} + namespace: {{ .Release.Namespace }} diff --git a/helm/inji-verify-service/templates/service.yaml b/helm/inji-verify-service/templates/service.yaml new file mode 100644 index 00000000..018e6985 --- /dev/null +++ b/helm/inji-verify-service/templates/service.yaml @@ -0,0 +1,28 @@ +apiVersion: v1 +kind: Service +metadata: + labels: {{- include "common.labels.standard" . | nindent 4 }} + {{- if .Values.commonLabels }} + {{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }} + {{- end }} + name: {{ template "common.names.fullname" . }} + annotations: + {{- if .Values.commonAnnotations }} + {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} + {{- end }} +spec: + type: {{ .Values.service.type }} + {{- if (or (eq .Values.service.type "LoadBalancer") (eq .Values.service.type "NodePort")) }} + externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy | quote }} + {{- end }} + {{ if eq .Values.service.type "LoadBalancer" }} + loadBalancerSourceRanges: {{ .Values.service.loadBalancerSourceRanges }} + {{ end }} + {{- if (and (eq .Values.service.type "LoadBalancer") (not (empty .Values.service.loadBalancerIP))) }} + loadBalancerIP: {{ .Values.service.loadBalancerIP }} + {{- end }} + ports: + - port: {{ .Values.service.port }} + protocol: TCP + targetPort: {{ .Values.springServicePort }} + selector: {{- include "common.labels.matchLabels" . | nindent 4 }} diff --git a/helm/inji-verify/templates/servicemonitor.yaml b/helm/inji-verify-service/templates/servicemonitor.yaml similarity index 100% rename from helm/inji-verify/templates/servicemonitor.yaml rename to helm/inji-verify-service/templates/servicemonitor.yaml diff --git a/helm/inji-verify-service/templates/virtualservice.yaml b/helm/inji-verify-service/templates/virtualservice.yaml new file mode 100644 index 00000000..2b8e5e41 --- /dev/null +++ b/helm/inji-verify-service/templates/virtualservice.yaml @@ -0,0 +1,40 @@ +{{- if .Values.istio.enabled }} +apiVersion: networking.istio.io/v1alpha3 +kind: VirtualService +metadata: + name: {{ template "common.names.fullname" . }} + namespace: {{ .Release.Namespace }} + labels: {{- include "common.labels.standard" . | nindent 4 }} + {{- if .Values.commonLabels }} + {{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }} + {{- end }} + {{- if .Values.commonAnnotations }} + annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} + {{- end }} +spec: + hosts: + - "*" + gateways: + {{- include "common.tplvalues.render" ( dict "value" .Values.istio.gateways "context" $ ) | nindent 4 }} + http: + - match: + - uri: + prefix: {{ .Values.istio.prefix }} + route: + - destination: + host: {{ template "common.names.fullname" . }} + port: + number: {{ .Values.service.port }} + corsPolicy: + {{- include "common.tplvalues.render" ( dict "value" .Values.istio.corsPolicy "context" $ ) | nindent 6 }} + headers: + request: + set: + x-forwarded-proto: https + response: + set: + Cache-control: no-store + Pragma: no-cache + Strict-Transport-Security: max-age=31536000; includeSubDomains + X-Frame-Options: SAMEORIGIN +{{- end }} diff --git a/helm/inji-verify-service/values.yaml b/helm/inji-verify-service/values.yaml new file mode 100644 index 00000000..0c2c0dd3 --- /dev/null +++ b/helm/inji-verify-service/values.yaml @@ -0,0 +1,453 @@ +## Global Docker image parameters +## Please, note that this will override the image parameters, including dependencies, configured to use the global value +## Current available global Docker image parameters: imageRegistry and imagePullSecrets +## +# global: +# imageRegistry: myRegistryName +# imagePullSecrets: +# - myRegistryKeySecretName +# storageClass: myStorageClass + +## Add labels to all the deployed resources +## +commonLabels: + app.kubernetes.io/component: mosip + +## Add annotations to all the deployed resources +## +commonAnnotations: {} + +## Kubernetes Cluster Domain +## +clusterDomain: cluster.local + +## Extra objects to deploy (value evaluated as a template) +## +extraDeploy: [] + +## Number of nodes +## +replicaCount: 1 + +service: + type: ClusterIP + port: 80 + ## loadBalancerIP for the SuiteCRM Service (optional, cloud specific) + ## ref: http://kubernetes.io/docs/user-guide/services/#type-loadbalancer + ## + ## loadBalancerIP: + ## + ## nodePorts: + ## http: + ## https: + ## + + nodePorts: + http: "" + https: "" + ## Enable client source IP preservation + ## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip + ## + externalTrafficPolicy: Cluster + +image: + registry: docker.io + repository: mosipqa/inji-verify-service + tag: develop + ## 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 + +## Port on which this particular spring service module is running. +springServicePort: 8080 + +## Configure extra options for liveness and readiness probes +## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes +## +startupProbe: + enabled: true + httpGet: + path: / + port: 8080 + initialDelaySeconds: 0 + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 30 + successThreshold: 1 + +livenessProbe: + enabled: true + httpGet: + path: / + port: 8080 + initialDelaySeconds: 20 + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 6 + successThreshold: 1 + +readinessProbe: + enabled: true + httpGet: + path: / + port: 8080 + initialDelaySeconds: 0 + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 6 + successThreshold: 1 + +## +# existingConfigmap: + +## Command and args for running the container (set to default if not set). Use array form +## +command: [] +args: [] + +## Deployment pod host aliases +## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/ +## +hostAliases: [] + +## ref: http://kubernetes.io/docs/user-guide/compute-resources/ +## +resources: + # We usually recommend not to specify default resources and to leave this as a conscious + # choice for the user. This also increases chances charts run on environments with little + # resources, such as Minikube. If you do want to specify resources, uncomment the following + # lines, adjust them as necessary, and remove the curly braces after 'resources:'. + limits: + cpu: 500m + memory: 2250Mi + requests: + cpu: 100m + memory: 1500Mi + +additionalResources: + ## Specify any JAVA_OPTS string here. These typically will be specified in conjunction with above resources + ## Example: java_opts: "-Xms500M -Xmx500M" + javaOpts: "-Xms1500M -Xmx1500M" + +## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container +## Clamav container already runs as 'mosip' user, so we may not need to enable this +containerSecurityContext: + enabled: false + runAsUser: mosip + runAsNonRoot: true + +## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod +## +podSecurityContext: + enabled: false + fsGroup: 1001 + +## Pod affinity preset +## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity +## Allowed values: soft, hard +## +podAffinityPreset: "" + +## Pod anti-affinity preset +## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity +## Allowed values: soft, hard +## +podAntiAffinityPreset: soft + +## Node affinity preset +## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity +## Allowed values: soft, hard +## +nodeAffinityPreset: + ## Node affinity type + ## Allowed values: soft, hard + ## + type: "" + ## Node label key to match + ## E.g. + ## key: "kubernetes.io/e2e-az-name" + ## + key: "" + ## Node label values to match + ## E.g. + ## values: + ## - e2e-az1 + ## - e2e-az2 + ## + values: [] + +## Affinity for pod assignment. Evaluated as a template. +## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity +## +affinity: {} + +## Node labels for pod assignment. Evaluated as a template. +## ref: https://kubernetes.io/docs/user-guide/node-selection/ +## +nodeSelector: {} + +## Tolerations for pod assignment. Evaluated as a template. +## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ +## +tolerations: [] + +## Pod extra labels +## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ +## +podLabels: {} + +## Annotations for server pods. +## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ +## +podAnnotations: {} + +## pods' priority. +## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/ +## +# priorityClassName: "" + +## lifecycleHooks for the container to automate configuration before or after startup. +## +lifecycleHooks: {} + +## Custom Liveness probes for +## +customLivenessProbe: {} + +## Custom Rediness probes +## +customReadinessProbe: {} + +## Update strategy - only really applicable for deployments with RWO PVs attached +## If replicas = 1, an update can get "stuck", as the previous pod remains attached to the +## PV, and the "incoming" pod can never start. Changing the strategy to "Recreate" will +## terminate the single previous pod, so that the new, incoming pod can attach to the PV +## +updateStrategy: + type: RollingUpdate + +## Additional environment variables to set +## Example: +## extraEnvVars: +## - name: FOO +## value: "bar" +## +extraEnvVars: [] + +## ConfigMap with extra environment variables that used +## +extraEnvVarsCM: + - global + - config-server-share + - artifactory-share + +## Secret with extra environment variables +## +extraEnvVarsSecret: + +## Extra volumes to add to the deployment +## +extraVolumes: [] + +## Extra volume mounts to add to the container +## +extraVolumeMounts: [] + +## Add init containers to the pods. +## Example: +## initContainers: +## - name: your-image-name +## image: your-image +## imagePullPolicy: Always +## ports: +## - name: portname +## containerPort: 1234 +## +initContainers: + - command: + - /bin/bash + - -c + - if [ "$ENABLE_INSECURE" = "true" ]; then HOST=$( env | grep "mosip-api-internal-host" + |sed "s/mosip-api-internal-host=//g"); if [ -z "$HOST" ]; then echo "HOST + $HOST is empty; EXITING"; exit 1; fi; openssl s_client -servername "$HOST" + -connect "$HOST":443 > "$HOST.cer" 2>/dev/null & sleep 2 ; sed -i -ne '/-BEGIN + CERTIFICATE-/,/-END CERTIFICATE-/p' "$HOST.cer"; cat "$HOST.cer"; /usr/local/openjdk-11/bin/keytool + -delete -alias "$HOST" -keystore $JAVA_HOME/lib/security/cacerts -storepass + changeit; /usr/local/openjdk-11/bin/keytool -trustcacerts -keystore "$JAVA_HOME/lib/security/cacerts" + -storepass changeit -noprompt -importcert -alias "$HOST" -file "$HOST.cer" + ; if [ $? -gt 0 ]; then echo "Failed to add SSL certificate for host $host; + EXITING"; exit 1; fi; cp /usr/local/openjdk-11/lib/security/cacerts /cacerts; + fi + env: + - name: ENABLE_INSECURE + value: "true" + envFrom: + - configMapRef: + name: global + image: docker.io/openjdk:11-jre + imagePullPolicy: Always + name: cacerts + resources: {} + securityContext: + runAsUser: 0 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /cacerts + name: cacerts + +## Add sidecars to the pods. +## Example: +## sidecars: +## - name: your-image-name +## image: your-image +## imagePullPolicy: Always +## ports: +## - name: portname +## containerPort: 1234 +## +sidecars: {} + +persistence: + enabled: false + ## If defined, storageClassName: + ## If set to "-", storageClassName: "", which disables dynamic provisioning + ## If undefined (the default) or set to null, no storageClassName spec is + ## set, choosing the default provisioner. (gp2 on AWS, standard on + ## GKE, AWS & OpenStack). + ## + # storageClass: "-" + ## + ## If you want to reuse an existing claim, you can pass the name of the PVC using + ## the existingClaim variable + # existingClaim: your-claim + ## ReadWriteMany not supported by AWS gp2 + storageClass: + accessModes: + - ReadWriteOnce + size: 10M + existingClaim: + # Dir where config and keys are written inside container + mountDir: + +## Init containers parameters: +## volumePermissions: Change the owner and group of the persistent volume mountpoint to runAsUser:fsGroup values from the securityContext section. +## +volumePermissions: + enabled: false + image: + registry: docker.io + repository: bitnami/bitnami-shell + tag: "10" + 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 + ## Init containers' resource requests and limits + ## ref: http://kubernetes.io/docs/user-guide/compute-resources/ + ## + resources: + ## We usually recommend not to specify default resources and to leave this as a conscious + ## choice for the user. This also increases chances charts run on environments with little + ## resources, such as Minikube. If you do want to specify resources, uncomment the following + ## lines, adjust them as necessary, and remove the curly braces after 'resources:'. + ## + limits: {} + ## cpu: 100m + ## memory: 128Mi + ## + requests: {} + ## cpu: 100m + ## memory: 128Mi + ## + +## Specifies whether RBAC resources should be created +## +rbac: + create: true + +## Specifies whether a ServiceAccount should be created +## +serviceAccount: + create: true + ## The name of the ServiceAccount to use. + ## If not set and create is true, a name is generated using the fullname template + ## + name: + +## Prometheus Metrics +## +metrics: + enabled: true + ## Prometheus pod annotations + ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ + ## + podAnnotations: + prometheus.io/scrape: "true" + + endpointPath: /v1/inji-verify-service/actuator/prometheus + + ## Prometheus Service Monitor + ## ref: https://github.com/coreos/prometheus-operator + ## + serviceMonitor: + ## If the operator is installed in your cluster, set to true to create a Service Monitor Entry + ## + enabled: true + ## Specify the namespace in which the serviceMonitor resource will be created + ## + # namespace: "" + ## Specify the interval at which metrics should be scraped + ## + interval: 10s + ## Specify the timeout after which the scrape is ended + ## + # scrapeTimeout: 30s + ## Specify Metric Relabellings to add to the scrape endpoint + ## + # relabellings: + ## Specify honorLabels parameter to add the scrape endpoint + ## + honorLabels: false + ## Used to pass Labels that are used by the Prometheus installed in your cluster to select Service Monitors to work with + ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#prometheusspec + ## + additionalLabels: {} + + ## Custom PrometheusRule to be defined + ## The value is evaluated as a template, so, for example, the value can depend on .Release or .Chart + ## ref: https://github.com/coreos/prometheus-operator#customresourcedefinitions + ## + prometheusRule: + enabled: false + additionalLabels: {} + namespace: '' + ## List of rules, used as template by Helm. + ## These are just examples rules inspired from https://awesome-prometheus-alerts.grep.to/rules.html + # rules: + # - alert: RabbitmqDown + # expr: rabbitmq_up{service="{{ template "rabbitmq.fullname" . }}"} == 0 + # for: 5m + # labels: + # severity: error + rules: [] + +## Only internal access +istio: + enabled: true + gateways: + - istio-system/internal + prefix: / + +enable_insecure: false diff --git a/helm/inji-verify/Chart.yaml b/helm/inji-verify-ui/Chart.yaml similarity index 90% rename from helm/inji-verify/Chart.yaml rename to helm/inji-verify-ui/Chart.yaml index 7ff81a3d..db14ccce 100644 --- a/helm/inji-verify/Chart.yaml +++ b/helm/inji-verify-ui/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -name: injiverify +name: inji-verify description: A Helm chart for MOSIP injiverify module type: application version: 0.0.1-develop @@ -13,7 +13,7 @@ dependencies: home: https://mosip.io keywords: - mosip - - inji-verify + - inji-verify-ui maintainers: - email: info@mosip.io name: MOSIP diff --git a/helm/inji-verify-ui/README.md b/helm/inji-verify-ui/README.md new file mode 100644 index 00000000..c50c84c3 --- /dev/null +++ b/helm/inji-verify-ui/README.md @@ -0,0 +1,10 @@ +# inji verify ui + +Helm chart for installing inji verify ui. + +## TL;DR + +```console +$ helm repo add mosip https://mosip.github.io +$ helm install my-release mosip/inji-verify-ui +``` diff --git a/helm/inji-verify/templates/.gitignore b/helm/inji-verify-ui/templates/.gitignore similarity index 100% rename from helm/inji-verify/templates/.gitignore rename to helm/inji-verify-ui/templates/.gitignore diff --git a/helm/inji-verify-ui/templates/.helmignore b/helm/inji-verify-ui/templates/.helmignore new file mode 100644 index 00000000..f0c13194 --- /dev/null +++ b/helm/inji-verify-ui/templates/.helmignore @@ -0,0 +1,21 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*~ +# Various IDEs +.project +.idea/ +*.tmproj diff --git a/helm/inji-verify-ui/templates/NOTES.txt b/helm/inji-verify-ui/templates/NOTES.txt new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/helm/inji-verify-ui/templates/NOTES.txt @@ -0,0 +1 @@ + diff --git a/helm/inji-verify/templates/_helpers.tpl b/helm/inji-verify-ui/templates/_helpers.tpl similarity index 76% rename from helm/inji-verify/templates/_helpers.tpl rename to helm/inji-verify-ui/templates/_helpers.tpl index 1f7e8c4b..6c30dda3 100644 --- a/helm/inji-verify/templates/_helpers.tpl +++ b/helm/inji-verify-ui/templates/_helpers.tpl @@ -1,28 +1,28 @@ {{/* Return the proper image name */}} -{{- define "inji-verify.image" -}} +{{- define "inji-verify-ui.image" -}} {{ include "common.images.image" (dict "imageRoot" .Values.image "global" .Values.global) }} {{- end -}} {{/* Return the proper image name (for the init container volume-permissions image) */}} -{{- define "inji-verify.volumePermissions.image" -}} +{{- define "inji-verify-ui.volumePermissions.image" -}} {{- include "common.images.image" ( dict "imageRoot" .Values.volumePermissions.image "global" .Values.global ) -}} {{- end -}} {{/* Return the proper Docker Image Registry Secret Names */}} -{{- define "inji-verify.imagePullSecrets" -}} +{{- define "inji-verify-ui.imagePullSecrets" -}} {{- include "common.images.pullSecrets" (dict "images" (list .Values.image .Values.volumePermissions.image) "global" .Values.global) -}} {{- end -}} {{/* Create the name of the service account to use */}} -{{- define "inji-verify.serviceAccountName" -}} +{{- define "inji-verify-ui.serviceAccountName" -}} {{- if .Values.serviceAccount.create -}} {{ default (printf "%s" (include "common.names.fullname" .)) .Values.serviceAccount.name }} {{- else -}} @@ -33,10 +33,10 @@ Create the name of the service account to use {{/* Compile all warnings into a single message. */}} -{{- define "inji-verify.validateValues" -}} +{{- define "inji-verify-ui.validateValues" -}} {{- $messages := list -}} -{{- $messages := append $messages (include "inji-verify.validateValues.foo" .) -}} -{{- $messages := append $messages (include "inji-verify.validateValues.bar" .) -}} +{{- $messages := append $messages (include "inji-verify-ui.validateValues.foo" .) -}} +{{- $messages := append $messages (include "inji-verify-ui.validateValues.bar" .) -}} {{- $messages := without $messages "" -}} {{- $message := join "\n" $messages -}} @@ -48,7 +48,7 @@ Compile all warnings into a single message. {{/* Return podAnnotations */}} -{{- define "inji-verify.podAnnotations" -}} +{{- define "inji-verify-ui.podAnnotations" -}} {{- if .Values.podAnnotations }} {{ include "common.tplvalues.render" (dict "value" .Values.podAnnotations "context" $) }} {{- end }} diff --git a/helm/inji-verify/templates/clusterrole.yaml b/helm/inji-verify-ui/templates/clusterrole.yaml similarity index 100% rename from helm/inji-verify/templates/clusterrole.yaml rename to helm/inji-verify-ui/templates/clusterrole.yaml diff --git a/helm/inji-verify/templates/clusterrolebinding.yaml b/helm/inji-verify-ui/templates/clusterrolebinding.yaml similarity index 92% rename from helm/inji-verify/templates/clusterrolebinding.yaml rename to helm/inji-verify-ui/templates/clusterrolebinding.yaml index d01be213..e1075b6c 100644 --- a/helm/inji-verify/templates/clusterrolebinding.yaml +++ b/helm/inji-verify-ui/templates/clusterrolebinding.yaml @@ -15,5 +15,5 @@ roleRef: name: {{ template "common.names.fullname" . }} subjects: - kind: ServiceAccount - name: {{ template "inji-verify.serviceAccountName" . }} + name: {{ template "inji-verify-ui.serviceAccountName" . }} namespace: {{ .Release.Namespace }} diff --git a/helm/inji-verify/templates/configmap.yaml b/helm/inji-verify-ui/templates/configmap.yaml similarity index 100% rename from helm/inji-verify/templates/configmap.yaml rename to helm/inji-verify-ui/templates/configmap.yaml diff --git a/helm/inji-verify/templates/deployment.yaml b/helm/inji-verify-ui/templates/deployment.yaml similarity index 94% rename from helm/inji-verify/templates/deployment.yaml rename to helm/inji-verify-ui/templates/deployment.yaml index 46a641a7..b734fe18 100644 --- a/helm/inji-verify/templates/deployment.yaml +++ b/helm/inji-verify-ui/templates/deployment.yaml @@ -21,15 +21,15 @@ spec: metadata: annotations: {{- if or .Values.podAnnotations .Values.metrics.enabled }} - {{- include "inji-verify.podAnnotations" . | nindent 8 }} + {{- include "inji-verify-ui.podAnnotations" . | nindent 8 }} {{- end }} labels: {{- include "common.labels.standard" . | nindent 8 }} {{- if .Values.podLabels }} {{- include "common.tplvalues.render" (dict "value" .Values.podLabels "context" $) | nindent 8 }} {{- end }} spec: - serviceAccountName: {{ template "inji-verify.serviceAccountName" . }} - {{- include "inji-verify.imagePullSecrets" . | nindent 6 }} + serviceAccountName: {{ template "inji-verify-ui.serviceAccountName" . }} + {{- include "inji-verify-ui.imagePullSecrets" . | nindent 6 }} {{- if .Values.hostAliases }} hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }} {{- end }} @@ -56,7 +56,7 @@ spec: initContainers: {{- if and .Values.volumePermissions.enabled .Values.persistence.enabled }} - name: volume-permissions - image: {{ include "inji-verify.volumePermissions.image" . }} + image: {{ include "inji-verify-ui.volumePermissions.image" . }} imagePullPolicy: {{ .Values.volumePermissions.image.pullPolicy | quote }} command: - %%commands%% @@ -73,8 +73,8 @@ spec: {{- include "common.tplvalues.render" (dict "value" .Values.initContainers "context" $) | nindent 8 }} {{- end }} containers: - - name: inji-verify - image: {{ template "inji-verify.image" . }} + - name: inji-verify-ui + image: {{ template "inji-verify-ui.image" . }} imagePullPolicy: {{ .Values.image.pullPolicy }} {{- if .Values.lifecycleHooks }} lifecycle: {{- include "common.tplvalues.render" (dict "value" .Values.lifecycleHooks "context" $) | nindent 12 }} diff --git a/helm/inji-verify-ui/templates/extra-list.yaml b/helm/inji-verify-ui/templates/extra-list.yaml new file mode 100644 index 00000000..9ac65f9e --- /dev/null +++ b/helm/inji-verify-ui/templates/extra-list.yaml @@ -0,0 +1,4 @@ +{{- range .Values.extraDeploy }} +--- +{{ include "common.tplvalues.render" (dict "value" . "context" $) }} +{{- end }} diff --git a/helm/inji-verify/templates/gateway.yaml b/helm/inji-verify-ui/templates/gateway.yaml similarity index 100% rename from helm/inji-verify/templates/gateway.yaml rename to helm/inji-verify-ui/templates/gateway.yaml diff --git a/helm/inji-verify/templates/service-account.yaml b/helm/inji-verify-ui/templates/service-account.yaml similarity index 88% rename from helm/inji-verify/templates/service-account.yaml rename to helm/inji-verify-ui/templates/service-account.yaml index 2445cb4d..4d955504 100644 --- a/helm/inji-verify/templates/service-account.yaml +++ b/helm/inji-verify-ui/templates/service-account.yaml @@ -5,7 +5,7 @@ metadata: {{- if .Values.commonLabels }} {{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }} {{- end }} - name: {{ template "inji-verify.serviceAccountName" . }} + name: {{ template "inji-verify-ui.serviceAccountName" . }} {{- if .Values.commonAnnotations }} annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} {{- end }} diff --git a/helm/inji-verify/templates/service.yaml b/helm/inji-verify-ui/templates/service.yaml similarity index 100% rename from helm/inji-verify/templates/service.yaml rename to helm/inji-verify-ui/templates/service.yaml diff --git a/helm/inji-verify-ui/templates/servicemonitor.yaml b/helm/inji-verify-ui/templates/servicemonitor.yaml new file mode 100644 index 00000000..15f48fde --- /dev/null +++ b/helm/inji-verify-ui/templates/servicemonitor.yaml @@ -0,0 +1,36 @@ +{{- if and .Values.metrics.enabled .Values.metrics.serviceMonitor.enabled }} +apiVersion: monitoring.coreos.com/v1 +kind: ServiceMonitor +metadata: + name: {{ template "common.names.fullname" . }} + {{- if .Values.metrics.serviceMonitor.namespace }} + namespace: {{ .Values.metrics.serviceMonitor.namespace }} + {{- else }} + namespace: {{ .Release.Namespace | quote }} + {{- end }} + labels: {{- include "common.labels.standard" . | nindent 4 }} + {{- if .Values.metrics.serviceMonitor.additionalLabels }} + {{- include "common.tplvalues.render" (dict "value" .Values.metrics.serviceMonitor.additionalLabels "context" $) | nindent 4 }} + {{- end }} +spec: + endpoints: + - targetPort: {{ .Values.springServicePort }} + path: {{ .Values.metrics.endpointPath }} + {{- if .Values.metrics.serviceMonitor.interval }} + interval: {{ .Values.metrics.serviceMonitor.interval }} + {{- end }} + {{- if .Values.metrics.serviceMonitor.scrapeTimeout }} + scrapeTimeout: {{ .Values.metrics.serviceMonitor.scrapeTimeout }} + {{- end }} + {{- if .Values.metrics.serviceMonitor.honorLabels }} + honorLabels: {{ .Values.metrics.serviceMonitor.honorLabels }} + {{- end }} + {{- if .Values.metrics.serviceMonitor.relabellings }} + metricRelabelings: {{- toYaml .Values.metrics.serviceMonitor.relabellings | nindent 6 }} + {{- end }} + namespaceSelector: + matchNames: + - {{ .Release.Namespace | quote }} + selector: + matchLabels: {{- include "common.labels.matchLabels" . | nindent 6 }} +{{- end }} diff --git a/helm/inji-verify/templates/virtualservice.yaml b/helm/inji-verify-ui/templates/virtualservice.yaml similarity index 100% rename from helm/inji-verify/templates/virtualservice.yaml rename to helm/inji-verify-ui/templates/virtualservice.yaml diff --git a/helm/inji-verify/values.yaml b/helm/inji-verify-ui/values.yaml old mode 100755 new mode 100644 similarity index 98% rename from helm/inji-verify/values.yaml rename to helm/inji-verify-ui/values.yaml index 2829b932..10685403 --- a/helm/inji-verify/values.yaml +++ b/helm/inji-verify-ui/values.yaml @@ -51,7 +51,7 @@ service: image: registry: docker.io - repository: mosipdev/inji-verify + repository: mosipqa/inji-verify-ui tag: develop ## Specify a imagePullPolicy @@ -74,7 +74,7 @@ startupProbe: enabled: true httpGet: path: / - port: 3004 + port: 8000 initialDelaySeconds: 0 periodSeconds: 10 timeoutSeconds: 5 @@ -85,7 +85,7 @@ livenessProbe: enabled: true httpGet: path: / - port: 3004 + port: 8000 initialDelaySeconds: 20 periodSeconds: 10 timeoutSeconds: 5 @@ -96,7 +96,7 @@ readinessProbe: enabled: true httpGet: path: / - port: 3004 + port: 8000 initialDelaySeconds: 0 periodSeconds: 10 timeoutSeconds: 5 @@ -248,8 +248,7 @@ extraEnvVarsCM: - global - config-server-share - artifactory-share -# - softhsm-esignet-share -# - oidc-ui + ## Secret with extra environment variables ## @@ -418,7 +417,7 @@ metrics: ## CAUTION: Domain name to access injiverify UI must be secure/internal/over vpn. ## Slash is important! inji_verify: - port: '3004' + port: '8000' host: 'mimoto.mimoto' esignet_redirect_url: 'esignet.sandbox.xyz.net' istio: @@ -426,7 +425,7 @@ istio: ingressController: name: ingressgateway gateways: - - name: inji-verify-gateway + - name: inji-verify-ui-gateway protocol: HTTP portName: http port: 80 diff --git a/helm/inji-verify/README.md b/helm/inji-verify/README.md deleted file mode 100644 index 12e77956..00000000 --- a/helm/inji-verify/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# injiverify - -## Overview -Refer [Commons](https://docs.mosip.io/1.2.0/modules/commons). - -## Install -``` -./install.sh -``` - - From 24c46805c738a16e519bd3787f54e7c891ac4ff9 Mon Sep 17 00:00:00 2001 From: Rakshithb1 Date: Thu, 7 Nov 2024 17:39:11 +0530 Subject: [PATCH 2/5] [MOSIP-36836] added helm chart Signed-off-by: Rakshithb1 --- deploy/inji-verify-service/install.sh | 7 +++---- deploy/inji-verify-ui/install.sh | 3 +-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/deploy/inji-verify-service/install.sh b/deploy/inji-verify-service/install.sh index a6dd6d89..a7f55010 100644 --- a/deploy/inji-verify-service/install.sh +++ b/deploy/inji-verify-service/install.sh @@ -16,8 +16,8 @@ function installing_inji-verify-service() { echo Istio label kubectl label ns $NS istio-injection=enabled --overwrite - #helm repo add mosip https://mosip.github.io/mosip-helm - #helm repo update + helm repo add mosip https://mosip.github.io/mosip-helm + helm repo update echo Copy configmaps ./copy_cm.sh @@ -37,8 +37,7 @@ function installing_inji-verify-service() { fi echo Installing inji-verify-service - helm -n $NS install inji-verify-service /d/inji-verify/helm/inji-verify-service --version $CHART_VERSION $ENABLE_INSECURE - #helm -n $NS install inji-verify-service mosip/inji-verify-service --version $CHART_VERSION $ENABLE_INSECURE + helm -n $NS install inji-verify-service mosip/inji-verify-service --version $CHART_VERSION $ENABLE_INSECURE kubectl -n $NS get deploy -o name | xargs -n1 -t kubectl -n $NS rollout status diff --git a/deploy/inji-verify-ui/install.sh b/deploy/inji-verify-ui/install.sh index 873180b2..dcd34e89 100644 --- a/deploy/inji-verify-ui/install.sh +++ b/deploy/inji-verify-ui/install.sh @@ -53,8 +53,7 @@ function installing_inji-verify-ui() { INJIVERIFY_HOST=$(kubectl get cm global -o jsonpath={.data.mosip-injiverify-host}) echo Installing INJIVERIFY - # helm -n $NS install inji-verify-ui mosip/inji-verify-ui \ - helm -n $NS install inji-verify-ui /d/inji-verify/helm/inji-verify-ui \ + helm -n $NS install inji-verify-ui mosip/inji-verify-ui \ --set istio.hosts\[0\]=$INJIVERIFY_HOST \ --version $CHART_VERSION From 9f66285be8043543b589a97b091a6d8dd59f4b5b Mon Sep 17 00:00:00 2001 From: Rakshithb1 Date: Thu, 7 Nov 2024 17:43:55 +0530 Subject: [PATCH 3/5] [MOSIP-36836] added helm chart Signed-off-by: Rakshithb1 --- deploy/inji-verify-ui/install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/deploy/inji-verify-ui/install.sh b/deploy/inji-verify-ui/install.sh index dcd34e89..98308909 100644 --- a/deploy/inji-verify-ui/install.sh +++ b/deploy/inji-verify-ui/install.sh @@ -23,11 +23,11 @@ else fi fi - CHK_MOSIP_INJIVERIFY_HOST=$( nslookup "$MOSIP_INJIVERIFY_HOST" ) - if [ $? -gt 0 ]; then - echo "InjiVERIFY Host does not exists; EXITING;" - exit 0; - fi +CHK_MOSIP_INJIVERIFY_HOST=$( nslookup "$MOSIP_INJIVERIFY_HOST" ) +if [ $? -gt 0 ]; then + echo "InjiVERIFY Host does not exists; EXITING;" + exit 0; +fi echo "MOSIP_INJIVERIFY_HOST is not present in configmap/global of configserver" # Add injiverify host to global From 412e29b7579a2883f854874529f616b247ac771d Mon Sep 17 00:00:00 2001 From: Rakshithb1 Date: Thu, 7 Nov 2024 17:46:54 +0530 Subject: [PATCH 4/5] [MOSIP-36836] added helm chart Signed-off-by: Rakshithb1 --- helm/inji-verify-ui/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/inji-verify-ui/Chart.yaml b/helm/inji-verify-ui/Chart.yaml index db14ccce..826a568d 100644 --- a/helm/inji-verify-ui/Chart.yaml +++ b/helm/inji-verify-ui/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -name: inji-verify +name: inji-verify-ui description: A Helm chart for MOSIP injiverify module type: application version: 0.0.1-develop From 1775b3e1ab83f4cd8118e6185340c56feed19e06 Mon Sep 17 00:00:00 2001 From: Rakshithb1 Date: Thu, 7 Nov 2024 17:49:23 +0530 Subject: [PATCH 5/5] [MOSIP-36836] added helm chart Signed-off-by: Rakshithb1 --- helm/inji-verify-service/Chart.yaml | 2 +- helm/inji-verify-ui/Chart.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/inji-verify-service/Chart.yaml b/helm/inji-verify-service/Chart.yaml index 5ef45e04..ea07e0dd 100644 --- a/helm/inji-verify-service/Chart.yaml +++ b/helm/inji-verify-service/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: inji-verify-service -description: A Helm chart for MOSIP inji-verify-service module +description: A Helm chart for MOSIP inji verify service module type: application version: 0.0.1-develop appVersion: "" diff --git a/helm/inji-verify-ui/Chart.yaml b/helm/inji-verify-ui/Chart.yaml index 826a568d..84de67ac 100644 --- a/helm/inji-verify-ui/Chart.yaml +++ b/helm/inji-verify-ui/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: inji-verify-ui -description: A Helm chart for MOSIP injiverify module +description: A Helm chart for MOSIP inji verify ui module type: application version: 0.0.1-develop appVersion: ""