Giter Club home page Giter Club logo

capacitor's People

Contributors

dzsak avatar laszlocph avatar pilu84 avatar stefanprodan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

capacitor's Issues

feat: force reconcile

Ability to force a reconciliation of a kustomization/source or helm release.

flux reconsile

feat: Handle "Reconciling" condition

Right now if a HelmRelease is reconcinling, we show it as if it would be in an error state
image

We should look for this condition and introduce a reconciling widget state accordingly.

bug: `forbidden: User \"system:serviceaccount:flux-system:capacitor\" cannot patch resource \"ocirepositories\" in API group \"source.toolkit.fluxcd.io\"`

Cannot force reconcile due to RBAC issues

[capacitor-7d4f94bbb-s5zfv/capacitor] time="2024-02-07T12:04:36Z" level=info msg="annotating OCIRepository capacitor in flux-system namespace"

[capacitor-7d4f94bbb-s5zfv/capacitor] time="2024-02-07T12:04:36Z" level=error msg="ocirepositories.source.toolkit.fluxcd.io \"capacitor\" is forbidden: User \"system:serviceaccount:flux-system:capacitor\" cannot patch resource \"ocirepositories\" in API group \"source.toolkit.fluxcd.io\" in the namespace \"flux-system\""

feat: Display Flux Runtime pods

The task is to display Flux deployments in the footer with the Logs and Describe button.

We should make a custom (simplified version of the Service.jsx) component to display the pods on the panel.

image

chore: Performance optimization

Capacitor loads in 16 seconds in a cluster with 20 HelmRelease, 49 Kustomization and 150 deployed services.
Capacitor loads in 110 seconds in a cluster with ~50 HelmRelease, ~300 Kustomization and ~500 deployed services.

Ideas:

  • filter on the backend, make namespace selector mandatory
  • load by data type: service list, pods, configmaps etc. With skeleton loader
  • or both of the above

feat: Interlinking

There are places where we show GitRepositories, Kustomizations and HelmReleases in widgets.

The goal is that if the user clicks this widget, the GitRepo / Kustomization / HelmRelease is shown in the footer.

feat: Support HelmReleases

feat: support annotations for service catalog meta data

People use Kubernetes annotations to store meta data on deployed services.

Gimlet favors https://github.com/laszlocph/osca annotations, but Capacitor should have a configuration option to support any set of annotations.

There are two types of metadata according to Capacitor:

  • Annotations to determine the deployed version

    • An annotation that shows what source code version is deployed v1alpha1.opensca.dev/version.sha
    • In what repository: v1alpha1.opensca.dev/vcs.owner and v1alpha1.opensca.dev/vcs.name
    • With a direct link to the version: v1alpha1.opensca.dev/version.link
  • Annotations that hold external links
    Annotations like in https://github.com/laszlocph/osca#external-references
    This is an arbitrary map of on-screen labels and annotations names in the Capacitor configuration, so Capacitor can render it.

feat: keep "ago" timestamps up to date

We display relative dates, like a deploy happened "1 minute ago".
But this is only refreshed on page load.

We need to keep them up to date. Maybe with a timer that has a tick to keep these up to date.
Probably there is a react solution to this other then rerender the whole page.

docs: installing the Flux way

Let's add installation steps that are using a HelmRelease resource and pushed to an OCI repository.

This way installation is adding a Kustomization resource that points to the OCI repository.

feat: Display dependencies

  • List ConfigMaps and Secrets that are referenced from a deployment.
Screenshot 2023-12-29 at 08 44 34
  • Once the user clicks them, open an overlay where the output of the kubectl describe configmap/secret xx command is shown.

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.