Skip to content

Quote KUBECONFIG output by tsh proxy kube#51509

Merged
rosstimothy merged 1 commit intomasterfrom
tross/quote_kube_config
Jan 27, 2025
Merged

Quote KUBECONFIG output by tsh proxy kube#51509
rosstimothy merged 1 commit intomasterfrom
tross/quote_kube_config

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

@rosstimothy rosstimothy commented Jan 27, 2025

The value of the kube config location is now explicitly quoted when the template is executed. This is similar to what other tools do, see https://github.com/lima-vm/lima/blob/ccd3c0cb9fdbef18ee82263a712ac8924a0deca8/templates/k3s.yaml#L64,

Closes #36455.

Changelog: Quote the KUBECONFIG environment variable output by the tsh proxy kube command

The value of the kube config location is now explicitly quoted
when the template is executed. This is similar to what other tools do,
see https://github.com/lima-vm/lima/blob/ccd3c0cb9fdbef18ee82263a712ac8924a0deca8/templates/k3s.yaml#L64,

Closes #36455.
@rosstimothy rosstimothy force-pushed the tross/quote_kube_config branch from 4cd6c53 to b9c50ba Compare January 27, 2025 19:27
@rosstimothy rosstimothy marked this pull request as ready for review January 27, 2025 19:48
@github-actions github-actions Bot added size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Jan 27, 2025
@github-actions github-actions Bot requested a review from eriktate January 27, 2025 19:49
@rosstimothy rosstimothy added this pull request to the merge queue Jan 27, 2025
Merged via the queue into master with commit c29ca33 Jan 27, 2025
@rosstimothy rosstimothy deleted the tross/quote_kube_config branch January 27, 2025 21:45
@public-teleport-github-review-bot
Copy link
Copy Markdown

@rosstimothy See the table below for backport results.

Branch Result
branch/v15 Failed
branch/v16 Failed
branch/v17 Create PR

rosstimothy added a commit that referenced this pull request Jan 27, 2025
The value of the kube config location is now explicitly quoted
when the template is executed. This is similar to what other tools do,
see https://github.com/lima-vm/lima/blob/ccd3c0cb9fdbef18ee82263a712ac8924a0deca8/templates/k3s.yaml#L64,

Closes #36455.
rosstimothy added a commit that referenced this pull request Jan 27, 2025
The value of the kube config location is now explicitly quoted
when the template is executed. This is similar to what other tools do,
see https://github.com/lima-vm/lima/blob/ccd3c0cb9fdbef18ee82263a712ac8924a0deca8/templates/k3s.yaml#L64,

Closes #36455.
github-merge-queue Bot pushed a commit that referenced this pull request Jan 28, 2025
The value of the kube config location is now explicitly quoted
when the template is executed. This is similar to what other tools do,
see https://github.com/lima-vm/lima/blob/ccd3c0cb9fdbef18ee82263a712ac8924a0deca8/templates/k3s.yaml#L64,

Closes #36455.
github-merge-queue Bot pushed a commit that referenced this pull request Jan 28, 2025
The value of the kube config location is now explicitly quoted
when the template is executed. This is similar to what other tools do,
see https://github.com/lima-vm/lima/blob/ccd3c0cb9fdbef18ee82263a712ac8924a0deca8/templates/k3s.yaml#L64,

Closes #36455.
carloscastrojumo pushed a commit to carloscastrojumo/teleport that referenced this pull request Feb 19, 2025
The value of the kube config location is now explicitly quoted
when the template is executed. This is similar to what other tools do,
see https://github.com/lima-vm/lima/blob/ccd3c0cb9fdbef18ee82263a712ac8924a0deca8/templates/k3s.yaml#L64,

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

Labels

backport/branch/v17 size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tsh proxy kube doesn't wrap KUBECONFIG in spaces

3 participants