│ Error: error occurred during private registry creation: error: map[Private Registry Create:Failed to add new private registry to NKE]
│
│ with nutanix_karbon_private_registry.harbor,
│ on 03_registry.tf line 1, in resource "nutanix_karbon_private_registry" "harbor":
│ 1: resource "nutanix_karbon_private_registry" "harbor" {
│
╵
Steps to Reproduce
terraform apply
Important Factors
The creation of the private registry works without the parameter "cert".
The test environment is airgapped.
The account use with terraform is admin.
The manual way to declare a private registry with a certificate works
The CA certificate has been checked many times and it is in the right format
Nutanix Cluster Information
Terraform Version
1.5.7
Affected Resource(s)
resource nutanix_karbon_private_registry
Terraform Configuration Files
Debug Output
On the pcvm /home/data/nutanix/logs_karbon_core there is a log saying
illegal base64 data at input byte 0
I tried multiple ways to implement certificate in base64 :
Expected Behavior
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
Actual Behavior
Steps to Reproduce
terraform apply
Important Factors