Skip to content

docs: add Ignore Field Drift guide#53

Open
sapphirew wants to merge 2 commits into
aws-controllers-k8s:mainfrom
sapphirew:docs/ignore-field-drift
Open

docs: add Ignore Field Drift guide#53
sapphirew wants to merge 2 commits into
aws-controllers-k8s:mainfrom
sapphirew:docs/ignore-field-drift

Conversation

@sapphirew

@sapphirew sapphirew commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Description

Adds a user guide for the services.k8s.aws/ignore-field-drift annotation and its IgnoreFieldDrift feature gate (Alpha, disabled by default). This annotation lets a user tell ACK to stop reconciling drift on specific spec fields while still creating and managing the rest of the resource — the motivating case being IAM role tags applied by org tooling that ACK would otherwise keep trying to remove (community#2367).

Changes

  • New guide guides/ignore-field-drift.md — what the annotation does, usage with examples, the #2367 IAM-tags scenario, non-destructive removal (including the "not immediate" caveat: an annotation-only edit doesn't trigger a reconcile), and limitations (whole-field only, syntactic-only path validation, log-only observability).
  • Sidebar — registers the guide under Managing Resources (next to ReadOnly Resources).
  • Feature Gates guide — adds the IgnoreFieldDrift row to the table and a Next Steps link.

Modeled on the existing readonly.md guide for structure and tone.

Verification

  • npm run build passes with no broken-link warnings.
  • Previewed locally via npm run start; sidebar placement, the feature-gate callout, examples, and cross-links render correctly.

Related PRs (feature implementation)

Note for reviewers

The feature is not yet released — the implementation PRs above are still open. This guide describes the feature in the present tense. Maintainers may prefer to hold this until the runtime + code-generator changes land and release, or I can add an "unreleased / requires runtime vX.Y" note if that's preferred.

Document the services.k8s.aws/ignore-field-drift annotation and the
SelectiveReconciliation feature gate (Alpha, disabled by default):

- New guide guides/ignore-field-drift.md — what it does, usage, the IAM tags
  motivating case (community#2367), non-destructive removal (incl. the
  not-immediate caveat), and limitations (whole-field only, syntactic path
  validation, log-only observability).
- Register the guide in the Managing Resources sidebar section.
- Add the SelectiveReconciliation row + link to the Feature Gates guide.

Docusaurus build passes (no broken links).
@ack-prow
ack-prow Bot requested review from cheeseandcereal and jlbutler July 7, 2026 23:19
@ack-prow

ack-prow Bot commented Jul 7, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: sapphirew
Once this PR has been reviewed and has the lgtm label, please assign knottnt for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants