8000 feature: support zarf image modification in reconciliation by nfoucha · Pull Request #500 · konpyutaika/nifikop · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feature: support zarf image modification in reconciliation #500

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 17, 2025

Conversation

nfoucha
Copy link
Contributor
@nfoucha nfoucha commented Dec 19, 2024
Q A
Bug fix? no
New feature? yes
API breaks? no
Deprecations? no
Related tickets N/A
License Apache 2.0

What's in this PR?

This PR checks to see if the pod spec includes an indication that it has been manipulated by Zarf. If so, it will discern the original image string from the Zarf modified one and compare that against the incoming spec.

Why?

Without this change, the current and incoming pod specs will always be out of sync despite using identical images (albeit from different registries due to the air-gapped design of Zarf) resulting in an infinite reconciliation loop.

Additional context

This was tested in conjunction with #499 to ensure compatibility with the Istio diff logic changes.

Checklist

  • Implementation tested
  • Error handling code meets the guideline
  • Logging code meets the guideline
  • User guide and development docs updated (if needed)
  • Append changelog with changes

To Do

  • This PR does not support additional containers/init containers currently, only the Nifi container.

@juldrixx juldrixx merged commit 6e11a30 into konpyutaika:master Apr 17, 2025
5 checks passed
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
0