← Policy catalog
</> PeerAuthentication · Apache-2.0

Namespace mTLS Permissive

peerauthentication-namespace-permissive

productIstio

Allow both plaintext and mTLS traffic within the permissive namespace.

What this is

A reference manifest to copy and adapt, not a rule cenroq enforces for you. It carries no severity, belongs to no bundle, and nothing on your cluster changes until you apply it yourself.

Manifest

apiVersion: security.istio.io/v1
kind: PeerAuthentication
metadata:
  name: default
  namespace: permissive-namespace
  annotations:
    cenroq.io/displayName: "Namespace mTLS Permissive"
    cenroq.io/description: "Allow both plaintext and mTLS traffic within the permissive namespace."
spec:
  mtls:
    mode: PERMISSIVE

Save it as peerauthentication-namespace-permissive.yaml — the commands below assume that name.

Apply it

This is a manifest, not an admission policy, so there is nothing for kubeapt validate to check it against. Adapt the selectors and namespace first, then:

$ kubectl apply -f ./peerauthentication-namespace-permissive.yaml