Skip to content

feat(rhoso-apps): add ignoreDifferences support to Application template#61

Open
aharivel wants to merge 1 commit into
openstack-k8s-operators:mainfrom
aharivel:feat/rhoso-apps-ignore-differences
Open

feat(rhoso-apps): add ignoreDifferences support to Application template#61
aharivel wants to merge 1 commit into
openstack-k8s-operators:mainfrom
aharivel:feat/rhoso-apps-ignore-differences

Conversation

@aharivel

Copy link
Copy Markdown

Add optional spec.ignoreDifferences to the rendered ArgoCD Application resources. This is needed for deployments where operator-mutated fields (e.g. OpenStackControlPlane /spec/tls, BareMetalHost /status) cause perpetual OutOfSync without ignoreDifferences.

Changes:

  • values.schema.json: add ignoreDifferences array (items: object with additionalProperties) to the application definition; also allow the base finalizer string (without /background or /foreground suffix)
  • _helpers.tpl: add rhoso-apps.ignoreDifferences helper
  • application.yaml: render ignoreDifferences when present
  • application_test.yaml: add 3 tests (omitted when unset, jsonPointers, jqPathExpressions)

Add optional spec.ignoreDifferences to the rendered ArgoCD Application
resources. This is needed for deployments where operator-mutated fields
(e.g. OpenStackControlPlane /spec/tls, BareMetalHost /status) cause
perpetual OutOfSync without ignoreDifferences.

Changes:
- values.schema.json: add ignoreDifferences array (items: object with
  additionalProperties) to the application definition; also allow the
  base finalizer string (without /background or /foreground suffix)
- _helpers.tpl: add rhoso-apps.ignoreDifferences helper
- application.yaml: render ignoreDifferences when present
- application_test.yaml: add 3 tests (omitted when unset, jsonPointers,
  jqPathExpressions)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Anthony Harivel <aharivel@redhat.com>
@aharivel aharivel requested a review from cjeanner June 23, 2026 14:13

@cjeanner cjeanner left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. @pinikomarov care to have a look as well? We might need a 0.3.1 tag once it's merged.

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