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. 09 Oct, 2020 1 commit
  2. 08 Oct, 2020 2 commits
  3. 07 Oct, 2020 1 commit
  4. 06 Oct, 2020 3 commits
  5. 01 Oct, 2020 2 commits
  6. 30 Sep, 2020 2 commits
  7. 29 Sep, 2020 15 commits
  8. 28 Sep, 2020 11 commits
    • Johannes Liebermann's avatar
      backend: Update linter-related modules · f3c32084
      Johannes Liebermann authored
      Building golangci-lint locally modifies go.mod and go.sum. Committing
      these changes prevents a constant diff when running the linter.
      f3c32084
    • Johannes Liebermann's avatar
      Gitignore backend/tools · b5dbb4b7
      Johannes Liebermann authored
      This directory contains binaries used for development and should not
      be committed.
      b5dbb4b7
    • Joaquim Rocha's avatar
      backend: Add new rules to golangci and update the code to honor them · 058fffb6
      Joaquim Rocha authored
      We should have similar lint rules across our projects, so this patch
      adds the same linters as the Lokomotive channel does, and changes the
      code so it passes the lint.
      058fffb6
    • Joaquim Rocha's avatar
      backend: Don't use a proxy prefix without a cluster name · 20cf3cfe
      Joaquim Rocha authored
      For a while we've had multi-cluster support and that means that the
      clusters all have a name, even if it's a default one. So this patch
      removes the logic for using a prefix that has no cluster name.
      20cf3cfe
    • Joaquim Rocha's avatar
      Merge pull request #68 from kinvolk/use_context_auth · 875ccfd6
      Joaquim Rocha authored
      Use context auth
      875ccfd6
    • Joaquim Rocha's avatar
      frontend: Only require a token if the auth test fails without it · 41c3a728
      Joaquim Rocha authored
      Now we support client certificates, which means that the user may not
      have to set up a token to authenticate against a cluster. In order to
      understand whether the user needs a token, this patch does a quick
      auth test in the login dialog, and if it fails then a token will be
      required, otherwise the user is redirected to correct view.
      41c3a728
    • Joaquim Rocha's avatar
      frontend: Make the clusters config a map of name -> cluster · fb2f3573
      Joaquim Rocha authored
      This will make it easier to fetch a cluster's info by name which will
      be needed when we make the auth token dependent on whether the cluster
      needs it or not.
      fb2f3573
    • Joaquim Rocha's avatar
      backend: Load contexts' info instead of clusters and use client auth · eac9acff
      Joaquim Rocha authored
      The backend was loading the clusters' info instead of the contexts which
      in most cases is fine (as they correspond), but for other cases where a
      different user is setup for the same cluster this was not supported.
      
      So, when run with a KubeConfig, this patch loads the information from
      the contexts defined there instead of the clusters. This means that we
      now take the name from contexts and thus allow the same cluster to be
      used twice if defined for different contexts.
      
      The main motivation for this change however, was so that we could use
      any client certificates associated with the contexts for accessing the
      clusters without needing a token; this is the case for minikube for
      example, for which we were requiring the user to set up a token before.
      (Changes in the frontend are needed however, so the token requirement
      isn't always prompted)
      
      For the in-cluster config, a simple context is created just with the
      in-cluster info.
      eac9acff
    • Joaquim Rocha's avatar
      Merge pull request #67 from kinvolk/fix_make_image · 18e5e9a0
      Joaquim Rocha authored
      Makefile: Specify Docker build path and ignore node_modules
      18e5e9a0
    • Johannes Liebermann's avatar
      Dockerignore node_modules · e4671715
      Johannes Liebermann authored
      Sending node_modules to the Docker daemon greatly increases the size
      of the Docker build context, which makes `make image` take more time.
      We don't need to copy node_modules when building an image because we
      run `npm install` in the Dockerfile anyway.
      e4671715
    • Johannes Liebermann's avatar
      Makefile: Specify Docker build path · c799c046
      Johannes Liebermann authored
      The `docker build` command requires specifying a directory in
      addition to the Dockerfile.
      c799c046
  9. 23 Sep, 2020 3 commits