#5050 allowed image pull secrets to be referenced for both Fleet controller and agent deployments.
Fleet propagates referenced image pull secrets to all downstream clusters.
However, in some cases involving Fleet in Rancher, distinct sets of image pull secrets may need to be referenced for different downstream clusters, which the current Fleet implementation does not cover.
Suggested solution: Fleet Cluster objects could support a new agentPullSecrets field, which would override Fleet's global.cattle.imagePullSecrets Helm value when both are non-nil.
Rancher controllers already propagate image pull secrets through rancher/rancher#54180 (see rancher/rancher#55071), meaning that in this case, Fleet's propagation of such secrets needs to be disabled.
#5050 allowed image pull secrets to be referenced for both Fleet controller and agent deployments.
Fleet propagates referenced image pull secrets to all downstream clusters.
However, in some cases involving Fleet in Rancher, distinct sets of image pull secrets may need to be referenced for different downstream clusters, which the current Fleet implementation does not cover.
Suggested solution: Fleet
Clusterobjects could support a newagentPullSecretsfield, which would override Fleet'sglobal.cattle.imagePullSecretsHelm value when both are non-nil.Rancher controllers already propagate image pull secrets through rancher/rancher#54180 (see rancher/rancher#55071), meaning that in this case, Fleet's propagation of such secrets needs to be disabled.