MeshIdentity with user-provided CAv2.12+
Apply a MeshIdentity policy with a user-provided CA to a subset of data plane proxies.
Prerequisites
- A MeshService resource must be configured in your mesh.
Apply a MeshIdentity policy with a user-provided CA to a subset of data plane proxies.
apiVersion: kuma.io/v1alpha1
kind: MeshIdentity
metadata:
name: identity
namespace: kong-mesh-demo
labels:
kuma.io/mesh: default
spec:
selector:
dataplane:
matchLabels:
app: my-app
spiffeID:
trustDomain: "{{ .Mesh }}.{{ .Zone }}.mesh.local"
path: "/ns/{{ .Namespace }}/sa/{{ .ServiceAccount }}"
provider:
type: Bundled
bundled:
meshTrustCreation: Enabled
insecureAllowSelfSigned: true
ca:
certificate:
type: File
file:
path: "/ca.crt"
privateKey:
type: File
file:
path: "/ca.key"