Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unsupported PodSecurityPolicy #918

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

Praveenrajmani
Copy link
Collaborator

@Praveenrajmani Praveenrajmani commented Jul 23, 2024

PSP is deprecated from v1.21 and removed from k8s v1.24. The dependent pkgs have already removed the PSP support. It is time to remove PSP and stop supporting it.

To be added in release notes

No support for PSP from v4.1.x

As PodSecurityPolicy was deprecated in kubernetes v1.21 and removed from kubernetes in v1.25. Its support will be removed from DirectPV v4.1.x.

If you wish to retain the support during the upgrade from versions < v4.1.x to v4.1.x, please follow the steps below

STEP 1: Take a backup before upgrade

> kubectl get psp directpv-min-io -o yaml > psp.yaml
> kubectl get clusterrolebinding psp-directpv-min-io -o yaml > psp-crb.yaml

STEP 2: Apply the backup after upgrade

> kubectl apply -f psp.yaml
> kubectl apply -f psp-crb.yaml

NOTE: The release will be a minor version bump - v4.1.0

docs/upgrade.md Outdated Show resolved Hide resolved
@Praveenrajmani Praveenrajmani force-pushed the upgrade-deps branch 2 times, most recently from 2cb5783 to 89b8a4e Compare July 24, 2024 12:13
docs/tools/install.sh Outdated Show resolved Hide resolved
@balamurugana balamurugana changed the title Remove PSP support and upgrade go pkgs Remove unsupported PodSecurityPolicy Aug 1, 2024
@balamurugana balamurugana merged commit 55e49b3 into minio:master Aug 1, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants