Git Product home page Git Product logo

kubewarden-policy-trusted-repos's Introduction

Kubewarden policy that allows to restrict what repositories, tags and images pods in your cluster can refer to.

What the policy allows to restrict

The policy configuration allows to mix and match several filters: registries, tags, and images.

When both an allow list and a reject list is supported, only one can be provided at the same time for that specific filter.

  • Registries

    • Allow list
    • Reject list
  • Tags

    • Reject list
  • Images

    • Allow list
    • Reject list

Examples

  • Only allow images coming from registry.my-corp.com:
registries:
  allow:
  - registry.my-corp.com
  • Only reject one host, in this case the Docker Hub:
registries:
  reject:
  - docker.io
  • Reject the latest tag for all images:
tags:
  reject:
  - latest
  • Only reject one specific image, allow the rest:
images:
  reject:
  - quay.io/etcd/etcd:v3.4.12
  • Only accept a well known set of images, reject the rest:
images:
  allow:
  - quay.io/coreos/etcd:v3.4.12@sha256:7ed2739c96eb16de3d7169e2a0aa4ccf3a1f44af24f2bb6cad826935a51bcb3d
  - quay.io/bitnami/redis:6.0@sha256:82dfd9ac433eacb5f89e5bf2601659bbc78893c1a9e3e830c5ef4eb489fde079

kubewarden-policy-trusted-repos's People

Contributors

ereslibre avatar flavio avatar jordojordo avatar jvanz avatar olblak avatar renovate-bot avatar renovate[bot] avatar viccuad avatar

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.