generated from terraform-ibm-modules/terraform-ibm-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
Description
Initial deploy sets VolumeName to "pvc-0c01d463-1ac9-4764-bb5e-25461e8574cc", but out helm upgrade is trying to set it to "". See error below on helm upgrade attempt:
2025/07/01 20:38:52 Terraform apply | Error: failed to replace object: PersistentVolumeClaim "cloud-pak-deployer-status" is invalid: spec: Forbidden: spec is immutable after creation except resources.requests and volumeAttributesClassName for bound claims
2025/07/01 20:38:52 Terraform apply | core.PersistentVolumeClaimSpec{
2025/07/01 20:38:52 Terraform apply | AccessModes: {"ReadWriteOnce"},
2025/07/01 20:38:52 Terraform apply | Selector: nil,
2025/07/01 20:38:52 Terraform apply | Resources: {Requests: {s"storage": {i: {...}, s: "10Gi", Format: "BinarySI"}}},
2025/07/01 20:38:52 Terraform apply | - VolumeName: "pvc-0c01d463-1ac9-4764-bb5e-25461e8574cc",
2025/07/01 20:38:52 Terraform apply | + VolumeName: "",
2025/07/01 20:38:52 Terraform apply | StorageClassName: &"ibmc-vpc-block-10iops-tier",
2025/07/01 20:38:52 Terraform apply | VolumeMode: &"Filesystem",
2025/07/01 20:38:52 Terraform apply | ... // 3 identical fields
2025/07/01 20:38:52 Terraform apply | }