Skip to content

storage/kubernetes: Connectors are cached indefinitely #1672

@ktravis

Description

@ktravis

The type used to store connectors in kubernetes has a ResourceVersion field

ResourceVersion string `json:"resourceVersion,omitempty"`

Which shadows the "actual" ResourceVersion specified by ObjectMeta. This causes the comparison here

if !ok || storageConnector.ResourceVersion != conn.ResourceVersion {

To always report the same (empty) version, meaning cached connectors are never updated if they change in kubernetes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions