Skip to content

fix: Set defaults for the securityContext#149

Open
maksym-iv-ef wants to merge 2 commits into
mainfrom
sec-fix
Open

fix: Set defaults for the securityContext#149
maksym-iv-ef wants to merge 2 commits into
mainfrom
sec-fix

Conversation

@maksym-iv-ef
Copy link
Copy Markdown
Contributor

@maksym-iv-ef maksym-iv-ef commented May 29, 2026

Description

Introduce default security context for the deployment to align with trivy rules:

securityContext:
  capabilities:
    drop:
    - ALL
  readOnlyRootFilesystem: true
  runAsNonRoot: true
  runAsUser: 1000
  allowPrivilegeEscalation: false
  seccompProfile:
    type: RuntimeDefault

Please take the rules into the account when upgrading

Introduce default security context for the deployment to align with trivy rules:
```yaml
securityContext:
  capabilities:
    drop:
    - ALL
  readOnlyRootFilesystem: true
  runAsNonRoot: true
  runAsUser: 1000
  allowPrivilegeEscalation: false
  seccompProfile:
    type: RuntimeDefault
    ```
@maksym-iv-ef maksym-iv-ef self-assigned this May 29, 2026
@maksym-iv-ef maksym-iv-ef requested a review from alex-b-ef May 29, 2026 17:28
@maksym-iv-ef maksym-iv-ef changed the title fix: Security warnings from Semgrep/Trivy fix: Set defaults for the securityContext May 29, 2026
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