Skip to content

Commit

Permalink
Added security context for container
Browse files Browse the repository at this point in the history
  • Loading branch information
VenkataChalla554 committed Jul 3, 2024
1 parent 6cded61 commit fd045af
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 fd045af

Please sign in to comment.