-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
Description
Description
Recent Kubernetes releases introduced support for user namespaces, which can be enabled for a pod by setting hostUsers to false. As far as I can see, the Terraform provider does not support setting this parameter in its resources (kubernetes_pod, kubernetes_deployment, etc.).
Potential Terraform Configuration
A simple boolean option could be introduced to spec schema:
resource "kubernetes_pod" "test" {
metadata {
name = "terraform-example"
}
spec {
host_users = false
...References
- Kubernetes v1.33: User Namespaces enabled by default!
- Kubernetes Documentation: Use a User Namespace With a Pod
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Reactions are currently unavailable