Skip to content

Make native sidecar default for proxy container (cleanup) #1589

@aramase

Description

@aramase

The PR to add native sidecar support for the proxy has been merged.

There is a check to determine whether the cluster is running the minimum required version. We should be able to remove this check once the webhook is only supported for clusters running version 1.32 or later.

// "SidecarContainers" went beta in 1.29. With the 3 version skew policy,
// between API server and kubelet, 1.32 is the earliest version this can be
// safely used.
useNativeSidecar, err := serverVersionGTE(discoveryClient, utilversion.MajorMinor(1, 32))
if err != nil {
return nil, errors.Wrap(err, "failed to check kubernetes version")
}

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions