Skip to content

pkg/k8sclient: Add support for running out-of-cluster #220

Closed
fanminshi wants to merge 1 commit intooperator-framework:masterfrom
fanminshi:andersjanmyr-add_out_of_cluster_support
Closed

pkg/k8sclient: Add support for running out-of-cluster #220
fanminshi wants to merge 1 commit intooperator-framework:masterfrom
fanminshi:andersjanmyr-add_out_of_cluster_support

Conversation

@fanminshi
Copy link
Copy Markdown
Contributor

@fanminshi fanminshi commented May 2, 2018

I like to be able to test locally before I deploy to the cluster. This PR allows this through an environment variable.

# Test the app-operator locally by setting KUBERNETES_CONFIG
$ KUBERNETES_CONFIG=~/.kube/config go run cmd/app-operator/main.go

ref: #142

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants