kubeshop / vscode-monokle

An extension for Visual Studio Code to validate your Kubernetes configuration
https://marketplace.visualstudio.com/items?itemName=kubeshop.monokle
MIT License
6 stars 0 forks source link

Make it easy to configure the policy in Monokle Cloud #27

Open olensmar opened 1 year ago

olensmar commented 1 year ago

As a user I want to configure the policy for my repo - to that end there should be an easy way/flow to

f1ames commented 1 year ago

Some ideas:

  1. Introduce new command, like Monokle: Create remote policy which when run will navigate to Monokle Cloud policy view (for related project if we are able to detect it).
  2. Utilize existing commands:
    • Monokle: Bootstrap configuration (maybe with some renaming) - either it creates local file or when user is authenticated it navigates to Cloud.
    • Monokle: Show configuration - same as above, either opens local file or when user is authenticated it will navigate to Monokle Cloud policy view.
  3. Dedicated UI element (in status bar, SARIF panel or left bar).

For the 2nd proposal, discoverability can be a bit worse since user needs to be authenticated first.

olensmar commented 1 year ago

thanks @f1ames ! I think I prefer the first suggestion - we can perhaps guide them through creating a project for the repo if none exists!?

f1ames commented 1 year ago

thanks @f1ames ! I think I prefer the first suggestion

👍

  • we can perhaps guide them through creating a project for the repo if none exists!?

Do you mean, to guide them on VSC side or as a part of Monokle Cloud UI, after user navigates there?

olensmar commented 1 year ago

in Monokle Cloud.. this could require a separate onboarding flow since they might not have a cloud account - i'll create a corresponding issue!