๐ก Legacy Vault Helm Deployment on Kubernetes โ Executive Summary
Technical architectural analysis, practical configuration manifests, and deployment instructions for Legacy Vault Helm Deployment on Kubernetes.
1. vault
Modify mdware-helm/scripts/vault/transit-vault-deploy.sh, service-vault-deploy.sh
When node select is required
shell
#nodeSelector ์
๋ ฅ์ด ์ ๋จนํ์ ์ง์ chart์ ๋ค์ด๊ฐ์ ์์ ํด์ผํจ
#node label
kubectl edit node {{ worker-node }}
label: nodetype=infra
#chart/vault/values.yaml ์์
nodeSelector:
nodetype: infra
Installation Procedure
-
scripts/init/transit-vault-injector-pvc.yaml, service-vault-injector-pvc.yaml files
Run through k apply -f command
-
transit-vault-deploy.sh deploy
- transit-vault-unseal.sh > Confirm file creation
- In service-vault-deploy.sh, change CONF_SET to 1 and remove two server.service.* entries
- service-vault-deploy.sh deploy
- If you confirm that it has been uploaded, revert to step 4 (change to 0 and insert again)
- service-vault-deploy.sh upgrade (You can ignore the error message)
- service-vault-unseal.sh > Check the token value when it appears
2. Create secret
3. Install safe on k8s-master-1
bash
wget https://github.com/Qarik-Group/safe/releases/download/v1.7.0/safe-linux-amd64
cp safe-linux-amd64 /bin/safe
chmod 777 /bin/safe
4. safe
shell
safe target http://{ vault-activeClusterIP:PORT } vault
safe auth # vault token ์
๋ ฅ
safe env
safe import < { vault_data_json_file }
safe tree




Leave a Reply