diff options
Diffstat (limited to 'out/acme')
-rw-r--r-- | out/acme/apps.yaml | 272 | ||||
-rw-r--r-- | out/acme/wireguard.yaml | 256 |
2 files changed, 528 insertions, 0 deletions
diff --git a/out/acme/apps.yaml b/out/acme/apps.yaml new file mode 100644 index 0000000..82050eb --- /dev/null +++ b/out/acme/apps.yaml @@ -0,0 +1,272 @@ +--- +type: "io.trygvis.acme.AcmeMyApp" +data: + environment: "ci" + dockerTag: "development" +--- +type: "io.trygvis.acme.AcmeMyApp" +data: + environment: "production" + dockerTag: "master" +--- +type: "io.trygvis.acme.AcmeServer" +data: + name: "acme-1" + machine: + name: "acme-1" + fqdn: "acme-1.machine.acme.com" +--- +type: "io.trygvis.acme.AcmeServer" +data: + name: "acme-2" + machine: + name: "acme-2" + fqdn: "acme-2.machine.acme.com" +--- +type: "io.trygvis.acme.AcmeServer" +data: + name: "acme-3" + machine: + name: "acme-3" + fqdn: "acme-3.machine.acme.com" +--- +type: "io.trygvis.rules.dba.Cluster" +data: + name: "acme-ci" +--- +type: "io.trygvis.rules.dba.Cluster" +data: + name: "acme-production" +--- +type: "io.trygvis.rules.dba.Container" +data: + cluster: + name: "acme-ci" + name: "app" + machineRole: "4tune-api" + image: "4tune-api" + tag: "development" +--- +type: "io.trygvis.rules.dba.Container" +data: + cluster: + name: "acme-production" + name: "app" + machineRole: "4tune-api" + image: "4tune-api" + tag: "master" +--- +type: "io.trygvis.rules.dba.Container" +data: + cluster: + name: "acme-ci" + name: "app" + machineRole: "4tune-web" + image: "4tune-web" + tag: "development" +--- +type: "io.trygvis.rules.dba.Container" +data: + cluster: + name: "acme-production" + name: "app" + machineRole: "4tune-web" + image: "4tune-web" + tag: "master" +--- +type: "io.trygvis.rules.dba.Container" +data: + cluster: + name: "acme-ci" + name: "app" + machineRole: "statera" + image: "statera" + tag: "development" +--- +type: "io.trygvis.rules.dba.Container" +data: + cluster: + name: "acme-production" + name: "app" + machineRole: "statera" + image: "statera" + tag: "master" +--- +type: "io.trygvis.rules.dba.Container" +data: + cluster: + name: "acme-ci" + name: "app" + machineRole: "statera-console" + image: "statera-console" + tag: "development" +--- +type: "io.trygvis.rules.dba.Container" +data: + cluster: + name: "acme-production" + name: "app" + machineRole: "statera-console" + image: "statera-console" + tag: "master" +--- +type: "io.trygvis.rules.dba.Container" +data: + cluster: + name: "acme-production" + name: "db" + machineRole: "mdb" + image: "mongodb" + tag: "3.2" +--- +type: "io.trygvis.rules.dba.Container" +data: + cluster: + name: "acme-ci" + name: "db" + machineRole: "mdb" + image: "mongodb" + tag: "3.2" +--- +type: "io.trygvis.rules.dba.Container" +data: + cluster: + name: "acme-production" + name: "db" + machineRole: "pdb" + image: "postgresql" + tag: "13" +--- +type: "io.trygvis.rules.dba.Container" +data: + cluster: + name: "acme-ci" + name: "db" + machineRole: "pdb" + image: "postgresql" + tag: "13" +--- +type: "io.trygvis.rules.dns.DnsEntry" +data: + fqdn: "acme-1.machine.acme.com" + type: "A" +--- +type: "io.trygvis.rules.dns.DnsEntry" +data: + fqdn: "acme-2.machine.acme.com" + type: "A" +--- +type: "io.trygvis.rules.dns.DnsEntry" +data: + fqdn: "acme-3.machine.acme.com" + type: "A" +--- +type: "io.trygvis.rules.dns.DnsEntryTerraformExpression" +data: + entry: + fqdn: "acme-1.machine.acme.com" + type: "A" + key: "acme-1" + expression: "scaleway_instance_ip.acme-1.address" +--- +type: "io.trygvis.rules.dns.DnsEntryTerraformExpression" +data: + entry: + fqdn: "acme-2.machine.acme.com" + type: "A" + key: "acme-2" + expression: "scaleway_instance_ip.acme-2.address" +--- +type: "io.trygvis.rules.dns.DnsEntryTerraformExpression" +data: + entry: + fqdn: "acme-3.machine.acme.com" + type: "A" + key: "acme-3" + expression: "scaleway_instance_ip.acme-3.address" +--- +type: "io.trygvis.rules.engine.KeyValue" +data: + key: "rm-gen" + value: null +--- +type: "io.trygvis.rules.machine.Machine" +data: + name: "acme-1" + fqdn: "acme-1.machine.acme.com" +--- +type: "io.trygvis.rules.machine.Machine" +data: + name: "acme-2" + fqdn: "acme-2.machine.acme.com" +--- +type: "io.trygvis.rules.machine.Machine" +data: + name: "acme-3" + fqdn: "acme-3.machine.acme.com" +--- +type: "io.trygvis.rules.machine.Machine" +data: + name: "ws-1" + fqdn: null +--- +type: "io.trygvis.rules.machine.Machine" +data: + name: "ws-2" + fqdn: null +--- +type: "io.trygvis.rules.terraform.ScalewayMachine" +data: + machine: + name: "acme-1" + fqdn: "acme-1.machine.acme.com" + key: "acme-1" +--- +type: "io.trygvis.rules.terraform.ScalewayMachine" +data: + machine: + name: "acme-1" + fqdn: "acme-1.machine.acme.com" + key: "acme-1" +--- +type: "io.trygvis.rules.terraform.ScalewayMachine" +data: + machine: + name: "acme-2" + fqdn: "acme-2.machine.acme.com" + key: "acme-2" +--- +type: "io.trygvis.rules.terraform.ScalewayMachine" +data: + machine: + name: "acme-2" + fqdn: "acme-2.machine.acme.com" + key: "acme-2" +--- +type: "io.trygvis.rules.terraform.ScalewayMachine" +data: + machine: + name: "acme-3" + fqdn: "acme-3.machine.acme.com" + key: "acme-3" +--- +type: "io.trygvis.rules.terraform.ScalewayMachine" +data: + machine: + name: "acme-3" + fqdn: "acme-3.machine.acme.com" + key: "acme-3" +--- +type: "io.trygvis.rules.terraform.ScalewayMachine" +data: + machine: + name: "ws-1" + fqdn: null + key: "ws-1" +--- +type: "io.trygvis.rules.terraform.ScalewayMachine" +data: + machine: + name: "ws-2" + fqdn: null + key: "ws-2" diff --git a/out/acme/wireguard.yaml b/out/acme/wireguard.yaml new file mode 100644 index 0000000..4601931 --- /dev/null +++ b/out/acme/wireguard.yaml @@ -0,0 +1,256 @@ +--- +type: "io.trygvis.rules.dns.DnsEntry" +data: + fqdn: "acme-1.machine.acme.com" + type: "A" +--- +type: "io.trygvis.rules.dns.DnsEntry" +data: + fqdn: "acme-1.vpn.acme.com" + type: "A" +--- +type: "io.trygvis.rules.dns.DnsEntry" +data: + fqdn: "acme-2.machine.acme.com" + type: "A" +--- +type: "io.trygvis.rules.dns.DnsEntry" +data: + fqdn: "acme-2.vpn.acme.com" + type: "A" +--- +type: "io.trygvis.rules.dns.DnsEntry" +data: + fqdn: "acme-3.machine.acme.com" + type: "A" +--- +type: "io.trygvis.rules.dns.DnsEntry" +data: + fqdn: "acme-3.vpn.acme.com" + type: "A" +--- +type: "io.trygvis.rules.dns.DnsEntry" +data: + fqdn: "ws-1.vpn.acme.com" + type: "A" +--- +type: "io.trygvis.rules.dns.DnsEntry" +data: + fqdn: "ws-2.vpn.acme.com" + type: "A" +--- +type: "io.trygvis.rules.machine.Machine" +data: + name: "acme-1" + fqdn: "acme-1.machine.acme.com" +--- +type: "io.trygvis.rules.machine.Machine" +data: + name: "acme-2" + fqdn: "acme-2.machine.acme.com" +--- +type: "io.trygvis.rules.machine.Machine" +data: + name: "acme-3" + fqdn: "acme-3.machine.acme.com" +--- +type: "io.trygvis.rules.machine.Machine" +data: + name: "ws-1" + fqdn: null +--- +type: "io.trygvis.rules.machine.Machine" +data: + name: "ws-2" + fqdn: null +--- +type: "io.trygvis.rules.wireguard.WgConnection" +data: + host: "acme-1" + to: "acme-2" +--- +type: "io.trygvis.rules.wireguard.WgConnection" +data: + host: "acme-1" + to: "acme-3" +--- +type: "io.trygvis.rules.wireguard.WgConnection" +data: + host: "acme-2" + to: "acme-1" +--- +type: "io.trygvis.rules.wireguard.WgConnection" +data: + host: "acme-2" + to: "acme-3" +--- +type: "io.trygvis.rules.wireguard.WgConnection" +data: + host: "acme-3" + to: "acme-1" +--- +type: "io.trygvis.rules.wireguard.WgConnection" +data: + host: "acme-3" + to: "acme-2" +--- +type: "io.trygvis.rules.wireguard.WgConnection" +data: + host: "ws-1" + to: "acme-1" +--- +type: "io.trygvis.rules.wireguard.WgConnection" +data: + host: "ws-1" + to: "acme-2" +--- +type: "io.trygvis.rules.wireguard.WgConnection" +data: + host: "ws-1" + to: "acme-3" +--- +type: "io.trygvis.rules.wireguard.WgConnection" +data: + host: "ws-2" + to: "acme-1" +--- +type: "io.trygvis.rules.wireguard.WgConnection" +data: + host: "ws-2" + to: "acme-2" +--- +type: "io.trygvis.rules.wireguard.WgConnection" +data: + host: "ws-2" + to: "acme-3" +--- +type: "io.trygvis.rules.wireguard.WgHost" +data: + name: "acme-1" + net: "vpn0" + publicName: "acme-1.machine.acme.com" + netToNetIp: null + networkIp: null +--- +type: "io.trygvis.rules.wireguard.WgHost" +data: + name: "acme-2" + net: "vpn0" + publicName: "acme-2.machine.acme.com" + netToNetIp: null + networkIp: null +--- +type: "io.trygvis.rules.wireguard.WgHost" +data: + name: "acme-3" + net: "vpn0" + publicName: "acme-3.machine.acme.com" + netToNetIp: null + networkIp: null +--- +type: "io.trygvis.rules.wireguard.WgHost" +data: + name: "ws-1" + net: "vpn0" + publicName: null + netToNetIp: null + networkIp: null +--- +type: "io.trygvis.rules.wireguard.WgHost" +data: + name: "ws-2" + net: "vpn0" + publicName: null + netToNetIp: null + networkIp: null +--- +type: "io.trygvis.rules.wireguard.WgIpAllocation" +data: + host: "acme-1" + role: "link" + ip: + value: "192.168.10.4" +--- +type: "io.trygvis.rules.wireguard.WgIpAllocation" +data: + host: "acme-1" + role: "network" + ip: + value: "10.55.55.4" +--- +type: "io.trygvis.rules.wireguard.WgIpAllocation" +data: + host: "acme-2" + role: "link" + ip: + value: "192.168.10.3" +--- +type: "io.trygvis.rules.wireguard.WgIpAllocation" +data: + host: "acme-2" + role: "network" + ip: + value: "10.55.55.3" +--- +type: "io.trygvis.rules.wireguard.WgIpAllocation" +data: + host: "acme-3" + role: "link" + ip: + value: "192.168.10.2" +--- +type: "io.trygvis.rules.wireguard.WgIpAllocation" +data: + host: "acme-3" + role: "network" + ip: + value: "10.55.55.2" +--- +type: "io.trygvis.rules.wireguard.WgIpAllocation" +data: + host: "ws-1" + role: "link" + ip: + value: "192.168.10.1" +--- +type: "io.trygvis.rules.wireguard.WgIpAllocation" +data: + host: "ws-1" + role: "network" + ip: + value: "10.55.55.1" +--- +type: "io.trygvis.rules.wireguard.WgIpAllocation" +data: + host: "ws-2" + role: "link" + ip: + value: "192.168.10.0" +--- +type: "io.trygvis.rules.wireguard.WgIpAllocation" +data: + host: "ws-2" + role: "network" + ip: + value: "10.55.55.0" +--- +type: "io.trygvis.rules.wireguard.WgIpPool" +data: + net: "vpn0" + role: "link" + cidr: + value: "192.168.10.0/29" +--- +type: "io.trygvis.rules.wireguard.WgIpPool" +data: + net: "vpn0" + role: "network" + cidr: + value: "10.55.55.0/24" +--- +type: "io.trygvis.rules.wireguard.WgNet" +data: + name: "vpn0" + domain: "vpn.acme.com" + linkCidr: "192.168.10.0/29" + networkCidr: "10.55.55.0/24" |