Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INJICERT-657] Added some deployment changes #158

Merged
merged 2 commits into from
Dec 18, 2024
Merged
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
1 change: 1 addition & 0 deletions deploy/inji-certify/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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_
Expand Down
7 changes: 6 additions & 1 deletion helm/inji-certify/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
##
Expand Down
Loading