Skip to content

its4u/openshift-network-policies-as-multitenant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Openshift - Network Policies as multitenant

Description

This project contain scripts that help in the deployment of a multitenant policy (when each namespace is considered as a single tenant and is isolated from other namespaces).

The scripts are:

  • enable.sh, Add Network Policies to all project, and create default project template to include Network Policies.\
  • disable.sh, Remove any policies that have been have been applied on all projects, and remove the policies on project template.
  • exclude_namespace.sh, force remove policies on current project (or named namespace). To cancel exclusion, remove label on namespace.

Require

jq : json file editor in command line
oc : Openshift Command line interface
Admin access to cluster.

Usage:

bash <script>.sh

About

Apply network policies to selected project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages