diff --git a/deploy/inji-certify/install.sh b/deploy/inji-certify/install.sh index b5feedc5..9fb5649d 100755 --- a/deploy/inji-certify/install.sh +++ b/deploy/inji-certify/install.sh @@ -39,6 +39,7 @@ function installing_inji-certify() { echo Copy secrets ../copy_cm_func.sh secret softhsm-certify softhsm config-server + ../copy_cm_func.sh secret softhsm-certify softhsm $NS 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_ diff --git a/helm/inji-certify/values.yaml b/helm/inji-certify/values.yaml index 7a1610b6..8757771c 100644 --- a/helm/inji-certify/values.yaml +++ b/helm/inji-certify/values.yaml @@ -240,7 +240,12 @@ updateStrategy: ## - name: FOO ## value: "bar" ## -extraEnvVars: [] +extraEnvVars: | + - name: MOSIP_KERNEL_KEYMANAGER_HSM_KEYSTORE_PASS + valueFrom: + secretKeyRef: + name: softhsm-certify + key: security-pin ## ConfigMap with extra environment variables that used ##