You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a GitRepo is configured to target two or more clusters and the fleet.yaml file includes ${ .ClusterValues}, any missing templateValues in one of the cluster's spec will prevent updates or changes from being deployed to the clusters where templateValues are properly configured.
Expected Behavior
The changes should be applied in the cluster where the templatesValues are defined.
UI should show the clear Error message
Steps To Reproduce
Install rancher 2.9.2 with fleet 0.10.3v
Register two downstream clusters, ensuring that one of them includes templateValues.
When a workload targets multiple clusters, and one of those clusters is missing a template value, the following happens:
the workload is not deployed to any of the target clusters
a reconcile error appears, but only in fleet-controller pod logs. They are not visible in the Rancher UI.
Solution
Fleet now reflects targeting errors, such as those caused by missing template values on clusters, in the bundle and GitRepo statuses.
Fleet deliberately refrains from creating bundle deployments for clusters without targeting issues (see this comment). A bundle working with a subset of its expected bundle deployments would be expected to cause inconsistencies in resource counts and a possible cascade of other issues. This could be revisited in a further iteration.
Testing
Engineering Testing
Manual Testing
N/A
Automated Testing
End-to-end tests have been added to check for the presence of targeting errors in bundle and GitRepo statuses.
QA Testing Considerations
Suggestion: follow the reproduction steps above, and check that:
This is a backport issue for #2943, automatically created via GitHub Actions workflow initiated by @p-se
Original issue body:
Is there an existing issue for this?
Current Behavior
If a GitRepo is configured to target two or more clusters and the
fleet.yaml
file includes${ .ClusterValues}
, any missing templateValues in one of the cluster's spec will prevent updates or changes from being deployed to the clusters wheretemplateValues
are properly configured.Expected Behavior
Steps To Reproduce
templateValues
.templateValues
Environment
Logs
Anything else?
current behavior:
The text was updated successfully, but these errors were encountered: