This project is mirrored from https://gitee.com/mirrors_kinvolk/headlamp.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 15 Feb, 2022 1 commit
  2. 14 Feb, 2022 2 commits
  3. 31 Jan, 2022 1 commit
  4. 22 Jun, 2021 1 commit
    • René Dudfield's avatar
      Dockerfile: Make npm install only prod deps · ae691b9e
      René Dudfield authored
      So that only the required deps to build are installed before
      building the docker image.
      
      frontend: Move some deps out of devDependencies because the
      build depends on them.
      
      Some dependency updates caused the snapshot changes.
      
      The sagas type updates seem to have a problem with cancelled().
      ae691b9e
  5. 06 Jun, 2021 1 commit
  6. 22 Mar, 2021 1 commit
  7. 19 Mar, 2021 2 commits
    • Joaquim Rocha's avatar
      Dockerfile: Make copying the plugins more robust · 36858d41
      Joaquim Rocha authored
      Copying the plugins was failing if the plugins folder was empty, because
      in the Dockerfile we tried to copy from /headlamp/plugins but we first
      had moved any plugins folder to plugins-old and if the folder was empty,
      then the copy command wouldn't create the final plugins directory again.
      
      Fixing that just required creating the mentioned plugins folder after
      the move, but there was also the problem that the copy command was
      copying everything in each plugins folder and not just the main.js file.
      36858d41
    • René Dudfield's avatar
      backend: Change -plugin-dir to use different defaults · e6275e09
      René Dudfield authored
      These are the folders we use for the default plugin-dir:
      
        - the passed in pluginDir if it's not empty.
        - "./.plugins" if it exists.
        - ~/.config/Headlamp/plugins exists or it can be made
        - "./.plugins" if the ~/.config/Headlamp/plugins can't be made.
      
      The user data config path is platform specific, so is different
      on Windows for example.
      
      For backwards compatibility, the Dockerfile now copies plugins
      from the "./plugins" folder if they match the pattern
      plugins/MyFolder/main.js. There is a new plugins folder coming to
      the repo, so the .plugins folder is a new place to store built
      plugins to be used for deployment.
      e6275e09
  8. 29 Sep, 2020 1 commit
    • Joaquim Rocha's avatar
      docker: Include a plugins dir in the image if it exists · 72239e4d
      Joaquim Rocha authored
      We should include any plugins we want to ship in the image. So, in order
      to do that, this patch copies anything in a local plugins folder into
      the image and configures the Kubernetes deployment to use this plugins
      dir. If the folder doesn't exist, then no plugins will be loaded by the
      backend anyway.
      
      In the future we should validate whether the plugins dir has contents
      that resemble the plugins (plugins/*/main.js).
      72239e4d
  9. 18 Sep, 2020 1 commit
  10. 01 Apr, 2020 1 commit
  11. 31 Mar, 2020 1 commit