diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2021-01-01 23:13:14 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2021-01-01 23:13:14 +0100 |
commit | 1911481101e15463c8aecbdc03a6ce5b63b0d68f (patch) | |
tree | 254e8fe5e8cffb0cee35f77e1b9bfaa071d16489 /out | |
parent | e4821f82249bddb443a1f6a6e403087cab659c6d (diff) | |
download | rules-sandbox-1911481101e15463c8aecbdc03a6ce5b63b0d68f.tar.gz rules-sandbox-1911481101e15463c8aecbdc03a6ce5b63b0d68f.tar.bz2 rules-sandbox-1911481101e15463c8aecbdc03a6ce5b63b0d68f.tar.xz rules-sandbox-1911481101e15463c8aecbdc03a6ce5b63b0d68f.zip |
Generating DNS too.
Diffstat (limited to 'out')
-rw-r--r-- | out/phase-1.yaml | 184 |
1 files changed, 78 insertions, 106 deletions
diff --git a/out/phase-1.yaml b/out/phase-1.yaml index 0b8d48b..2d7bbed 100644 --- a/out/phase-1.yaml +++ b/out/phase-1.yaml @@ -20,25 +20,16 @@ data: type: "io.trygvis.rules.dba.Container" data: cluster: - name: "acme-ci" + name: "acme-production" name: "db" - machineRole: "mdb" - image: "mongodb" - tag: "3.2" + machineRole: "pdb" + image: "postgresql" + tag: "13" --- 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: "db" machineRole: "mdb" image: "mongodb" @@ -47,11 +38,11 @@ data: type: "io.trygvis.rules.dba.Container" data: cluster: - name: "acme-production" + name: "acme-ci" name: "app" - machineRole: "statera" - image: "statera" - tag: "master" + machineRole: "4tune-api" + image: "4tune-api" + tag: "development" --- type: "io.trygvis.rules.dba.Container" data: @@ -65,20 +56,11 @@ data: 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: "db" - machineRole: "pdb" - image: "postgresql" - tag: "13" + name: "app" + machineRole: "statera" + image: "statera" + tag: "master" --- type: "io.trygvis.rules.dba.Container" data: @@ -119,128 +101,118 @@ data: 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: "app" - machineRole: "statera-console" - image: "statera-console" + machineRole: "4tune-web" + image: "4tune-web" tag: "development" --- -type: "io.trygvis.rules.dns.DnsEntry" -data: - fqdn: "app.machine.acme.org" - type: "AAAA" ---- -type: "io.trygvis.rules.dns.DnsEntry" -data: - fqdn: "app.machine.acme.org" - type: "A" ---- -type: "io.trygvis.rules.dns.DnsEntry" -data: - fqdn: "app.machine.acme.org" - type: "A" ---- -type: "io.trygvis.rules.dns.DnsEntry" -data: - fqdn: "app.machine.acme.org" - type: "A" ---- -type: "io.trygvis.rules.dns.DnsEntry" -data: - fqdn: "db.machine.acme.org" - type: "A" ---- -type: "io.trygvis.rules.dns.DnsEntry" -data: - fqdn: "app.machine.acme.org" - type: "A" ---- -type: "io.trygvis.rules.dns.DnsEntry" +type: "io.trygvis.rules.dba.Container" data: - fqdn: "db.machine.acme.org" - type: "A" + cluster: + name: "acme-ci" + name: "app" + machineRole: "statera-console" + image: "statera-console" + tag: "development" --- type: "io.trygvis.rules.dns.DnsEntry" data: - fqdn: "app.machine.acme.org" + fqdn: "acme-3.machine.acme.com" type: "A" --- type: "io.trygvis.rules.dns.DnsEntry" data: - fqdn: "db.machine.acme.org" - type: "AAAA" ---- -type: "io.trygvis.rules.dns.DnsEntry" -data: - fqdn: "db.machine.acme.org" + fqdn: "acme-2.machine.acme.com" type: "A" --- type: "io.trygvis.rules.dns.DnsEntry" data: - fqdn: "app.machine.acme.org" + fqdn: "acme-2.machine.acme.com" type: "AAAA" --- type: "io.trygvis.rules.dns.DnsEntry" data: - fqdn: "db.machine.acme.org" + fqdn: "acme-1.machine.acme.com" type: "AAAA" --- type: "io.trygvis.rules.dns.DnsEntry" data: - fqdn: "db.machine.acme.org" + fqdn: "acme-3.machine.acme.com" type: "AAAA" --- type: "io.trygvis.rules.dns.DnsEntry" data: - fqdn: "db.machine.acme.org" + fqdn: "acme-1.machine.acme.com" type: "A" --- -type: "io.trygvis.rules.dns.DnsEntry" +type: "io.trygvis.rules.dns.DnsEntryTerraformExpression" data: - fqdn: "app.machine.acme.org" - type: "AAAA" + entry: + fqdn: "acme-3.machine.acme.com" + type: "A" + key: "acme-3" + expression: "scaleway_instance_ip.acme-3.address" --- -type: "io.trygvis.rules.dns.DnsEntry" +type: "io.trygvis.rules.dns.DnsEntryTerraformExpression" data: - fqdn: "app.machine.acme.org" - type: "AAAA" + entry: + fqdn: "acme-2.machine.acme.com" + type: "A" + key: "acme-2" + expression: "scaleway_instance_ip.acme-2.address" --- -type: "io.trygvis.rules.dns.DnsEntry" +type: "io.trygvis.rules.dns.DnsEntryTerraformExpression" data: - fqdn: "app.machine.acme.org" - type: "AAAA" + entry: + fqdn: "acme-1.machine.acme.com" + type: "A" + key: "acme-1" + expression: "scaleway_instance_ip.acme-1.address" --- -type: "io.trygvis.rules.dns.DnsEntry" +type: "io.trygvis.rules.engine.KeyValue" data: - fqdn: "app.machine.acme.org" - type: "AAAA" + key: "rm-gen" + value: null --- -type: "io.trygvis.rules.dns.DnsEntry" +type: "io.trygvis.rules.machine.Machine" data: - fqdn: "app.machine.acme.org" - type: "A" + name: "acme-2" --- -type: "io.trygvis.rules.dns.DnsEntry" +type: "io.trygvis.rules.machine.Machine" data: - fqdn: "db.machine.acme.org" - type: "AAAA" + name: "acme-3" --- -type: "io.trygvis.rules.dns.DnsEntry" +type: "io.trygvis.rules.machine.Machine" data: - fqdn: "app.machine.acme.org" - type: "A" + name: "acme-1" --- -type: "io.trygvis.rules.dns.DnsEntry" +type: "io.trygvis.rules.terraform.ScalewayMachine" data: - fqdn: "app.machine.acme.org" - type: "AAAA" + machine: + name: "acme-2" + key: "acme-2" + fqdn: "acme-2.machine.acme.com" --- -type: "io.trygvis.rules.dns.DnsEntry" +type: "io.trygvis.rules.terraform.ScalewayMachine" data: - fqdn: "app.machine.acme.org" - type: "A" + machine: + name: "acme-1" + key: "acme-1" + fqdn: "acme-1.machine.acme.com" --- -type: "io.trygvis.rules.dns.DnsEntry" +type: "io.trygvis.rules.terraform.ScalewayMachine" data: - fqdn: "app.machine.acme.org" - type: "AAAA" + machine: + name: "acme-3" + key: "acme-3" + fqdn: "acme-3.machine.acme.com" |