Documentation
Troubleshooting
Runtime-offline desired-state analysis for Argo CD GitOps repositories.
Start with the symptom. Run the smallest command that exercises the failing
path, then add --strict when warnings should fail the run or -o json /
-o yaml when another tool needs stable diagnostics.
drydock get apps --path .
drydock test apps --path .
drydock diag --path .
Symptom: No Applications Discovered
Check that the selected --path points at the GitOps repository root or pass
the directory that contains Argo CD objects. If the repository stores bootstrap
inputs as Kustomize rather than committed inflated objects, add an explicit
entrypoint:
drydock get apps --path . --discover-kustomize clusters/prod/argocd
If the repository uses ApplicationSet providers, make sure the workflow passes the same fixture inputs used for local verification.
Symptom: ApplicationSet Warns And Generates Zero Applications
An appset.template-render-failed warning means template execution failed for
that ApplicationSet, so it contributes no Applications — the same outcome the
Argo CD controller reports as an ErrorOccurred condition. A common cause is
a Git files generator matching an empty or comment-only param file while the
template references file params under missingkey=error: an empty file
decodes to one empty param set, matching Argo CD. If a matched file should
generate nothing, make its content []. Use --strict when the warning
should fail the run.
An appset.generator-failed warning means a generator failed in a way that
Argo CD v3.6.1 also reports as an ErrorOccurred condition. Examples are an
elementsYaml that is not a list of mappings, a matrix child written as {},
a matrix nested too deep, repeated merge key values, and a selector that
does not parse. The warning carries the Argo CD message. Fix the generator
that the message names.
In one-sided diffs, the failing side’s zero desired Applications appear as additions or deletions, while the live controller would abort reconciliation without pruning.
Symptom: ApplicationSet Omits Some Generated Applications
An appset.application-validation-failed warning means a generated
Application had no metadata.name (for example, a templatePatch that sets
only generateName or renders an empty name) or shared its name with another
Application from the same ApplicationSet. Argo CD v3.6.1 refuses those
Applications, and for a duplicated name it refuses every Application with
that name. Give each generated Application a unique, non-empty
metadata.name.
A project.missing warning for a generated Application says that its
ApplicationSet generates it and that the ApplicationSet controller does not
create or update it unless the AppProject exists in the cluster. drydock
still renders the Application, because it cannot see the AppProjects of the
cluster. If the AppProject exists only in the cluster, you can ignore the
warning. Otherwise declare the AppProject, or fix spec.project in the
template. If such an Application already exists in the cluster, Argo CD does
not delete it when its AppProject goes missing. It only stops updating it.
Symptom: Discovery Fails Decoding Non-Deployable YAML
Discovery errors that end with
(use --discover-ignore to exclude non-deployable manifests from discovery)
mean the scan found YAML it could not decode, such as unrendered chart
templates or scaffolding committed alongside real Argo CD objects:
templates/scaffold.yaml: decode ApplicationSet: json: cannot unmarshal string
into Go struct field ... of type int64 (use --discover-ignore to exclude
non-deployable manifests from discovery)
If the file is not deployable Argo CD intent, exclude it from discovery with a repository-relative glob:
drydock test apps --path . --discover-ignore 'templates/**'
Matching files are skipped before decoding, even when named by explicit app manifest paths. If the failing file is a real Application manifest, fix the manifest instead; ignoring it hides it from every discovery-based command.
Symptom: Render Fails In CI But Works Locally
Confirm whether CI has the same source access and caches. Default runs may
fetch declared Git, Helm, OCI Helm, OCI artifact, and remote Kustomize
sources into drydock caches. --offline disables those source network fetches and requires local
files, repo maps, or existing cache entries.
drydock test apps --path . --offline
drydock diag --path . --cache-events
--cache-events renders Applications so source-acquisition events match the
rendering path.
Symptom: Self-Repo Values Render From The Remote / Values ENOENT On Renders
A source whose repoURL is the checkout’s own repository — commonly a
ref-only $repo source supplying Helm value files — should resolve to the
local tree on every render surface (get, build, test, diag, and both
diff sides). If such a source instead fetches remotely, renders miss files
that exist only locally (for example, a pull request’s new values file fails
with a not-found error, or edits are silently ignored).
Two remediations:
-
Upgrade drydock (older releases resolved self-repository sources only during diffs) and make sure
refs/remotes/origin/HEADexists so drydock can learn the default-branch name —git clonesets it, and the pr-action records the pull request’s base branch there whenever a base ref is known (pull-request events, or an explicitbase-refinput). For bareactions/checkout-style checkouts outside the pr-action, set it from the default branch the workflow already knows:- run: >- git remote set-head origin "${{ github.event.repository.default_branch }}"That is local-only but needs
refs/remotes/origin/<default-branch>, which afetch-depth: 0checkout provides.git remote set-head origin -aqueries the remote instead, so it needs credentials that a checkout withpersist-credentials: falsedoes not leave behind.Without that symref, sources pinned to the default-branch name acquire remotely — drydock never guesses the default branch from
init.defaultBranchor the checked-out HEAD. -
Use
--repo-map URL=PATHwhen detection cannot apply: fork-shaped URLs (watch for thesource.self-repo-near-misswarning), commit-SHA pins, or runs from a subdirectory of the checkout (--path <subdir>does not walk up to the enclosing.git).
The flip side of local resolution: a self-repository source path that was
deleted locally fails path-not-found even though the remote tip still has it —
the local tree is the desired state.
Symptom: OCI Source Renders The Local Checkout Or Fails With load helm chart .
A first-class OCI artifact source — any repoURL: oci://... — has two
historical failure modes on older drydock releases, which did not classify
oci:// URLs:
- With a
helm:block, the render failed with an error likeload helm chart ., because the local repository root was treated as the chart directory. - Without a
helm:block, the run silently succeeded but rendered the LOCAL checkout as plain manifests (path: .always exists locally), not the artifact content.
Upgrade drydock: current releases classify every oci:// source before local
path resolution, resolve the revision to a digest, and render the pulled
artifact content. If you added --repo-map of the oci:// URL as a
workaround, it still wins over registry acquisition — remove it when you want
the artifact fetched, keep it when a local checkout of the content should be
rendered instead.
Related shapes on current releases:
chart:on anoci://source is ignored, as in Argo CD, and reported assource.oci-chart-ignored— see the next symptom.- An OCI URL as a
$refvalue-file source fails clearly; Argo CD supports Git-only$refsources. - An
offline cache misserror under--offlinemeans the digest, tag, or constraint was never resolved online against this cache directory — run once without--offlineto warm the image cache and tag records.
Symptom: source.oci-chart-ignored, Or An oci:// + chart: Source Is Not Found
An Application whose repoURL starts with oci:// and also sets chart::
source:
repoURL: oci://ghcr.io/bjw-s-labs/helm/app-template
chart: app-template
targetRevision: 5.2.1
Argo CD’s repo-server dispatches every oci:// URL as an OCI artifact source
before it considers Helm, so it pulls repoURL itself at targetRevision
and never reads chart:. Current drydock releases do the same and report one
advisory warning per Application source:
warning source.oci-chart-ignored: Application argocd/app source[0] chart="app-template": chart "app-template" is ignored: Argo CD treats every oci:// repository URL as an OCI artifact source and pulls oci://ghcr.io/bjw-s-labs/helm/app-template at revision "5.2.1" without reading spec.source.chart, so drydock renders that artifact; to silence this warning drop chart and set path: . (Argo CD requires path or chart on every source, or ref in a multi-source list); only if you meant the chart named "app-template" under repository ghcr.io/bjw-s-labs/helm/app-template, switch to the schemeless Helm OCI shape (repoURL "ghcr.io/bjw-s-labs/helm/app-template", chart "app-template")
The warning is advisory: --strict neither escalates it nor fails on it, the
manifests are identical with or without it, and the Argo CD render parity
smoke pins the shape live. Two remedies, both Argo-valid:
- Keep the artifact: drop
chart:and setpath: .(Argo CD requirespathorcharton every source, orrefin a multi-source list). - Keep a chart under a repository: switch to the schemeless Helm-OCI shape,
repoURL: ghcr.io/bjw-s-labs/helmpluschart: app-template, which uses the Helm registry client and the chart cache.
Older drydock releases pulled <repoURL>/<chart>:<version> for this shape
instead. A source that relied on that now pulls repoURL:targetRevision,
which fails with resolve OCI artifact ... not found or an
authenticate OCI artifact ... error (registries answer 401/403 for private
and for nonexistent repositories alike); the warning is printed alongside,
and the schemeless remedy above restores the previous pull.
Credential errors surface at the first oci:// acquisition and name the
flag. --registry-config "<path>" does not exist means the path is wrong —
runs without OCI artifact sources never open the file, so this appears only
on OCI pulls. the credential for <host> is an identity token means the
file’s entry came from a token login that the OCI artifact client cannot
present; log in to that registry with a username and password or pass
--oci-username/--oci-password. An error naming
docker-credential-<helper> means the file routes that host through a
credential helper that cannot run here; use a plain auths file or the
--oci-* flags.
Under --offline, including the pr-action’s offline input, an Application
that moved from the chart flow to the artifact flow fails with
offline cache miss until one online run with --oci-cache-dir warms the
image cache and tag records:
drydock build apps --path . --oci-cache-dir /var/cache/drydock-oci
drydock build apps --path . --oci-cache-dir /var/cache/drydock-oci --offline
Its earlier chart-cache entries are orphaned; drydock cache prune --source chart removes them.
Symptom: An Application Fails With invalid spec
The Argo CD controller checks the sources of each Application before it
renders anything. If a check fails, Argo CD sets an InvalidSpecError
condition and renders nothing. drydock fails the Application with the same
text:
error render.failed: Application argocd/app failed to render: invalid spec: spec.source.repoURL and either spec.source.path or spec.source.chart are required
Fix the spec as Argo CD requires:
- A single source needs
repoURLandpathorchart. Anoci://source too: setpath: .for the artifact root. - A multi-source entry needs
repoURLand one ofpath,chart, andref. drydock names the entry, for examplesources[1]:. - A
chartneedstargetRevision. - A
spec.sourceHydratorneedsdrySource.repoURLandsyncSource.targetBranch, andhydrateTo.targetBranchwhen it setshydrateTo. ItssyncSource.pathmust not be empty,., or/. The API server rejects such a path, so Argo CD never holds the Application.
Earlier drydock releases rendered nothing for such an Application and passed it.
Symptom: source.hydrator-sync-source
A diff gives this warning for an Application with spec.sourceHydrator when
the diff changes a file under drySource.path and the dry source is the
repository under diff:
warning source.hydrator-sync-source: Application argocd/app: this diff changes the dry source path "apps/app", but drydock does not run the source hydrator; it rendered the sync source branch "env/prod", path "apps/app", so the change shows only after the hydrator commits it (path: argocd/app)
build, test, get, and diag never give it. A dry source in another
repository gives no warning, because its changes are not part of the diff.
If drydock cannot list the files that the diff changes, the warning stays
and says so.
Argo CD compares such an Application against its sync source only:
syncSource.path at syncSource.targetBranch. It ignores spec.source and
spec.sources. drydock renders the same sync source at the same branch. For
the repository under analysis, it reads the tree of each side only when the
branch is HEAD, a --ref or --ref-orig name, or the default branch. That
rule is stricter than for other sources, which also read the tree when their
path exists there. A targetBranch equal to the default branch renders the
working tree, even when another branch is checked out. A --repo-map to the
tree under analysis behaves as if there were no map. A --repo-map to another
Git repository gives the branch from a snapshot. Otherwise drydock reads the
branch from the Git cache or fetches it, and --offline fails on a cache
miss. It cannot run the hydrator offline, so a change to the dry source shows
in drydock only after the hydrator commits it to the sync branch. --strict
does not fail on the warning.
Symptom: discovery.namespace-not-enabled, Or An Application Is Missing
drydock read an argocd-cmd-params-cm whose application.namespaces or
applicationsetcontroller.namespaces does not match the namespace of an
Application or an ApplicationSet. Argo CD never reconciles such an object, so
drydock skips it. It also skips what the object would create:
warning discovery.namespace-not-enabled: Application team-b/app is skipped: namespace "team-b" is not enabled for Argo CD, so Argo CD never reconciles it; add the namespace to argocd-cmd-params-cm application.namespaces to enable it (Argo CD namespace argocd)
drydock applies the lists only when it reads an argocd-cmd-params-cm and
knows the Argo CD namespace: --argocd-namespace names it, or an
argocd-cmd-params-cm names it in its metadata.namespace. If the Argo CD
namespace in the message is wrong, pass --argocd-namespace. To enable a
namespace, add it to the list in argocd-cmd-params-cm. Each
entry is a glob, or a regular expression when slashes wrap it, for example
/^team-[a-z]+$/. The AppProject must also list the namespace in
sourceNamespaces. --strict does not fail on the warning.
Symptom: settings.controller-namespace-ambiguous Or settings.controller-namespace-unconfirmed
The argocd-cmd-params-cm ConfigMaps that reach this cluster name more than
one namespace, none of them names the namespace that drydock uses, or
another Argo CD install exists, also when it is the only one. drydock
uses that namespace for Application instance names (ARGOCD_APP_NAME,
.argocd-source-<app>.yaml, and resource tracking) and for the namespace
gate:
warning settings.controller-namespace-ambiguous: argocd-cmd-params-cm ConfigMaps name several Argo CD namespaces (argocd, team-a); drydock uses "argocd" because it is the default; pass --argocd-namespace to name another namespace where Argo CD runs
A hub Argo CD in argocd next to tenant installs gives this warning.
--strict does not fail on it. If Argo CD runs in another namespace, pass
--argocd-namespace with that namespace.
warning settings.controller-namespace-unconfirmed: --argocd-namespace names "platform", but the argocd-cmd-params-cm ConfigMaps name only argocd, gitops; check that --argocd-namespace names the namespace where Argo CD runs
This warning means that the namespace that drydock uses is not one that the
ConfigMaps name. It appears when --argocd-namespace names another
namespace, or when the ConfigMaps name several namespaces and none of them
is argocd. --strict fails on it. Make sure that --argocd-namespace
names the namespace where Argo CD runs, or pass it if it is not set.
A warning that names other Argo CD installs means that an Application
renders an argocd-cmd-params-cm whose Argo CD would not reconcile that
Application, such as a tenant install. The argocd-cm,
argocd-cmd-params-cm, and argocd-cmp-cm ConfigMaps of such an install do
not count. Its repository and cluster Secrets still count unless
--argocd-namespace names another namespace.
Symptom: settings.controller-namespace-unsettled
Discovery found the namespace where Argo CD runs only late, ran again with
that namespace, and then found yet another namespace. drydock keeps the
second run and its namespace, also for the final render. --strict does not fail on the warning. Pass
--argocd-namespace with the namespace where Argo CD runs.
Symptom: discovery.outside-controller-namespace
--argocd-namespace is set, and an argocd-cm, argocd-cmd-params-cm,
argocd-cmp-cm, repository Secret, cluster Secret, or AppProject is in
another namespace. Argo CD reads these objects only in its own namespace, so
drydock skips the object. An Application that names a skipped AppProject
gets project.missing. drydock never skips an object that has no namespace
after it lands.
--strict does not fail on the warning. If the object belongs to the Argo
CD that you emulate, make sure that --argocd-namespace names its
namespace.
Symptom: A Kustomize Directory Renders As A Helm Chart
A source without an explicit type gets its type from the file names in its
directory, as in the Argo CD repo-server. The last name in name order that
ends in Chart.yaml or is a kustomization file decides. A k3s
traefik-HelmChart.yaml next to kustomization.yaml makes the directory a
Helm chart, and Helm fails without a Chart.yaml. Rename the file so that
its name does not end in Chart.yaml. An empty kustomize: {} block does
not set the type, because Argo CD removes an empty block from the spec.
Symptom: A Directory Source Skips Files
drydock selects directory-source files as the Argo CD v3.6.1 repo-server does:
- Only
.yaml,.yml,.json, and.jsonnetfiles are read by default, and the match is case-sensitive:deploy.YAMLis skipped by both drydock and Argo CD. Older drydock releases rendered it. - Files with other extensions, such as
*.yaml.sealed, render only withspec.source.directory.disableExtensionFilter: true.includeandexcludeare then the only filters. disableExtensionFilterwithoutincludeorexcludereads every file in the directory. Argo CD treats the setting as valid and only logs a warning, so drydock reports nothing. Earlier drydock releases gave thedirectory.extension-filter-disabledwarning. To read only the manifest files, add anincludepattern that names them.- A file ending in
.jsonmust hold one JSON object with akind. An empty file, YAML content, a JSON array, or several concatenated objects fail the source, as in Argo CD. - A
.jsonfile that holds an object without akind, such aspackage.json,tsconfig.json, or{}, also fails the source. drydock names the file in an error such aspackage.json: JSON object has no kind, so Argo CD fails the Application with "Object 'Kind' is missing". Argo CD fails the same Application with aComparisonErrorthat saysObject 'Kind' is missingand quotes the object, not the file. Earlier drydock releases skipped the file. Move the file out of the source directory, or setexcludeto a pattern that matches it, such as{package,tsconfig}.json. - A list item without a
kindfails the source the same way, in a YAML, JSON, or Jsonnet file, whether or not the list has akindof its own. This covers{"items":[{"name":"web"}]}and akind: Listwhose item has nokind. drydock names the file and the item in an error such aslist.json document 0 list item /items/0 has no kind, so Argo CD fails the Application with "Object 'Kind' is missing". For Jsonnet output the error names the item aslist.jsonnet output list item /items/0. Earlier drydock releases skipped such an item when it also had noapiVersion. Add akindto the item, or remove the item. - A Jsonnet file whose output holds an object without a
kindfails in the repo-server, in both Argo CD and drydock. The error starts withfailed to unmarshal generated jsonand names the file. Earlier drydock releases skipped the object. Add akind, or remove the object from the output. - A manifest whose
metadata.annotationsormetadata.labelsis not a map of strings fails withfailed to set app instance tracking info on manifestwhen the tracking method reads that field. Argo CD names only the object. drydock also names the file, and the list item when there is one. Fix the field in the manifest. - If the error says that the directory source files are larger in sum than
the limit, the files that Argo CD reads add up to more than
reposerver.max.combined.directory.manifests.size(default10M). Argo CD fails the same Application withexceeded max combined manifest file size. Narrowincludeorexclude, split the directory, or raise the setting inargocd-cmd-params-cmfor both Argo CD and drydock. With the argo-cd Helm chart, set it inconfigs.params. drydock also reads it from the repo-server Deployment of the install, sorepoServer.extraArgsandrepoServer.envcount as in Argo CD. - If a warning says that drydock cannot tell a setting of an Argo CD
workload offline, the repo-server, application controller, or
ApplicationSet controller of the install reads the setting from a source
that drydock cannot read, such as a Secret or
envFrom. Set the value inconfigs.params, as a literal value, or as a flag. - If a
settings.installs-unsettledwarning names an Application, that Argo CD install counts as an install of this cluster only without the settings that it renders. For example, itsargocd-cmturns off the in-cluster destination that the install itself uses. Fix the destination or the setting. - When several files fail, drydock reports the file that Argo CD reports.
Argo CD reads every file first, then splits lists and sets tracking
metadata, and checks for a missing
kindlast. So a file that does not decode is reported before an earlier file whose list or tracking metadata fails. - An
apiVersionwith two or more slashes, such as the typoapps/v1/, does not parse as a group version. Argo CD then finds nokindin the object, so the file fails or is skipped as for a missingkind. drydock names theapiVersionin an error such asapiversion.json: JSON object has apiVersion "apps/v1/", which is not a valid group version, so it has no kind. Fix theapiVersion. - A document with a
kindand noapiVersionrenders without anapiVersion, as in Argo CD. Kubernetes cannot apply a manifest without anapiVersion, so add it. - Any other file that does not decode as YAML or JSON is skipped unless a
manifest precedes the broken document or the file contains all of
apiVersion:,kind:, andmetadata:; then it fails the source. This includes a first document that has anapiVersionbut nokind. WithdisableExtensionFilter, narrowincludeso that READMEs,.libsonnetlibraries, or templates holding example manifests are not read.
A Kustomize component listed under ignoreMissingComponents: true is skipped
when its directory is missing, holds no kustomization.yaml,
kustomization.yml, or Kustomization, is a remote ref, or escapes the
repository.
Symptom: Helm, Kustomize, Or Plugin Output Fails With has no kind
drydock reads Helm, Kustomize, and config management plugin output as the
Argo CD v3.6.1 repo-server does. The error names the template file, the
kustomization.yaml file, or the plugin output, and the document index.
Argo CD fails the same Application with a ComparisonError that says
Object 'Kind' is missing and quotes the object, not the file.
- A document without a
kindfails the source, also an empty object{}. drydock reports it in an error such astemplates/kindless.yaml document 0 has no kind, so Argo CD fails the Application with "Object 'Kind' is missing". Earlier drydock releases skipped{}and rendered other documents without akind. Add thekind, or remove the document from the template or the plugin output. - An
apiVersionwith two or more slashes, such as the typoapps/v1/, does not parse, so the object has nokindfor Argo CD. Kustomize keeps such anapiVersion, so a Kustomize source fails the same way. Fix theapiVersion. - A List item without a
kindfails the source in the controller stage, with an error such astemplates/list.yaml document 0 list item /items/0 has no kind. Add akindto the item. - A document that is not an object, such as a line of text, fails with
failed to unmarshal manifest. For a Helm chart,helm templatefails first withYAML parse error on <file>when it cannot read the head of a document, such as annotations that are not strings. - When several documents fail, drydock reports the document that Argo CD
reports. A document that does not parse is reported before a document
without a
kind. For Helm, Argo CD reads the CRDs first, then the other documents in Helm’s kind order, then the hooks.
If a Helm document is missing from the output, look at its helm.sh/hook
annotation. Helm drops a document whose hook event it does not know, such
as crd-install or test-failure, or whose value is empty, and prints
skipping unknown hooks on stderr. With skipTests, Helm drops each
document with the test hook event, a List with its items. Helm reads the
annotations of the List itself, not the annotations of its items.
If a resource is missing from the output and a render.repeated-resource
warning names it, its last copy is a hook. Argo CD keeps the last copy of a
repeated resource, and Helm prints hooks after every other document. So a
ServiceAccount that a chart renders both as a template and as a
pre-install hook is a hook, and Argo CD does not manage it. drydock leaves
it out of the build output and diffs, as Argo CD does. Remove one of the
copies, or give them different names.
drydock lists Helm manifests in the order of helm template output: CRDs,
then the other documents by kind, then the hooks. A List comes after every
kind that Helm knows.
Symptom: A diff.ignore-*, diff.comparison-failed, Or diff.known-type-skipped Diagnostic
diff.ignore-pointer-invalid is a warning. It names an Application and a
jsonPointers entry of its spec.ignoreDifferences or of
resource.customizations that is not a valid JSON pointer, such as
spec/replicas without the leading /, or the root pointer "". Argo CD
v3.6.1 does not reject such a pointer. It applies it as a JSON-patch path,
which skips the first segment, and skips it where the patch fails. So
spec/replicas removes nothing, and x/spec/replicas removes
spec.replicas. drydock does the same. To fix the warning, write the pointer
with a leading /. --strict makes the warning an error.
diff.ignore-rule-invalid is an error. A jqPathExpressions entry does not
parse or compile. Argo CD then fails the comparison of the Application with a
ComparisonError condition, even when the rule matches no resource. An
expression in resource.customizations fails every Application. The command
prints the diagnostics and no diff, and fails. Fix the jq expression. A
deleted Application is not checked, because Argo CD never compares it.
diff.comparison-failed is an error. A jqPathExpressions entry removed the
whole object on both sides, as . does, and the Application uses the
client-side diff. Argo CD then fails the comparison of the Application. When
the expression removes the object on one side only, Argo CD and drydock show a
change with null on that side instead. With server-side diff, both sides
null compare as unchanged. The ServerSideDiff=true compare option, the
ServerSideApply=true sync option, or controller.diff.server.side: "true" in
argocd-cmd-params-cm turns on server-side diff, unless the Application has
the ServerSideDiff=false compare option. Fix the jq expression so that it
removes a field, not the object.
diff.known-type-skipped is an advisory warning. A known type failed to
normalize a field of a changed resource that the diff shows. The known type is
either a knownTypeFields entry of resource.customizations, or the built-in
known type of Argo Rollouts, a PodSpec at spec.template.spec. An example is a
core/v1/ResourceRequirements field whose limits is not a map. Argo CD only
logs this error and compares the field as written, and drydock does the same.
The warning names the Application, the resource, and the field. --strict does
not fail on it. If you want the field normalized, fix the field in the
manifest. For a knownTypeFields entry, you can also fix its type.
Symptom: Changed-Only Falls Back To All Apps
Multi-Application diffs use changed-only selection by default. If a changed file cannot be safely mapped to Application inputs, non-strict mode warns and renders all Applications. Use strict mode when ambiguous ownership should fail:
drydock diff apps --repo . --ref HEAD --ref-orig main --strict-changed-only
If the unowned file is one an exec or container plugin reads, declare it in the
plugin Application’s argocd.argoproj.io/manifest-generate-paths annotation
so changed-only selects that Application instead of rendering all. Declare it
too when a plugin reads a file another Application owns, through its graph or
its own annotation: changed-only then renders only that owner, and strict mode
does not catch the omission. See
Declare plugin inputs
.
A changed Argo CD setting that every render or diff reads also renders all
Applications, with diff.changed-only-settings: the tracking method, resource
exclusions, compare options, an ignoreDifferences customization, or a CMP
definition, for example. A repository or cluster Secret change does not,
unless the Secret enables OCI for an OCI repository URL: it selects only the
Applications that use it (diff.changed-only-settings-scoped). Neither it nor
a setting no output reads excuses an unowned changed path, which still renders
all Applications and fails --strict-changed-only.
Symptom: Plugin Source Fails Closed
The CLI and default Go client do not execute config management plugin commands
by default. Safe Kustomize wrapper plugins and argocd-vault-plugin
compatibility may render natively. Exec or container plugin rendering needs
trusted drydock plugin policy, trusted policy provenance, and
--enable-plugins.
drydock plugin-policy doctor --path .
drydock test apps --path . --plugin-policy-ref main --enable-plugins
Use plugin-policy doctor to check whether drydock sees the plugin policy,
native compatibility options, trusted provenance, and command execution gates.
Then add trusted plugin flags only when the render actually needs exec or
container plugin commands.
If plugin-rendered bootstrap apps are missing, check PluginPolicy
bootstrap.entrypoints. Static discovery mode disables those entrypoints;
--max-discovery-depth 0 does not.
See Plugin policy for the operator gate.
Symptom: Diff Noise Is Hiding Or Showing Too Much
drydock hides common Helm chart/version labels and pod-template checksum
annotations by default. Use --show-ignored-fields to inspect them, or
--strip-attr KEY to remove additional label or annotation keys before
comparison.
Symptom: PR Comment Is Too Large Or Hard To Scan
Use markdown output for the review surface and keep full artifacts for deeper inspection:
drydock diff apps --repo . --ref HEAD --ref-orig main -o markdown
drydock diff images --repo . --ref HEAD --ref-orig main -o markdown
For sensitive or noisy resource classes, use explicit filters such as
--skip-secrets, --skip-crds, or repeatable --strip-attr KEY.
For deeper reference, see the reference hub , Compatibility , and Source acquisition .