Git Product home page Git Product logo

assisted-ui's People

Contributors

achuzhoy avatar ammont82 avatar andybraren avatar batzionb avatar betherly avatar cdvultur avatar celdrake avatar dantrainor avatar dependabot[bot] avatar eranco74 avatar filanov avatar flofuchs avatar hardengl avatar honza avatar irosenzw avatar jgyselov avatar jkilzi avatar knowncitizen avatar lalon4 avatar lveyde avatar mareklibra avatar maryshak1996 avatar mhrivnak avatar nmagnezi avatar nshidlin avatar osherdp avatar rawagner avatar razregev avatar russellb avatar ukalifon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

assisted-ui's Issues

The container will fail to properly work on any system that has IPv6 disabled

While working on the OKD we noticed that the container fails to start on our system.

The log gave us the following error:
nginx: [emerg] socket() [::]:8080 failed (97: Address family not supported by protocol)

Further searching showed that it's indeed a known nginx issue, and the reason for it is that the base UBI8 nginx image contains a directive to specifically listen on IPv6.

RFE: embed nginx config in image and configure with environment variables

Currently when deploying facet, it depends on an nginx config file to be mounted into the image so that the API service will get reverse proxied.

I propose that we permanently add a config template to the image and render it at runtime using environment variables. Currently, the only value it needs is the assisted-service URL.

Benefits

  • Someone trying to run the image does not need to understand nginx configuration or even be aware that nginx is in use. Those are implementation details that can be handled within the container.
  • The container's interface becomes simpler. Instead of needing to generate a config file (even if there is an embedded script to help) and mount that as a file or ConfigMap into the container at a specific path, the user can simply set an environment variable at runtime.
  • The current approach does not work well when run outside a cluster. A user has to create the config file on their local filesystem and mount it into the container at runtime. This change would remove the need for that.

Details

A shell script will become the new ENTRYPOINT for the container image. That shell script will

  1. render the template and put it into the right place. Possibly use envsubst or some other method for rendering
  2. exec nginx with whatever args it needs

Two items instead one are highlighted at the navigation pane if we try to navigate between them

#22
Steps to reproduce:

  1. Fill all required fields at the "1. Cluster setup" section
  2. Click Next. Now you should be at the "2. Add hosts" section.
  3. Click at the sidebar at a "1. Cluster setup" section or at a "3. Results" section

Expected results:
"2. Add hosts" should not be highlighted anymore in case if it is possible to navigate between sections.
In case if we shouldn't be able to navigate between all sections, all these other sections should be gray out and we shouldn't be able to click on them.

Actual result:
Two sections are highlighted at the same time (please see the screenshot)
Two items instead one are highlighted at the navigation pane if we try to navigate between them

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.