Code Monkey home page Code Monkey logo

kani's Issues

Certificate signed by unknown authority

When using Kani v1.1.0, Kani unexpectedly returns Unauthorized for all requests.
This is because of the error: failed to verify signature: fetching keys oidc: get keys failed Get "https://[team].cloudflareaccess.com/cdn-cgi/access/certs": x509: certificate signed by unknown authority

This error is caused by the use of the 'scratch' base image, which does not have /etc/ssl/certs/ca-certificates.crt which Go uses when making http requests.

ingress-nginx example

Hi.

Thanks for creating this project. While it was intended to be used for Traefik, this project seems to work well when using ingress-nginx (and presumably other ingress controllers) aswell. I think it would be beneficial to provide an example for other reverse proxies, or at least ingress-nginx as it tends to be a pretty popular ingress controller.

For ingress-nginx, an ingress can be annotated with

nginx.ingress.kubernetes.io/auth-url: "http://kani.kube-system.svc.cluster.local:3000/<AUD>"

With an invalid AUD set, it will 401 as expected. Headers can probably be forwarded aswell with an auth-snippet of some sort, but haven't looked into it yet as I don't have a usecase for it.

Kani helm chart

Welcome!

  • I have checked for similar issues on GitHub.

Problem

There are currently no Helm charts that can be used to deploy Kani in a Kubernetes cluster.

Suggested solution

I think it could be useful if we provided an "official" Kani helm chart which could be used to easily deploy Kani.

Additional information

No response

Remove dependence on gofiber

As we only use one HTTP route, we don't need to use a library like gofiber.
Instead, we can directly use net/http or fasthttp.

kani v2.0.0

This is a to-do list for kani v2.0.0.
Development on kani v2.0.0 will be conducted on the v2 branch until we are ready to release it.

kani v2.0.0:

  • hypera.dev/kani/v2
  • Rewrite following best practices
  • Better logging
  • Config
  • TLS configuration
  • Configurable HTTP responses
  • Prometheus support
  • Retrieve user identity information from Cloudflare (configurable)
  • Testing
  • Godoc
  • Installation and usage documentation

If you have any ideas you would like to suggest, feel free to below!

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
.goreleaser.Dockerfile
  • docker/dockerfile 1
  • alpine 3.20.2@sha256:0a4eaa0eecf5f8c050e5bba433f58c052be7587ee8af3e8b3910ef9ab5fbe9f5
Dockerfile
  • docker/dockerfile 1
  • golang 1.22.6-alpine@sha256:1a478681b671001b7f029f94b5016aed984a23ad99c707f6a0ab6563860ae2f3
github-actions
.github/workflows/build.yml
  • HyperaDev/actions main
.github/workflows/release.yml
  • HyperaDev/actions main
gomod
go.mod
  • go 1.21
  • go 1.22.6
  • github.com/coreos/go-oidc/v3 v3.11.0

  • Check this box to trigger a request for Renovate to run again on this repository

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.