Skip to content

Commit

Permalink
Set readOnlyRootFileSystem on Argo Workflow pods
Browse files Browse the repository at this point in the history
Description:
- As part of alphagov/govuk-helm-charts#1883
  • Loading branch information
nimalank7 committed Nov 27, 2024
1 parent e56ffcb commit 100f300
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 100f300

Please sign in to comment.