Registries and image trust
Registries supply the images that Docker nodes run and the artifacts that Build Workers publish. Opfield keeps registry credentials and access decisions separate from the workload configuration that consumes an image. This separation lets an operator rotate registry access without exposing a password in a Container, Deployment, or source definition.
Define the image trust policy
Section titled “Define the image trust policy”The key decision is not only where an image is stored, but what evidence is required before it may run. A practical policy identifies approved registries, required immutable digests, who may publish, the vulnerability threshold, credential owners, and how long rollback artifacts are retained.
Application teams select the software artifact. Security owners define admission and credential scope. Platform owners maintain registry availability and target-node access. Opfield records mappings, secrets, build provenance, and policy results, but it does not make an unknown image trustworthy merely because a pull succeeded.
Success means the deployed workload uses the reviewed digest, every required node can pull it through an approved credential path, and the previous known-good artifact remains available for the rollback window.
Configure trusted access
Section titled “Configure trusted access”Store private registry credentials in Opfield and scope them to the intended build or runtime path. Configure a separate trusted token-service origin only when the registry intentionally delegates Bearer authentication to that service. Confirm the registry endpoint, repository access, and certificate trust before a production rollout.
Never put registry passwords in image references, Git URLs, build arguments, logs, archive names, or screenshots. If authentication fails, diagnose the registry credential, repository permission, token-service configuration, and target-node reachability rather than repeatedly restarting the workload.
Internal registry behavior
Section titled “Internal registry behavior”Opfield’s internal Distribution registry stores approved build artifacts by immutable digest. It retains artifacts needed by active workloads, rollback slots, in-progress operations, pinned references, and recent successful builds. It does not require a public domain for internal Opfield use. The registry reports the storage its volume actually uses, refreshed about every 10 minutes.
An image’s presence in the internal registry does not make it a public release. A workload must still be configured to use the digest, successfully pull it on its target node, and pass its operational verification.
Optional external Docker-client access
Section titled “Optional external Docker-client access”External Docker-client access is a distinct entitlement and ingress configuration and works on stock nginx Ingress Nodes. It requires selected nginx placement, a Domain, TLS certificate, and a repository- or action-scoped token. After a license grace period ends, the external entry point and its settings are kept, but the token endpoint issues no new tokens until the plan is renewed. Each token request rechecks current authorization and entitlement, so revoking either takes effect for subsequent access.
Enable external access only when a real client workflow requires it. Validate TLS, authentication, and the minimum repository/action permissions with a non-production client before relying on it for automation. Removing the ingress configuration stops client access but does not delete internally retained artifacts.
Incident and cleanup guidance
Section titled “Incident and cleanup guidance”For a failed pull, first confirm the exact image digest, registry mapping, credential scope, and node network path. For an unexpected image, compare its digest with the approved build record rather than trusting a tag. Before removing a registry configuration, identify workloads and rollback candidates that still need it; change them to an approved alternative first.
Credential lifecycle
Section titled “Credential lifecycle”Prefer repository- and action-scoped credentials over broad registry administration tokens. Record an owner and rotation process for each credential, and test the replacement before revoking the old value when continuous delivery depends on it. Revocation must account for Build Workers, Docker Nodes, and external clients separately because they can use different access paths.
If a credential is exposed, revoke it at the registry, replace it in Opfield, and identify builds or pulls performed during the exposure window. Rotating only the Opfield copy does not invalidate the original secret at the provider. Review logs for unexpected repositories or digests without copying secret-bearing headers into the incident record.
Operator details: pull failures and retention
Section titled “Operator details: pull failures and retention”For authentication failures, separate DNS/TLS reachability, registry mapping, credential rejection, token-service origin, repository permission, and missing manifest. Test the exact repository and digest from the affected execution path rather than from an unrelated administrator workstation.
Before pruning the internal registry or removing external access, identify active workload digests, Deployment rollback slots, in-progress builds, pinned artifacts, and recent known-good releases. If a required artifact was removed, republish or rebuild it from the verified source revision before changing the workload. Do not replace it with an unverified tag that happens to have the same name.