Skip to content

Enable agent image pull secrets propagation to be disabled #5254

Description

@weyfonk

#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.

Metadata

Metadata

Fields

No fields configured for Feature.

Projects

Status
✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions