Coder Social home page Coder Social logo

Comments (5)

fffonion avatar fffonion commented on May 24, 2024 1

@UXabre The WIP code looks awesome!
I'm not super familar with how to test upon k8s world without bring up
real k8s cluster (minikube?). But that may be too compilcated and make the test takes much more time to run.
Actually I think if you can capture what a real Vault agent sent when it's authenticating to Vault server, and use that
as an "expected result", it's kind of acceptable as well.

from lua-resty-acme.

UXabre avatar UXabre commented on May 24, 2024 1

I'll try doing it using a JWT auth method. It behaves very similar to the kubernetes auth (only very minor changes, an nothing which affects the code). It, at least, is much more lightweight then setting up k8s/k3s.

I'm currently running the test suites and it will probably need a bit of rinse and repeat before I'll make the PR... nevertheless, I hope to have it in a few hours.

from lua-resty-acme.

fffonion avatar fffonion commented on May 24, 2024

Resource for developer for this feature: https://www.vaultproject.io/docs/auth/kubernetes

from lua-resty-acme.

UXabre avatar UXabre commented on May 24, 2024

Thanks for the input!
I'm currently working on implementing this.
I'm struggling a bit to get this automatically tested tough...

Here's my WiP so far:
UXabre@81de6f9

from lua-resty-acme.

UXabre avatar UXabre commented on May 24, 2024

I've made it! The automated test is running; but I was unsure where to put the prepping of Vault (as to include JWT auth etc.), I've added it to tests.yml in the github workflow directory

from lua-resty-acme.

Related Issues (20)

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.