Skip to content

[19.0-beta] fix: Goose pod security context - #2191

Open
openshift-cherrypick-robot wants to merge 1 commit into
openstack-k8s-operators:19.0-betafrom
openshift-cherrypick-robot:cherry-pick-2172-to-19.0-beta
Open

openshift-cherrypick-robot wants to merge 1 commit into
openstack-k8s-operators:19.0-betafrom
openshift-cherrypick-robot:cherry-pick-2172-to-19.0-beta

Conversation

@openshift-cherrypick-robot

Copy link
Copy Markdown

This is an automated cherry-pick of #2172

/assign lpiwowar

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
@openshift-ci

openshift-ci Bot commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: openshift-cherrypick-robot
Once this PR has been reviewed and has the lgtm label, please assign fultonj for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai

coderabbitai Bot commented Oct 23, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: f5934c8d-3d1f-4f9c-8b91-1029e5818e2e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@lpiwowar
lpiwowar requested review from abays, dprince and stuggi October 23, 2026 08:04

This branch has not been deployed

No deployments
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