https://pulumi.com logo
Title
g

glamorous-family-11920

05/02/2023, 8:44 PM
what is the easiest way to require setting kubetnetes:context in config?
h

hallowed-photographer-31251

05/02/2023, 8:59 PM
quick and dirty:
new Config("kubernetes").require("context")
similar but maybe not quite what you’re looking for, i always use
pulumi:disable-default-providers: 
  - kubernetes
(docs) which then forces an explicit provider everywhere (instantiated with context or similar).