Skip to content

Conversation

reshnm
Copy link
Contributor

@reshnm reshnm commented Sep 16, 2025

What this PR does / why we need it:

There is a potential race condition when applying all kustomized Kubernetes resources at the same time as the Flux Kustomization that includes them leading to an error when running the manage-deployment-repo command.
To avoid this situation, filter the manifests and only apply the Manifests of Flux Kustomization Kind to the target cluster

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:

Only apply Manifests of Kind Flux Kustomization to the target cluster to avoid race conditions.

@reshnm reshnm requested a review from robertgraeff September 16, 2025 08:41
@robertgraeff robertgraeff merged commit b00e640 into main Sep 16, 2025
4 checks passed
@robertgraeff robertgraeff deleted the fix/only-apply-kustomization branch September 16, 2025 10:40
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