Coder Social home page Coder Social logo

enterprise-contract / enterprise-contract-controller Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 14.0 901 KB

Defines the Enterprise Contract Policy Kubernetes CRD

Home Page: https://enterprisecontract.dev/ecc/main/index.html

License: Apache License 2.0

Dockerfile 2.57% Makefile 16.94% Go 72.02% Shell 8.48%

enterprise-contract-controller's People

Contributors

caugello avatar danbev avatar dependabot[bot] avatar github-actions[bot] avatar joejstuart avatar lcarva avatar michkov avatar robnester avatar robnester-rh avatar simonbaird avatar step-security-bot avatar zregvart avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

enterprise-contract-controller's Issues

Allow include/exclude arrays to include either strings or objects

In HACBS-2599, we came up with the idea to allow policy config authors to specify when a certain include/exclude line is effective. This is issue is about implementing the supporting CRD changes.

Change the schema of SourceConfig to allow items of the Exclude and Include lists to be either a string (as it is today), or an an object (new requirement).

The object should contain the following attributes:

Name           string (json "name")
EffectiveOn    string (json "effectiveOn")
EffectiveUntil string (json "effectiveUntil")

Both EffectiveOn and EffectiveUntil should conform to RFC3339, e.g. 2022-11-18T00:00:00Z. If it's possible to enforce this on the CRD side, great, but it's not a requirement. Be sure to document the expected format regardless.

For inspiration, this is a similar approach to the one taken in Tekton's ParamType.

Consider creating versioned releases

Recently, we have come across a couple of situations where folks were using a much older version of the controller.

Part of the problem is that dependabot will not submit updates to pseudo versions, see dependabot/dependabot-core#2028.

Let's consider creating versioned releases for the controller so dependents can more easily track updates.

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.