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

Validate Consul Namespace in Operator Token when using Connect w/ ACLs #6941

Closed
shoenig opened this issue Jan 15, 2020 · 2 comments
Closed
Assignees
Labels
Milestone

Comments

@shoenig
Copy link
Member

shoenig commented Jan 15, 2020

As part of #6701, Nomad Server will need to be able to validate provided "operator" Consul tokens on job submissions for Connect jobs with Consul Namespaces (being released in Consul v1.7.2+ enterprise).

https://www.consul.io/docs/enterprise/namespaces/index.html

@shoenig shoenig self-assigned this Jan 15, 2020
@shoenig shoenig added theme/consul/connect Consul Connect integration type/enhancement labels Jan 15, 2020
@shoenig shoenig added this to the 0.10.4 milestone Jan 15, 2020
@schmichael schmichael modified the milestones: 0.10.4, 0.10.3 Jan 30, 2020
@shoenig
Copy link
Member Author

shoenig commented Jan 31, 2020

Namespaces help reduce operational challenges by removing restrictions around uniqueness of resource names across distinct teams, and enable operators to provide self-service through delegation of administrative privileges.

As a point of clarification, Consul Namespaces enable the namespacing of Consul ACL objects - namely roles, policies, and tokens. Things like service definitions or the KV space aren't themselves "namespaced" - they're still managed through the ACL policy definitions as usual. I don't think there's anything special Nomad needs to do to work with Consul Namespaces, since we validate against the service ACL policy definitions associated with a given operator token on job submission / update. The namespace of the supplied token and the roles / policies backing it up aren't relevant.

@shoenig shoenig closed this as completed Jan 31, 2020
@github-actions
Copy link

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants