-
Notifications
You must be signed in to change notification settings - Fork 2
P4: Custos Deployment Custos Deployment Step 3 4
anbadrin edited this page May 6, 2022
·
3 revisions
- Run the following command to install hashicorp vault
helm install vault hashicorp/vault --namespace vault -f values.yaml --version 0.10.0
- Modify the host name in the ingress.yaml file as below
- Run the yaml file using the below commands
kubectl apply -f ingress.yaml -n vault
- Wait for sometime and run the below command to check if the certificate is true
kubectl get certificate -n vault
- Once the certificate is true, check if all the pods are up using the following command
kubectl get all -n vault
The output should look like the following screenshot
- After this step, we can verify if the vault is working by checking the url:
https://js-157-10.jetstream-cloud.org/ui/vault/init
Modify the host name with your host name
- Enter the
key stores
values as5
andkey threshold
value as3
and initialize
- Click on continue to unseal
You will get a json in the following format:-
{
"keys": [
],
"keys_base64": [
],
"root_token": ""
}
- Copy the first key, second key and third key in order and unseal them one at a time
- After the keys are used to unseal, enter the token from the above json to login
- The pod-vault-0 should now be running. This can be verified by the following command.
kubectl get all -n vault