Skip to content

[Multi_K8s-Plugin] Extract images from initContainers and CronJob templates#39

Closed
mohammedfirdouss wants to merge 1 commit into
masterfrom
feat/multicluster-container-images
Closed

[Multi_K8s-Plugin] Extract images from initContainers and CronJob templates#39
mohammedfirdouss wants to merge 1 commit into
masterfrom
feat/multicluster-container-images

Conversation

@mohammedfirdouss

Copy link
Copy Markdown
Owner

What this PR does:
Extends FindContainerImages to also extract images from initContainers and from CronJob jobTemplate paths. Previously only spec.template.spec.containers[*].image was checked, so init container images and all CronJob images were silently ignored.

Why we need it:
Applications using init containers or CronJobs would have their images missing from version tracking and drift detection.

Which issue(s) this PR fixes:
Fixes pipe-cd#6446

Does this PR introduce a user-facing change?:

  • How are users affected by this change: Version tracking and drift detection now correctly include images from initContainers and CronJobs.
  • Is this breaking change: No
  • How to migrate (if breaking change): N/A

…CronJob templates

Signed-off-by: Mohammed Firdous <124298708+mohammedfirdouss@users.noreply.github.com>
@mohammedfirdouss

Copy link
Copy Markdown
Owner Author

Closing — PR opened against wrong repo. Will re-open against pipe-cd/pipecd.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[LFX Mentorship T-1 2026] Kubernetes Multi-Cluster Plugin #6446

1 participant