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

Vault MVP #1353

Merged
merged 43 commits into from
Jun 26, 2020
Merged

Vault MVP #1353

merged 43 commits into from
Jun 26, 2020

Conversation

erzetpe
Copy link
Contributor

@erzetpe erzetpe commented Jun 15, 2020

This is version MVP of Hashicorp Vault with Kubernetes integration

@erzetpe erzetpe added this to the Hashicorp Vault milestone Jun 15, 2020
@erzetpe erzetpe marked this pull request as ready for review June 17, 2020 13:46
sk4zuzu
sk4zuzu previously approved these changes Jun 18, 2020
mkyc
mkyc previously requested changes Jun 19, 2020
log_and_print "Vault is already unsealed. Nothing to do.";
elif [ "${command_result[1]}" = "1" ] ; then
log_and_print "Unsealing Vault...";
grep --max-count=3 Unseal "$init_file_path" | awk '{print $4}' | while read -r line ; do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Magic number. init should be called with value and it should be passed here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will be done after MVP.

VAULT_PROTOCOL="${3:?missing argument}";

PATH=$VAULT_INSTALL_PATH/bin:/usr/local/bin:$PATH;
export VAULT_ADDR="$VAULT_PROTOCOL://$VAULT_IP:8200"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

port hard coded

@to-bar to-bar force-pushed the feature/vault-mvp branch 2 times, most recently from fe12336 to 30d2cfb Compare June 19, 2020 20:58
@mkyc
Copy link
Contributor

mkyc commented Jun 22, 2020

@erzetpe can you please also link issues related to this PR?

@ar3ndt ar3ndt force-pushed the feature/vault-mvp branch from 30d2cfb to d9e5a84 Compare June 22, 2020 09:59
seriva
seriva previously approved these changes Jun 22, 2020
@erzetpe erzetpe dismissed mkyc’s stale review June 26, 2020 11:01

Changes requested here will be done after MVP.

@erzetpe erzetpe merged commit c5a788e into develop Jun 26, 2020
@erzetpe erzetpe deleted the feature/vault-mvp branch June 26, 2020 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants