feat(integration): askari profile, stub overlay, cert-tier files
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0989f047eb
commit
10121e72d3
5 changed files with 30 additions and 0 deletions
2
tests/integration/certs/internal.yml
Normal file
2
tests/integration/certs/internal.yml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
reverse_proxy__tls_internal: true
|
||||
6
tests/integration/certs/le-prod-wildcard.yml
Normal file
6
tests/integration/certs/le-prod-wildcard.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
# On-demand only. Records an accepted risk (ADR-025 / accepted-risks.md): the prod
|
||||
# Gandi PAT reaches an ephemeral VM and transient TXT records land in the real wingu.me.
|
||||
reverse_proxy__tls_internal: false
|
||||
reverse_proxy__acme_dns_provider: gandi
|
||||
reverse_proxy__acme_ca: ""
|
||||
4
tests/integration/certs/le-staging.yml
Normal file
4
tests/integration/certs/le-staging.yml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
reverse_proxy__tls_internal: false
|
||||
reverse_proxy__acme_dns_provider: gandi
|
||||
reverse_proxy__acme_ca: "https://acme-staging-v02.api.letsencrypt.org/directory"
|
||||
8
tests/integration/overrides/askari.yml
Normal file
8
tests/integration/overrides/askari.yml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
# Integration-test overlay for the "askari" profile (ADR-025). Passed via `-e @`.
|
||||
# Reproduces the 2026-06-17 incident: apply base's nftables default-deny to a Docker host.
|
||||
base__firewall_apply: true
|
||||
# Keep a break-glass: sshd stays on all interfaces (never wt0-only in a throwaway VM).
|
||||
base__ssh_listen_mesh_only: false
|
||||
# The VM is isolated; it must never touch the real mesh.
|
||||
base__mesh_enabled: false
|
||||
10
tests/integration/profiles/askari.json
Normal file
10
tests/integration/profiles/askari.json
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"groups": ["offsite_hosts"],
|
||||
"applies": [
|
||||
{"playbook": "site.yml", "tags": ["base"]},
|
||||
{"playbook": "offsite.yml", "tags": ["docker_host", "reverse_proxy"]}
|
||||
],
|
||||
"extra_vars_files": ["overrides/askari.yml"],
|
||||
"mem_mib": 3072,
|
||||
"vcpus": 2
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue