-
Notifications
You must be signed in to change notification settings - Fork 42
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
OpenShift & fsGroup SecurityContext #116
Comments
Interesting but Dragonfly binary also requires a specific fsGroup to let the binary inside have the required permissions on volumes. Any ideas on what do you think we should do? We could attach that group only when backups are scheduled but this would still cause this problem when there are backups needed. |
The random UIDs are per namespace not per pod, I wouldn't expect there to be an issue. |
So, We are trying to fix this. First, we want to explore how other Operators that also have a fsGroup being set work with Openshift @ArthurVardevanyan Do you have any ideas on how we should fix this? |
Here is an example from the Crunchy Postgres Operator: |
PR: #163 |
#163 merged, hence closing! |
This change in Operator 0.0.8 causes the pods to not start start due to OpenShift requiring the use of Random UIDs
OpenShift will inject a given fsGroup for a given namespace:
![image](https://private-user-images.githubusercontent.com/21159051/273480735-76583601-b9e4-489d-ad30-6f4447cffa22.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNTQzNjIsIm5iZiI6MTczOTE1NDA2MiwicGF0aCI6Ii8yMTE1OTA1MS8yNzM0ODA3MzUtNzY1ODM2MDEtYjllNC00ODlkLWFkMzAtNmY0NDQ3Y2ZmYTIyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDAyMjEwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU1ZjM1YWJhZThlYzBlN2Q0ZmQ4ZTBkMGZlMDc5ZTQyNTJmMWZmMDFmYjBhMGY2Yzg5ZGY5ZTBhYzg0YjNkYzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.o5NIrM-5JABR2xIM2rZpom5VbGTgXAlKNRao_Gp7xfQ)
REF:
The text was updated successfully, but these errors were encountered: