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

Allow overriding VAULT_API_ADDR #290

Merged
merged 1 commit into from
Jul 14, 2020
Merged

Conversation

lawliet89
Copy link
Contributor

@lawliet89 lawliet89 commented May 6, 2020

According to the documentation, this setting is used for client redirection, and also the default issuer for the Identity OIDC token.

I am guessing that this address should thus be accessible via all clients, including those not inside the Kubernetes Cluster.

  • The TLS certificate issued for Vault will probably not include the pod IP address since the pod IP addresses cannot be chosen.
  • Pod IP addresses might not be accessible to clients outside the cluster.

This PR proposes allowing the user to override the setting if they desire.

I have previously set this to something that is not the Pod IP and I have not experienced problems. The setting is not very well explained and so I am not sure if this affects anything.

@jasonodonnell jasonodonnell self-requested a review May 21, 2020 15:59
Copy link
Contributor

@jasonodonnell jasonodonnell left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @lawliet89 !

@jasonodonnell jasonodonnell merged commit 85b5269 into hashicorp:master Jul 14, 2020
@lawliet89 lawliet89 deleted the api-addr branch July 14, 2020 22:41
@jasonodonnell jasonodonnell mentioned this pull request Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants