Skip to content
Merged
Show file tree
Hide file tree
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
added new test cases for pod_securitycontext
  • Loading branch information
ausbru87 committed Jul 24, 2025
commit 83c0944d67b1a8662a641d08280446ae1292d81a
4 changes: 4 additions & 0 deletions helm/coder/tests/chart_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ var testCases = []testCase{
name: "partial_resources",
expectedError: "",
},
{
name: "pod_securitycontext",
expectedError: "",
},
}

type testCase struct {
Expand Down
8 changes: 8 additions & 0 deletions helm/coder/tests/testdata/pod_securitycontext.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
coder:
image:
tag: latest
podSecurityContext:
fsgroup: 1000
runAsUser: 1000
runAsGroup: 1000
runAsNonRoot: true