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

Trusted cluster resource name == cluster name #1543

Closed
klizhentas opened this issue Jan 4, 2018 · 0 comments
Closed

Trusted cluster resource name == cluster name #1543

klizhentas opened this issue Jan 4, 2018 · 0 comments
Assignees

Comments

@klizhentas
Copy link
Contributor

Description

It is very confusing that trusted cluster resource name could be different from the actual cluster name, so we will migrate the existing trusted cluster resources to be named as remote clusters and will enforce the trusted cluster resource name to be == to cluster name.

As a part of this we can relax specifying trusted cluster resource name during creation, because we can auto name the resource.

If user creates

kind: trusted_cluster
spec:
   dial_addr: 
   token: 

the name will be auto assigned from the cluster name.

If users do stick a name there print a warning that name will be ignored.

@klizhentas klizhentas added this to the 2.5.0 milestone Jan 4, 2018
klizhentas added a commit that referenced this issue Jan 12, 2018
Enforce trusted cluster resource name, fixes #1543
@klizhentas klizhentas mentioned this issue Feb 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants