Skip to content

Harden deployment security context#167

Merged
gugu merged 2 commits intomainfrom
harden-security-context
Feb 24, 2026
Merged

Harden deployment security context#167
gugu merged 2 commits intomainfrom
harden-security-context

Conversation

@gugu
Copy link
Contributor

@gugu gugu commented Feb 22, 2026

  • Pod: runAsNonRoot, seccomp RuntimeDefault profile
  • Container: read-only root filesystem, drop all capabilities, no privilege escalation
  • Add emptyDir volumes for writable paths needed by nginx and node (/tmp, /var/lib/nginx, /var/log/nginx, /run, node_modules/.cache)
  • Fix strategy placement (was incorrectly nested under pod spec)

gugu and others added 2 commits February 22, 2026 14:23
- Pod: runAsNonRoot, seccomp RuntimeDefault profile
- Container: read-only root filesystem, drop all capabilities,
  no privilege escalation
- Add emptyDir volumes for writable paths needed by nginx and node
  (/tmp, /var/lib/nginx, /var/log/nginx, /run, node_modules/.cache)
- Fix strategy placement (was incorrectly nested under pod spec)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gugu gugu merged commit 4c35c33 into main Feb 24, 2026
1 check failed
@gugu gugu deleted the harden-security-context branch February 24, 2026 07:58
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