You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When privilege_separation is disabled, the resource returns a null token. In addition the second issue is the resource is missing the ability to set acls for when the default privilege_separate is enabled
To Reproduce
Steps to reproduce the behavior:
# Create a new role and user for the CSI plugin
resource "proxmox_virtual_environment_role" "csi" {
role_id = "CSI"
privileges = [
"VM.Audit",
"VM.Config.Disk",
"Datastore.Allocate",
"Datastore.AllocateSpace",
"Datastore.Audit"
]
}
resource "proxmox_virtual_environment_user" "kubernetes_csi" {
user_id = "kubernetes-csi@pve"
comment = "Managed by Terraform"
acl {
path = "/"
propagate = true
role_id = proxmox_virtual_environment_role.csi.role_id
}
}
resource "proxmox_virtual_environment_user_token" "kubernetes_csi_token" {
comment = "Managed by Terraform"
expiration_date = "2033-01-01T22:00:00Z"
token_name = "kubernetes-csi-token"
user_id = proxmox_virtual_environment_user.kubernetes_csi.user_id
privileges_separation = false
}
The text was updated successfully, but these errors were encountered:
bpg
changed the title
proxmox_virtual_environment_user_token does not work with privilege_separation = falseproxmox_virtual_environment_user_token does not update privilege_separation = false
Dec 8, 2024
Describe the bug
When privilege_separation is disabled, the resource returns a null token. In addition the second issue is the resource is missing the ability to set acls for when the default privilege_separate is enabled
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: