Issue identities for every workload
Match every proxy the resource reaches and issue from a CA the control plane generates itself. Suitable for a first deployment, not for production.
Configuration
apiVersion: kuma.io/v1alpha1
kind: MeshIdentity
metadata:
name: default-identity
namespace: kong-mesh-system
labels:
kuma.io/mesh: default
spec:
selector:
dataplane: {}
provider:
type: Bundled
bundled:
autogenerate:
enabled: true
insecureAllowSelfSigned: true
meshTrustCreation: EnabledCopied!
type: MeshIdentity
name: default-identity
mesh: default
spec:
selector:
dataplane: {}
provider:
type: Bundled
bundled:
autogenerate:
enabled: true
insecureAllowSelfSigned: true
meshTrustCreation: EnabledCopied!
Adjust konnect_mesh_control_plane.my_meshcontrolplane.id and konnect_mesh.my_mesh.name according to your current configuration.
resource "konnect_mesh_identity" "default_identity" {
provider = konnect-beta
type = "MeshIdentity"
name = "default-identity"
spec = {
selector = {
dataplane = {
}
}
provider = {
type = "Bundled"
bundled = {
autogenerate = {
enabled = true
}
insecure_allow_self_signed = true
mesh_trust_creation = "Enabled"
}
}
}
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!