Go-based network automation with YANG models, gRPC, Ansible, Terraform, and Kubernetes integration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
34 lines
952 B
YAML
34 lines
952 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: kedge-mesh
|
|
namespace: kedge
|
|
data:
|
|
cluster_id: "homelab"
|
|
mesh.json: |
|
|
{
|
|
"node_id": "",
|
|
"cluster_id": "homelab",
|
|
"mode": "both",
|
|
"peers": [
|
|
{
|
|
"public_key": "PLACEHOLDER_CLOUD_PUBKEY",
|
|
"endpoint": "anchor.guildhouse.example.com:51820",
|
|
"allowed_ips": ["10.100.0.0/24"],
|
|
"cluster_id": "cloud-anchor"
|
|
}
|
|
],
|
|
"overlay_subnets": [
|
|
{"dst": "10.100.0.0/24", "via": "wg0", "mode": "overlay"}
|
|
],
|
|
"underlay_subnets": [
|
|
{"dst": "172.16.0.0/24", "via": "vlan100", "mode": "underlay"},
|
|
{"dst": "10.0.1.0/24", "via": "vlan10", "mode": "underlay"},
|
|
{"dst": "192.168.50.0/24", "via": "vlan50", "mode": "underlay"}
|
|
],
|
|
"wireguard": {
|
|
"interface_name": "wg0",
|
|
"listen_port": 51820,
|
|
"private_key_path": "/etc/kedge/wg-private.key"
|
|
}
|
|
}
|