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

Unable to enable/disable a Trusted Cluster #1751

Closed
russjones opened this issue Mar 7, 2018 · 1 comment
Closed

Unable to enable/disable a Trusted Cluster #1751

russjones opened this issue Mar 7, 2018 · 1 comment

Comments

@russjones
Copy link
Contributor

Problem

If you attempt to disable a Trusted Cluster after creating it, it can never be enabled again.

Reproduction

First create a Trusted Cluster relationship:

kind: trusted_cluster
version: v1
metadata:
   name: "example.com"
spec:
   enabled: true
   token: "bar"
   tunnel_addr: 127.0.0.1:3024
   web_proxy_addr: 127.0.0.1:3080

then disable it:

kind: trusted_cluster
version: v1
metadata:
   name: "example.com"
spec:
   enabled: false
   token: "bar"
   tunnel_addr: 127.0.0.1:3024
   web_proxy_addr: 127.0.0.1:3080

and re-enable it:

kind: trusted_cluster
version: v1
metadata:
   name: "example.com"
spec:
   enabled: true
   token: "bar"
   tunnel_addr: 127.0.0.1:3024
   web_proxy_addr: 127.0.0.1:3080

The reverse tunnel is not re-established and this is the last line you see in the logs of the Trusted Cluster.

DEBU [TRUSTED CLUSTER] Enabling existing Trusted Cluster relationship. auth/trustedcluster.go:59
@russjones
Copy link
Contributor Author

Fixed in #1752.

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

1 participant