Skip to content

helm: Fail to install if clusterName contains a colon#26615

Merged
webvictim merged 4 commits intomasterfrom
gus/helm/validate-cluster-name
May 25, 2023
Merged

helm: Fail to install if clusterName contains a colon#26615
webvictim merged 4 commits intomasterfrom
gus/helm/validate-cluster-name

Conversation

@webvictim
Copy link
Copy Markdown
Contributor

A discussion on the community slack showed me that a user was specifying clusterName: teleport.example.com:443 in their values. This works, weirdly, but breaks the templating of the cluster's public address and causes tsh app config, tsh app login and associated curl commands to fail on v13.

The reason is that the user thought they needed to specify :443 on the end of the clusterName for their load balancer. This seems like a simple footgun we can encourage people to avoid.

@hugoShaka
Copy link
Copy Markdown
Contributor

Can we also backport it to v12? :)

@webvictim
Copy link
Copy Markdown
Contributor Author

I don't see why not!

@webvictim webvictim enabled auto-merge May 25, 2023 02:16
@webvictim webvictim added this pull request to the merge queue May 25, 2023
Merged via the queue into master with commit a005cde May 25, 2023
@webvictim webvictim deleted the gus/helm/validate-cluster-name branch May 25, 2023 22:40
@public-teleport-github-review-bot
Copy link
Copy Markdown

@webvictim See the table below for backport results.

Branch Result
branch/v12 Create PR
branch/v13 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants