Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gitlab-runner
gitlab-runner
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,107
    • Issues 2,107
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 207
    • Merge requests 207
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • gitlab-runnergitlab-runner
  • Issues
  • #26998

Closed
Open
Created Sep 23, 2020 by Horatiu Eugen Vlad@hvladContributor

Add kubernetes runners allowPrivilegeEscalation security context configuration

Description

Provide the capability to configure the allowPrivilegeEscalation security context for the runner instances started on a kubernetes cluster that has OPA enabled:

ERROR: Job failed (system failure): prepare environment: admission webhook "validation.gatekeeper.sh" denied the request: [denied by psp-allow-privilege-escalation-container] Privilege escalation container is not allowed: build
[denied by psp-allow-privilege-escalation-container] Privilege escalation container is not allowed: helper. Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading for more information

Proposal

Add new configuration option allow-privilege-escalation for runners.kubernetes that allow the user to specify the expected security context for the runner contianers.

Links to related issues and merge requests / references

MR !2430 (merged)

Edited Sep 23, 2020 by Horatiu Eugen Vlad
Assignee
Assign to
13.6
Milestone
13.6 (Past due)
Assign milestone
Time tracking