Skip to content

Add 'get' verb for nodes in kube-flannel-psp.yml#2359

Open
lushihuan wants to merge 1 commit intoflannel-io:masterfrom
lushihuan:add-nodes-get-verb
Open

Add 'get' verb for nodes in kube-flannel-psp.yml#2359
lushihuan wants to merge 1 commit intoflannel-io:masterfrom
lushihuan:add-nodes-get-verb

Conversation

@lushihuan
Copy link

Description

Type of fix: Bug fix / Security policy update

Why this PR should be merged:
The current kube-flannel-psp.yml is missing the get verb for the nodes resource. This causes permission issues when flannel needs to retrieve node information during initialization or operation.

Todos

  • Tests
  • Documentation
  • Release note

Release Note

Add 'get' verb for nodes in kube-flannel-psp.yml to fix permission issues when flannel retrieves node information

@lushihuan lushihuan changed the title Add 'get' verb for nodes in kube-flannel PSP Add 'get' verb for nodes in kube-flannel-psp.yml Feb 28, 2026
@manuelbuil
Copy link
Collaborator

Psp is super deprecated. We should remove any file related to psp

@lushihuan
Copy link
Author

lushihuan commented Mar 4, 2026

However, this method is still necessary for some older versions of K8s or when upgrading from older versions of Flannel

@manuelbuil
Copy link
Collaborator

However, this method is still necessary for some older versions of K8s or when upgrading from older versions of Flannel

It's more than 2 years old and the last version that supported it was 1.24: https://endoflife.date/kubernetes

@lushihuan
Copy link
Author

Since this file is still being provided in the project, we should keep it correct and usable for those who rely on it.

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.

2 participants