Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.
This repository is currently being migrated. It's locked while the migration is in progress.

Remove dead code after dropping support for k8s 1.16 and earlier #297

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

croomes
Copy link
Contributor

@croomes croomes commented Jan 14, 2021

Removes some complexity that was required for earlier versions of Kubernetes to select appropriate images. From k8s 1.15 onwards, image selection is static, apart from adding the csi-resizer from k8s 1.16 onwards.

This helps avoid confusion about which images should be pre-loaded into private registries.

Also removes the NFS controller that was used in StorageOS v1.

There are no changes to the StorageOSCluster CR so upgrades will work as before. Attempting to run the operator on k8s 1.14 or earlier will fail with an error: kubernetes 1.15.0 or above required.

@avestuk has agreed to test across the supported platforms prior to merge.

@croomes croomes force-pushed the remove-old-images branch 2 times, most recently from b922906 to 50b32c2 Compare January 19, 2021 17:56
@croomes croomes marked this pull request as draft April 23, 2021 11:27
@croomes croomes added the do-not-merge/wip The PR is still work in progress or not ready to be merged label Apr 23, 2021
@mhmxs mhmxs force-pushed the remove-old-images branch from b505ddc to 9a2b224 Compare May 10, 2021 11:25
@mhmxs mhmxs changed the title Remove dead code after dropping support for k8s 1.14 and earlier Remove dead code after dropping support for k8s 1.16 and earlier May 10, 2021
@mhmxs mhmxs force-pushed the remove-old-images branch from 9a2b224 to b505ddc Compare May 10, 2021 11:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
do-not-merge/wip The PR is still work in progress or not ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant