Skip to content
Discussion options

You must be logged in to vote

I've worked around this by creating a temporary kubeconfig file with a current context referencing an non-existent cluster and pointing the KUBECONFIG environment variable to this file while the generator commands are being handled by KubeOps.

Here's what this looks like: (search for HandleGeneratorCommand):

https://github.com/nforgeio/neonKUBE/blob/master/Lib/Neon.Kube.Operator/OperatorHelper.cs

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@buehler
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@buehler
Comment options

Answer selected by jefflill
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants