Giter VIP home page Giter VIP logo

open-cluster-management-io / ocm-vscode-extension Goto Github PK

View Code? Open in Web Editor NEW
6.0 4.0 10.0 13.9 MB

OCM VScode Extension is a UI tool for creating and managing OCM related Kubernetes resources

Home Page: https://marketplace.visualstudio.com/items?itemName=OpenClusterManagement.ocm-vscode-extension

License: Apache License 2.0

TypeScript 98.97% HTML 0.40% JavaScript 0.63%
vscode k8s open-cluster-management

ocm-vscode-extension's People

Contributors

akram avatar ilan-pinto avatar ilonashishov avatar qiujian16 avatar tomerfi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ocm-vscode-extension's Issues

Create Local Environment request cannot be aborted/canceled during configuration stage

Reproduce issue:
Click on the Create Local Environment button, an action container will prompt you to choose between default or custom configuration, press Esc on your keyboard.

Behavior:
Pressing the Esc key at any point during this stage will forcefully create a default or partially configured environment anyway and will not abort/cancel request.

Manifest work smart snippet

Manifest work is an essential component of open cluster management.
This feature will help the user to compose a Manifest work CR.
By asking a few questions before generating the CR

Policy management smart Snippet

Policy Management is an essential component of open cluster management.
This feature will help the user to compose a policy easily CR.
By asking a few questions before generating

  • should I place the policy in the policy folder? (if there is no folder, create one)
  • Name of the policy
  • Type of policy (configuration, IAM ... ) - * the one that OCM supports
  • Kind - the resources to apply the policy (pod, service, namespace ... )

tree view refresh button doesn't work

steps

  • create a kind cluster
  • open tree view
  • delete the kind cluster
  • click on the refresh button

Result: delete cluster should not appear.
Expected: deleted cluster shouldn't appear

Note:
the expected result is relevant mainly for a local Kind cluster.
I am not sure we will be able to achieve that with a remote cluster.

Update dependencies

We don't use dependabot and it's been a while since we updated our dependencies.

Upgrade CI node version

Currently, our CI workflows uses Node 16, we need to bump this to he current LTS version, 18.

Update snippets and templates

Updating the snippets and templates technically means updating the versions and validating existing annotations and spec keys based on the updated CRDs.

But I think we're currently missing some spec keys and annotations that might be helpful to users and perhaps worth adding to the snippets and templates, so this all can be part of this task and can be divided to multiple PRs for multiple developers.

We can use this issue to track links to CRDs we're working with and discuss what we want to include in the snippets and templates.

add labels to managed clusters from UI

Business case

User would like to mark managed clusters differently based on type or location e.g Dev/Prod
and show those labels in the web UI

proposal

Enable the option to add labels to managed clusters from UI.

Run all tests from sandbox

Currently we run tests that access vscode as integration tests inside vscode-electron's sandbox using mocha.

Tests that do not require vscode, run as standard unit tests with mocha.

After recent features and modifications, keeping this separation doesn't make sense anymore.
We need to run all tests from within the sandbox.

Bootstrap OCM feature (instead of the current Create local environment)

Current feature

the Create local environment button is deploying OCM on local kind clusters

Suggested

support bootstrapping both local and remote env

  • Change the button name to Create environment or Bootstrap OCM (instead of the current Create local environment)
  • After clicking, users will be asked: Create new clusters using Kind?
    • Yes, we go on exactly like we do today.
    • No, we'll present a list of the current contexts from kubeconfig. Users will select one context for the hub and one-to-many contexts for the spokes.

Note:
We already decided that we won't offer kubeconfig contexts management. OCM extension relies on existing mechanism

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.