Skip to content

fix for selinux to make it work in openshift 4.X#104

Closed
bortek wants to merge 1 commit into
spiffe:mainfrom
bortek:selinux-fix-openshift-others
Closed

fix for selinux to make it work in openshift 4.X#104
bortek wants to merge 1 commit into
spiffe:mainfrom
bortek:selinux-fix-openshift-others

Conversation

@bortek
Copy link
Copy Markdown

@bortek bortek commented May 12, 2023

tested in openshift 4.11.37

Copy link
Copy Markdown

@erikgb erikgb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer if this was fixed inside the CSI driver, and consider the init container to be a workaround.

mountPath: /registration
initContainers:
- name: set-context
image: ubuntu:22.04
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably consider a more lightweight image. https://catalog.redhat.com/software/containers/ubi9-minimal/61832888c0d15aff4912fe0d could be an option that is quite small and contains chcon.

@azdagron
Copy link
Copy Markdown
Member

Thanks for opening this @bortek, I think we're going to go with a different direction and have the CSI driver set the label itself (see #105 )

@azdagron azdagron closed this May 14, 2023
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