Skip to content

Demo scripts for 'Enforcing Automatic mTLS with Linkerd and OPA Gatekeeper'

Notifications You must be signed in to change notification settings

ihcsim/linkerd-opa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enforcing Automatic mTLS with Linkerd and OPA Gatekeeper

This repository contains the demo scripts used in the Enforcing Automatic mTLS with Linkerd and OPA Gatekeeper session at KubeCon NA 2019.

Linkerd is an ultralight service mesh for Kubernetes. OPA Gatekeeper is a customizable Kubernetes admission webhook that helps enforce policies and strengthen governance. This demo shows how you can use them to enable automatic mTLS between your K8s services, and define and enforce policies to ensure security compliance.

Resources:

Prerequisites

The demo script is tested with the following software:

  • Minikube v1.3.1
  • Linkerd edge-19.10.5
  • Gatekeeper v3.0.4-beta.2
  • ksniff v1.3.1
  • tcpdump v4.9.2
  • wireshark 2.6.10

Getting Started

Follow the instruction in the Linkerd documentation to obtain the Linkerd CLI.

To run the demo script,

./demo.sh

This demo consists of 2 parts:

  1. Part 1 - use Linkerd mTLS to secure traffic between the micro services of the emoji application
  2. Part 2 - use Gatekeeper to define and enforce mTLS policies among the live services

To remove all the demo artifacts from your k8s cluster,

./cleanup.sh

Useful Links

About

Demo scripts for 'Enforcing Automatic mTLS with Linkerd and OPA Gatekeeper'

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages