vault-operator
vault-operator copied to clipboard
deploying vault using vault-operator
Is this project still active? i see no issues after Apr 2019 for this project. I am trying to setup vault in kubernetes, unfortunately I could not deploying using vault-helm then landed here to use vault-operator and able to deploy the vault-operator and there are no issue/error message but example vault is not showing the status in the service section. I do not know how to access the vault URL and start using it.
if this project active, I shall post the output of vault-operator to understand better about my issue.
Here is the status of what I have done so far. The vault is not initialized. And in my k8s cluster, i can only get the external IP using servicetype LoadBalancer, so how to make this vault to use the servicetype Loadbalancer to get the external IP.
/github/vault-operator# kubectl get pods NAME READY STATUS RESTARTS AGE etcd-operator-f59c5ddc9-zh2hr 1/1 Running 0 32m vault-operator-7985d585d7-kx6jm 1/1 Running 0 31m
~/github/vault-operator# kubectl get service
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
example ClusterIP 10.100.200.51
~/github/vault-operator# kubectl get vault example -n vault -o json | jq .status { "clientPort": 8200, "initialized": false, "phase": "Running", "serviceName": "example", "vaultStatus": { "active": "", "sealed": null, "standby": null } }
ERROR: logging before flag.Parse: I1203 16:07:25.007388 1 leaderelection.go:184] successfully acquired lease vault/vault-operator time="2019-12-03T16:07:25Z" level=info msg="starting Vaults controller" time="2019-12-03T16:07:25Z" level=info msg="Event(v1.ObjectReference{Kind:"Endpoints", Namespace:"vault", Name:"vault-operator", UID:"fecf1ffb-15e6-11ea-b650-005056bbf202", APIVersion:"v1", ResourceVersion:"5933846", FieldPath:""}): type: 'Normal' reason: 'LeaderElection' vault-operator-7985d585d7-kx6jm became leader" time="2019-12-03T16:07:25Z" level=info msg="Vault CR (vault/example) is created" time="2019-12-03T16:09:06Z" level=error msg="error syncing Vault (vault/example): reconcile Vault failed: deploy etcd cluster failed: still failing after 10 retries"
Since CoreOS has been acquired by RedHat I don't think they are still maintaining this one...
It's a pity tho, could've been a good project.
Anyway, that doesn't stop you from forking the project and contributing 😄
this is the most advanced one https://github.com/banzaicloud/bank-vaults that I've come across and the team over there is amazing too which included my fav @bonifaido