Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add run_as_non_root=True to Kubernetes Starter template
  • Loading branch information
Cjkjvfnby authored Feb 10, 2025
commit 65df1fac110c77a004f8af37da64216f6a16c8be
5 changes: 3 additions & 2 deletions examples/templates/kubernetes/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,9 @@ resource "kubernetes_deployment" "main" {
}
spec {
security_context {
run_as_user = 1000
fs_group = 1000
run_as_user = 1000
fs_group = 1000
run_as_non_root = True
}

container {
Expand Down
Loading