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

Post install automation #251

Closed
rohitrsh opened this issue Apr 6, 2020 · 4 comments
Closed

Post install automation #251

rohitrsh opened this issue Apr 6, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@rohitrsh
Copy link

rohitrsh commented Apr 6, 2020

Hi,

We have recently deployed vault on Kubernetes; the requirement was to setup end to end vault using helm and integrate with the LDAP backend.

Current, vault helm does not support any post-installation tasks. I have customised it the chart and added a post-installation script. Which is doing the following tasks for me

  • Checking vault is up and running.
  • Initialising the vault.
  • Unsealing the Vault
  • Enabling the LDAP auth backend
  • Writing the LDAP config.

All the above values can be enabled/disabled using values.yaml.

Let me know if you are planning to have such kind of solution in the chart. Would be happy to submit the PR

Thank You
Rohit Sharma

@jasonodonnell
Copy link
Contributor

PR welcome for postStart lifecycle additions! 💯

@rohitrsh
Copy link
Author

rohitrsh commented Apr 8, 2020

Closing this one as have created new PR for poststart configs

@rohitrsh rohitrsh closed this as completed Apr 8, 2020
@pcman312 pcman312 added the enhancement New feature or request label Apr 13, 2020
@rg13567
Copy link

rg13567 commented Nov 13, 2021

@rohitrsh I am looking for same solution where i can perform vault init ,unseal and ldap config as part of vault deployment with helm.
Can you please share how did you achieve it ?

@bakunowski
Copy link

@rohitrsh I am looking for same solution where i can perform vault init ,unseal and ldap config as part of vault deployment with helm. Can you please share how did you achieve it ?

You might want to take a look at this bootstrap script, which is being run in the postStart lifecycle hook as described in this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants