mirror of
https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
synced 2026-08-21 05:26:49 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
# PeerAuthentication PERMISSIVE for namespaces that receive non-mesh traffic
|
||||
# The API server calls webhooks from outside the mesh (no SPIFFE identity).
|
||||
# The CrowdSec firewall bouncer runs on hostNetwork (no mesh identity)
|
||||
# and must connect to LAPI over plaintext.
|
||||
# PERMISSIVE allows both mTLS and plaintext inbound.
|
||||
---
|
||||
apiVersion: security.istio.io/v1
|
||||
kind: PeerAuthentication
|
||||
metadata:
|
||||
name: allow-apiserver-webhooks
|
||||
namespace: cnpg-system
|
||||
spec:
|
||||
mtls:
|
||||
mode: PERMISSIVE
|
||||
---
|
||||
apiVersion: security.istio.io/v1
|
||||
kind: PeerAuthentication
|
||||
metadata:
|
||||
name: allow-apiserver-webhooks
|
||||
namespace: mariadb-system
|
||||
spec:
|
||||
mtls:
|
||||
mode: PERMISSIVE
|
||||
---
|
||||
# Netbird operator webhook receives calls from the API server
|
||||
apiVersion: security.istio.io/v1
|
||||
kind: PeerAuthentication
|
||||
metadata:
|
||||
name: allow-apiserver-webhooks
|
||||
namespace: netbird-operator
|
||||
spec:
|
||||
mtls:
|
||||
mode: PERMISSIVE
|
||||
---
|
||||
# CrowdSec firewall bouncer (hostNetwork DaemonSet) connects to LAPI
|
||||
# from the host network namespace without a mesh identity
|
||||
apiVersion: security.istio.io/v1
|
||||
kind: PeerAuthentication
|
||||
metadata:
|
||||
name: allow-hostnetwork-bouncer
|
||||
namespace: crowdsec
|
||||
spec:
|
||||
mtls:
|
||||
mode: PERMISSIVE
|
||||
Reference in New Issue
Block a user