replicatedhq / replicatedhq/kots
kots pull should use local kubeconfig when rendering templates
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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