Skip to content

Add runAsNonRoot override for images that require root#6

Merged
matzew merged 1 commit into
mainfrom
tweaks
Mar 23, 2026
Merged

Add runAsNonRoot override for images that require root#6
matzew merged 1 commit into
mainfrom
tweaks

Conversation

@matzew
Copy link
Copy Markdown
Owner

@matzew matzew commented Mar 23, 2026

The new MCP lifecycle operator defaults to runAsNonRoot: true on Deployments, causing images like insights, satellite, and ansible to fail with CreateContainerConfigError. Add a RunAsRoot catalog field, a UI checkbox, and wire the securityContext override through Run(), QuickDeploy(), and buildYAMLPreview().

The new MCP lifecycle operator defaults to runAsNonRoot: true on
Deployments, causing images like insights, satellite, and ansible to
fail with CreateContainerConfigError. Add a RunAsRoot catalog field,
a UI checkbox, and wire the securityContext override through Run(),
QuickDeploy(), and buildYAMLPreview().

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
@matzew matzew merged commit 8c62b6a into main Mar 23, 2026
2 of 3 checks passed
@matzew matzew deleted the tweaks branch March 23, 2026 14:48
matzew added a commit that referenced this pull request Mar 27, 2026
Sync documentation with changes from PRs #5, #6, and #8:
- Add one-click deploy, root override, and gateway integration to features
- Expand catalog JSON example with crTemplate, configMaps, runAsRoot fields
- Fix Makefile targets (docker-build/push → image-build/push)
- Document new cluster operation targets (install, rollout, release, dist)
- Update project structure with test files, partials, and docs directory

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
matzew added a commit that referenced this pull request Mar 27, 2026
Sync documentation with changes from PRs #5, #6, and #8:
- Add one-click deploy, root override, and gateway integration to features
- Expand catalog JSON example with crTemplate, configMaps, runAsRoot fields
- Fix Makefile targets (docker-build/push → image-build/push)
- Document new cluster operation targets (install, rollout, release, dist)
- Update project structure with test files, partials, and docs directory

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant