Repository navigation
[19.0-beta] fix: Goose pod security context - #2191
Conversation
When .spec.storage is configured, Goose uses the mounted volume as its working directory. A root-owned PVC prevents the Goose process, which runs as UID/GID 1000, from writing its home-directory data under /home/goose, including configuration and transcripts: mkdir: cannot create directory '/home/goose/.config': Permission denied Apply the standard restrictive pod and container security contexts with Goose UID/GID 1000, matching openstackclient. Set fsGroup to 1000 so supported PVC-backed working directories are group-writable and Goose can persist its home-directory data. Depends-On: openstack-k8s-operators/lib-common#780
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dprince, openshift-cherrypick-robot The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
e5d9553
into
openstack-k8s-operators:19.0-beta
This is an automated cherry-pick of #2172
/assign lpiwowar