Skip to content

Commit

Permalink
Merge pull request #109 from DFE-Digital/1890-security-aks-container-…
Browse files Browse the repository at this point in the history
…hardening-capabilities

Added capabilities to container security context
  • Loading branch information
VenkataChalla554 authored Jul 4, 2024
2 parents 6cded61 + 9869533 commit d74e687
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions aks/application/resources.tf
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,11 @@ resource "kubernetes_deployment" "main" {
seccomp_profile {
type = "RuntimeDefault"
}

capabilities {
drop = ["ALL"]
add = ["NET_BIND_SERVICE"]
}
}
}
}
Expand Down

0 comments on commit d74e687

Please sign in to comment.