Skip to content

Commit 0f73a3b

Browse files
committed
Add Istio/Admiral mesh binding example
1 parent 9c2cdaa commit 0f73a3b

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"id": "urn:srcos:mesh-binding-profile:istio-egress-default",
3+
"type": "MeshBindingProfile",
4+
"specVersion": "2.2.0",
5+
"name": "Istio/Admiral-style enterprise mesh egress binding",
6+
"meshClass": "admiral-istio",
7+
"scope": "enterprise",
8+
"traffic": {
9+
"egressMode": "egress-gateway",
10+
"ingressMode": "gateway",
11+
"allowedHosts": [
12+
"models.enterprise.example",
13+
"registry.enterprise.example",
14+
"updates.enterprise.example"
15+
],
16+
"deniedHosts": ["*"],
17+
"mtlsRequired": true,
18+
"externalModelEgressAllowed": false
19+
},
20+
"identity": {
21+
"serviceAccountRef": "system:serviceaccount:sourceos:agent-machine-runner",
22+
"spiffeIdRef": "spiffe://enterprise.example/sourceos/agent-machine-runner",
23+
"workloadSelector": "app=sourceos-agent-machine",
24+
"agentRegistryRef": "urn:socioprophet:agent-registry:agent-machine-runner"
25+
},
26+
"policyRefs": [
27+
"urn:srcos:network-access-profile:enterprise-and-user-default",
28+
"urn:srcos:firewall-binding-profile:enterprise-gateway-default"
29+
],
30+
"evidence": {
31+
"emitTrafficDecision": true,
32+
"emitMeshPolicyRef": true,
33+
"emitMtlsStatus": true,
34+
"emitEgressGatewayReceipt": true
35+
}
36+
}

0 commit comments

Comments
 (0)