Giter Club home page Giter Club logo

Comments (3)

Kevinma1995 avatar Kevinma1995 commented on May 29, 2024

Hello @ctab, I'm @shomron 's colleague who is interested in getting involved in the gatekeeper project. Just wondering how can I get started and help with this issue?

from gatekeeper-library.

ctab avatar ctab commented on May 29, 2024

Hey Kevin, thanks for stepping in to help!

If you haven't already seen it, I have a doc here that summarizes what we are trying to achieve here. https://docs.google.com/document/d/1uQlkIBQcgNNyth8o9ufYaVSfUq_JLJGy9fcuW3VB7vU/edit

For this issue, what I have in mind is something similar to what we have in the Gatekeeper repo with make e2e-bootstrap and make test-e2e. The goal will be to able to spin up a kind cluster (with make e2e-bootstrap) and then iterate through each of the policies in the library, running the following tests:

  • apply the template.yaml file
  • apply each sample constraint.yaml file. (There is currently only 1 constraint per template but this should support more than one)
  • apply each example yaml file in the sample directory and test that the resource in the file is either admitted (if the filename is of the format example_allowed*.yaml) or denied (example_disallowed*.yaml).
  • delete this constraint and any examples from the test cluster before moving on to the next one, and the template when done with that directory.

This will depend on #31 which establishes the directory structure for this work. You could branch off of that and get started now, at risk that there may be some changes as it is reviewed, or you may want to wait until that is merged into master. I don't foresee any major changes though since we already discussed the broad strokes of this during our community meetings.

Feel free to message me on the OPA slack if you want to discuss!

from gatekeeper-library.

Kevinma1995 avatar Kevinma1995 commented on May 29, 2024

Hey Craig, thanks for the prompt response and detailed explanation. I'm clear about what we want to achieve for this issue and will start working on it shortly!

from gatekeeper-library.

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.