Issue through SPIRE
Delegate issuance to a SPIRE agent on the node, reached over its socket.
Configuration
apiVersion: kuma.io/v1alpha1
kind: MeshIdentity
metadata:
name: spire-identity
namespace: kong-mesh-system
labels:
kuma.io/mesh: default
spec:
selector:
dataplane: {}
provider:
type: Spire
spire:
agent:
timeout: 2sCopied!
type: MeshIdentity
name: spire-identity
mesh: default
spec:
selector:
dataplane: {}
provider:
type: Spire
spire:
agent:
timeout: 2sCopied!
Adjust konnect_mesh_control_plane.my_meshcontrolplane.id and konnect_mesh.my_mesh.name according to your current configuration.
resource "konnect_mesh_identity" "spire_identity" {
provider = konnect-beta
type = "MeshIdentity"
name = "spire-identity"
spec = {
selector = {
dataplane = {
}
}
provider = {
type = "Spire"
spire = {
agent = {
timeout = "2s"
}
}
}
}
labels = {
"kuma.io/mesh" = konnect_mesh.my_mesh.name
}
cp_id = konnect_mesh_control_plane.my_meshcontrolplane.id
mesh = konnect_mesh.my_mesh.name
}
Copied!