Repository navigation
OCI containers get their env as environment.*; a route can be left to the hand-maintained Caddyfile - #92
Merged
Conversation
… the hand-maintained Caddyfile An OCI container (a docker: or quay: image, or one that already has environment.* config) reads environment.* instance config, not /etc/default/<service>, so its env and env_from values never reached it. Apply now writes the declared keys that differ into environment.* over stdin, keeps undeclared keys, never shows a value in a plan, log or error, and restarts the instance. A systemd service still reads /etc/default/<service>. routing.external: true says a service's domain is already served by the hand-maintained edge Caddyfile (for example a wildcard block), so no site file is published for it. Closes #9. Closes #8. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
️✅ There are no secrets present in this pull request anymore.If these secrets were true positive and are still valid, we highly recommend you to revoke them. 🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request. |
wmantly
added a commit
that referenced
this pull request
Nov 5, 2026
…ackups Resolves the conflicts with #90, #91 and #92: - serve: start the backup scheduler (#91) and log the host name (#89). - config: DefaultHost (#89) beside Backup and Snapshots (#91). - The daemon had two HostName fields: #91's for backup object keys and #89's --host-name. They are one now: --host-name (env NATIVE_OPS_HOST_NAME, as #91 already read) names the host's plans and its backup keys; empty still falls back to the OS host name for backups. - One writeFleet test helper in pkg/config (both PRs added it). - The single-host golden plan is regenerated from main without #89: the only difference is #92's environment.* line for an OCI image, so #89 still changes nothing for a single host. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #9. Closes #8.
This work was written on 2026-10-30 and left uncommitted on a local
maincheckout. It is moved here as-is and rebased onto currentmain(which now includes #88). The patch applied cleanly.#9: OCI containers get their env as
environment.*/etc/default/<service>.docker:orquay:image, or one that already hasenvironment.*config) readsenvironment.*instance config, because that is what its entrypoint reads at start. Until now itsenvandenv_fromnever reached it.diffEnv), and the idempotency tests run both against the same states.#8:
routing.external: trueAGENTS.md(principles 3 and 6) and the README describe both.Checks:
gofmt -l .: empty.go mod tidy: no diff.go vet ./...: ok.go test -race ./...: all pass.node --check: ok.No self-merge.
🤖 Generated with Claude Code