Skip to content

Commit

Permalink
Merge pull request #1536 from alphagov/set-readonlyrootfilesystem-on-…
Browse files Browse the repository at this point in the history
…argo-workflow-pods

Set readOnlyRootFileSystem on Argo Workflow pods
  • Loading branch information
nimalank7 authored Nov 27, 2024
2 parents e56ffcb + 100f300 commit e7e840d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terraform/deployments/cluster-services/argo.tf
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ resource "helm_release" "argo_workflows" {
}
}
securityContext = {
readOnlyRootFileSystem = true
allowPrivilegeEscalation = false
capabilities = {
drop = ["ALL"]
Expand All @@ -276,6 +277,7 @@ resource "helm_release" "argo_workflows" {

mainContainer = {
securityContext = {
readOnlyRootFileSystem = true
allowPrivilegeEscalation = false
capabilities = {
drop = ["ALL"]
Expand Down

0 comments on commit e7e840d

Please sign in to comment.