gopaddle-io / configurator

Synchronize and Version Control ConfigMaps & Secrets across Deployment Rollouts.
Other
113 stars 45 forks source link

Unable to run local debug session. No command line argument to inform a local kubeconfig file. #32

Closed juliohm1978 closed 3 years ago

juliohm1978 commented 3 years ago

Current implementation does not allow developers to easily run a local instance to debug in IDEs, such as VSCode. The controller is only aware of in-cluster configuration.

Ideally, a command line argument could be provided to the controller so that a valid KUBECONFIG file could be used locally for development and debugging purposes.

./controller --kubeconfig=/path/to/my/kube.config