k8s-resource-protection

module
v0.0.0-...-c2c51ba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2020 License: Apache-2.0

README

resource protection

Resource protection project includes following components:

  • allowed operations webhook: webhook looks for rp.k14s.io/allowed-operations annotation to control which operations are allowed against a resource. Possible values: "" disallows all actions, to allow specific actions, use: CREATE, UPDATE, DELETE, CONNECT. Values are comma separated (e.g. UPDATE,DELETE). See examples/locked-cm.yml. Related upstream Kubernetes issue: https://github.com/kubernetes/kubernetes/issues/10179.

Building

./hack/build.sh

To deploy:

# Install certmanager
ytt -f config-certmanager/config.yml --file-mark config.yml:type=yaml-plain \
  -f config-certmanager/patches.yml | kapp deploy -a certmgr -f- -y

# Install rp
ytt -f config/ | kbld -f- | kapp deploy -a rp -f- -c -y

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL