replicatedhq / replicatedhq/kots

kots pull should use local kubeconfig when rendering templates

Open
#591 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
950
Forks
98
Avg merge
1d 36m
Merged PRs (30d)
31

Description

When running kots pull, there's no in-cluster config, and we should respect the genericclioptions that are present or passed into the kots command when rendering temlates (namespace, etc)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the kots pull command and trace how its genericclioptions are passed into template rendering. Verify that rendering uses the local kubeconfig and respects options such as namespace when no in-cluster configuration is available; done means kots pull renders templates with those values.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.