Compare commits
6
Commits
02eb90d11b
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7cb99de32d | ||
|
|
6a35c7407e | ||
|
|
ddfb1c6d0a | ||
|
|
b2d29df657 | ||
|
|
2f2d980ef7 | ||
|
|
fbdee5f778 |
No files matched your search
@@ -28,7 +28,7 @@ jobs:
|
||||
timeout-minutes: 30
|
||||
# The ci image (images/ci, built by image.yml): tag for the release, digest enforced.
|
||||
container:
|
||||
image: git.rkdr.net/mortis/ci:0.2.54@sha256:2742be4ba03f71f00b06f1d2b318e8fd3866a800247bbd7e52508dfb0da6312c
|
||||
image: git.rkdr.net/mortis/ci:0.2.55@sha256:a20f7e4154aaba15a3dd5b2d42e5e84b307bab1128c9dc4cd4e54d55d6b64d60
|
||||
env:
|
||||
PIP_DISABLE_PIP_VERSION_CHECK: "1"
|
||||
steps:
|
||||
|
||||
@@ -44,7 +44,7 @@ jobs:
|
||||
# The ci image (images/ci, built by image.yml), at the pin of lint.yml: tag for the
|
||||
# release, digest enforced. Only its /opt/venv Python (with PyYAML) is used here.
|
||||
container:
|
||||
image: git.rkdr.net/mortis/ci:0.2.54@sha256:2742be4ba03f71f00b06f1d2b318e8fd3866a800247bbd7e52508dfb0da6312c
|
||||
image: git.rkdr.net/mortis/ci:0.2.55@sha256:a20f7e4154aaba15a3dd5b2d42e5e84b307bab1128c9dc4cd4e54d55d6b64d60
|
||||
steps:
|
||||
# The container has no Node, so JavaScript actions such as actions/checkout
|
||||
# cannot run; clone with git and the job token.
|
||||
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
# The tag says which release, the digest is what is enforced (bump both together
|
||||
# when image.yml publishes a new version).
|
||||
container:
|
||||
image: git.rkdr.net/mortis/ci:0.2.54@sha256:2742be4ba03f71f00b06f1d2b318e8fd3866a800247bbd7e52508dfb0da6312c
|
||||
image: git.rkdr.net/mortis/ci:0.2.55@sha256:a20f7e4154aaba15a3dd5b2d42e5e84b307bab1128c9dc4cd4e54d55d6b64d60
|
||||
env:
|
||||
PIP_DISABLE_PIP_VERSION_CHECK: "1"
|
||||
PRE_COMMIT_HOME: /opt/pre-commit
|
||||
|
||||
@@ -42,6 +42,7 @@ when its own prerequisites (tests, a safe cutover wherever the role already runs
|
||||
Still to come:
|
||||
|
||||
- Wave 3: `rke2`, `proxmox_host`.
|
||||
- Not yet in a wave: `openbao`.
|
||||
|
||||
Will not be extracted (they serve one lab or install that lab's own tool pins):
|
||||
`k8s_manage`, `k8s_localhost`, `k8s_lint_tools`, `minecraft_server`, `dragonwilds_server`,
|
||||
|
||||
+10
@@ -126,3 +126,13 @@ reduction. A later decision that accepts a risk adds an entry here.
|
||||
- **Trigger:** the pull request that moves `molecule.yml` to a new `molecule-controller` image
|
||||
fails Molecule because of a changed image input.
|
||||
- **Planned reduction:** none for now.
|
||||
|
||||
### Unseal keys in vaulted inventory
|
||||
|
||||
- **Risk:** the planned `openbao` role can unseal a Shamir-sealed OpenBao from unseal keys the
|
||||
consumer keeps in vaulted inventory (`openbao_unseal_keys`), so whoever holds the Ansible
|
||||
vault password can unseal alone. This weakens the split knowledge Shamir's scheme gives.
|
||||
- **Why accepted:** it keeps restarts and updates unattended, and the Collection already keeps
|
||||
secrets in vaulted inventory. The keys are optional: without them the role leaves the node
|
||||
sealed and warns.
|
||||
- **Trigger and planned reduction:** auto-unseal, tracked in #529.
|
||||
@@ -68,6 +68,11 @@ names a check that does not exist yet and its backlog issue.
|
||||
- **Secrets.** Never in plaintext in the repository, a role's defaults, task output or a file on
|
||||
the controller; `no_log: true` on every task that carries one; a secret is a required input
|
||||
with no default; a role generates one only straight into a secret store the consumer names.
|
||||
A secret returned as a `no_log`, non-cacheable output fact from an opt-in entry point, for the
|
||||
calling play to persist (for example vault-encrypted into inventory), counts as handed straight
|
||||
to the consumer's store, as the gitea and cloudflared `mint` entry points do. Such an entry point
|
||||
has a confirm flag, refuses under CI environment variables, sets `no_log` on every task, blanks
|
||||
its intermediates, skips under `--check` and does nothing when the secret already exists.
|
||||
Keys a host generates for itself and keeps (SSH host keys) are not covered. The README line
|
||||
"`no_log` is not used: the role handles no secrets" stays only where true. *Why:* nothing leaks
|
||||
today and a role writing to a secret store stays possible. *Held:* review.
|
||||
|
||||
Reference in new issue
Block a user