pulumi / pulumi-kubernetes-operator

A Kubernetes Operator that automates the deployment of Pulumi Stacks
Apache License 2.0
218 stars 55 forks source link

vscode project files #491

Closed EronWright closed 11 months ago

EronWright commented 12 months ago

This PR contributes a basic vscode project configuration for ease of use. The gitignore is derived from here (same as here).

Proposed changes

The project files do the following:

  1. Configure the default Build Task (⇧⌘B) to run make build.
  2. Configure the default Test Task to run make test.
  3. Install a Launch Configuration to run cmd/manager in the debugger.
  4. Recommend some vscode extensions when the project is opened (Go, Kubernetes).

~Also, introduces an (undocumented) environment variable to skip leader election, for dev purposes: DISABLE_LEADER_ELECTION=true.~

https://github.com/pulumi/pulumi-kubernetes-operator/assets/1775518/278d3248-7d5d-47b5-a8d5-b2420d5e43f0