-
Notifications
You must be signed in to change notification settings - Fork 110
Upgrade to Vault 0.10.0 #290
Comments
Any updates on this? |
@hasbro17 as the adjustments of the image are minimal, wouldn't it be feasible to add those two adjustments to the startup command and use the official docker vault image? - command:
- sh
- -c
- apk --no-cache add curl && setcap cap_ipc_lock=+ep $(readlink -f $(which vault)) && exec /bin/vault server -config=/run/vault/config/vault.hcl This would make it unnecessary to maintain your own vault image. happy to create a pull request if this is an acceptable approach. |
@hasbro17 @kesselborn seems like a good option. |
By installing curl into the vault image at initialization, we don't need to have a customized vault image, and can track upstream. This commit also upgrades to vault 0.10.2 and enables the (new) ui closes coreos#290
Are there any updates on this? |
@rblaine95 @kesselborn try to did the manual mods explained in the PR but not sure how to recompile the operator after the changes |
bash hack/build
mv _output hack
docker build -t $REPO/vault-operator:$VERSION hack/ |
@rblaine95 nice I did that and it worked even though it explodes with some error...
How do I make the deployment use the Image I build locally, or I don't need to do that? Apparently what I am building is the vault-operator image, I thought the idea was to use the Vault Docker-hub image and just pull it with diff arguments. |
The code block I commented is what is needed to compile the vault-operator and build a docker image locally. ### begin snippet
spec:
serviceAccountName: etcd-operator
containers:
- name: etcd-operator
image: $REPO/vault-operator:$VERSION ### Your custom operator image here
command:
- etcd-operator
- "--create-crd=false"
env:
### end snippet It's likely you're building |
@rblaine95 I try to do that and find out this error: Any help is MUCH appreciated!
|
@rblaine95
this is the file |
@ficofer, development on this repository has stalled heavily (#332) Edit: |
@rblaine95 I understand I will check bank-vaults. So the error make sense? Whats the best way to work around it in your opinion? |
Don't use the Use the |
@rblaine95 and What I am doing is update the vault-operator image not the etcd-operator images correct ? |
Yes |
Any update on this? |
Vault 0.10.0 has been out for a while and the default Vault base image used by the operator needs to be updated to 0.10.0.
The vault-operator by default uses a slightly modified base image(with the curl utility added for health checking) and is currently quite behind at v0.9.1
https://quay.io/repository/coreos/vault
The text was updated successfully, but these errors were encountered: