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

storage consul - enforce service regex or (RFC 1123) #3960

Closed
latchmihay opened this issue Feb 12, 2018 · 0 comments
Closed

storage consul - enforce service regex or (RFC 1123) #3960

latchmihay opened this issue Feb 12, 2018 · 0 comments
Assignees
Milestone

Comments

@latchmihay
Copy link

When using storage consul you can specify service name. That service name should be following the RFC 1123 or at least a similar regex.

This check is already in place for nomad service checks
* service name must be valid per RFC 1123 and can contain only alphanumeric characters or dashes: "blabla_vault")

Environment:

All

Vault Config File:

storage "consul" {
  address = "127.0.0.1:8500"
  path = "blabla_vault"
  service = "blabla_vault"
  redirect_addr = "https://10.10.10.10:8200"
}

Startup Log Output:

Expected Behavior:

Actual Behavior:

Steps to Reproduce:

Important Factoids:

References:

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

No branches or pull requests

2 participants