Giter VIP home page Giter VIP logo

subshell / o-neko Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 3.0 10.84 MB

O-Neko lets everyone preview and try out new features of your software by creating on-demand test environments for feature branches. O-Neko is Kubernetes-native and allows for flexible project configurations via Helm charts.

Home Page: https://subshell.github.io/o-neko/

License: Apache License 2.0

Dockerfile 0.14% TypeScript 29.33% JavaScript 0.27% HTML 12.02% Java 52.79% SCSS 5.44%
kubernetes deployment-automation docker development-workflow cats helm-automation k8s helm

o-neko's Issues

Helm Registries can not be editied

I just stumbled upon this:
Once a helm registry is added it can no longer be modified (at least when you try to modify username and password).

The browser-log reveals this answer:
Error while interacting with helm registry BASEURL/chartrepo/sophora (sophora): Error: repository name (sophora) already exists, please specify a different name

While adressing this issues: This might be a good chance to give docker registries a better icon than this weird cowboy hut.

Distinguish readable and writable entities

O-Neko currently has a number of Java-Model-Classes (Project, DockerRegistry, etc...), but they are all always mutable.
I'd propose to have a readable and a writable version of each.
Of course they should offer methods to convert to the other type.
Based upon this two things can be achived:

  • Write a caching layer on model level
  • Have a in-memory-repo implementations (handy for unit-tests and a spring-profile without actual DB)

helm support

Add support for helm charts and remove the old way of editing kubernetes resources directly in O-Neko.
A project version should therefore only contain a values.yaml.

SelectVariables should select the current value when in the editing view

When a select variable has a value it should show as selected in the editing view. Currently the select-value shows as empty. The values are correctly visible on the dashboard.

Buggy edit view:
edit-view-bug

Correct dashboard view:
dashboard-ok

Edit: Apparently sometimes it works, though whether it works depends on the version. I could not find obvious similarities between the working or broken versions though.

Passwords can not be changed

Currently it is not possible to change a user's password because the authentication property in the object is not modification aware and does not cause the user to be dirty. Thus, the repository does not update the user in the database.

The login parameters should be encoded correctly in the login request

Currently it is impossible to login with passwords using specific special characters because the form data is not correctly URL encoded.

This can be tested e.g. by using this as a password: djx+x2XeoZ98QvNjVQaCCYEVexGQCqfxND*jdjfVVo

AC:

  • The login request parameters should be correctly encoded
  • Other requests we initiate should also be checked for encoding errors

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.