Skip to content

Commit

Permalink
Merge pull request #99 from abhishek8shankar/release-0.9.x
Browse files Browse the repository at this point in the history
[DSD-6338] Updated Values.yaml
  • Loading branch information
vishwa-vyom authored Sep 27, 2024
2 parents d7bc455 + 2f07d0f commit 53cbd16
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions helm/inji-certify/copy_cm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ 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 inji-config-server-share config-server $DST_NS
$COPY_UTIL configmap softhsm-certify-share softhsm $DST_NS
return 0
}
Expand All @@ -19,4 +19,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
copying_cm # calling function
copying_cm # calling function
4 changes: 2 additions & 2 deletions helm/inji-certify/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ function installing_inji-certify() {
echo Copy secrets
./copy_cm_func.sh secret softhsm-certify softhsm config-server

kubectl -n config-server set env --keys=mosip-injicertify-host --from configmap/global deployment/config-server --prefix=SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_
kubectl -n config-server set env --keys=security-pin --from secret/softhsm-certify deployment/config-server --prefix=SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_SOFTHSM_CERTIFY_
kubectl -n config-server set env --keys=mosip-injicertify-host --from configmap/global deployment/inji-config-server --prefix=SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_
kubectl -n config-server set env --keys=security-pin --from secret/softhsm-certify deployment/inji-config-server --prefix=SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_SOFTHSM_CERTIFY_
kubectl -n config-server get deploy -o name | xargs -n1 -t kubectl -n config-server rollout status

echo Copy configmaps
Expand Down
2 changes: 1 addition & 1 deletion helm/inji-certify/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ extraEnvVarsCM:
- global
- inji-config-server-share
- artifactory-share
- softhsm-certitfy-share
- softhsm-certify-share

## Secret with extra environment variables
##
Expand Down

0 comments on commit 53cbd16

Please sign in to comment.