Skip to content

Log missing image pull secrets for agent deployments #5337

Description

@weyfonk

Multiple image pull secrets may be referenced by global.cattle.imagePullSecrets.
If any such secret is missing, and propagation of secrets to downstream clusters is enabled (i.e. the corresponding Cluster object's agentPullSecrets is nil), then the propagation will fail, leaving cluster registration unable to complete for that cluster.

We could improve that behaviour, issuing a warning log message if a secret is missing, and carrying on propagating the rest of secrets, without blocking cluster registration.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions