kubernetes_manifest
errors with x-kubernetes-preserve-unknown-fields
CRD of ArgoCD Application
#2375
Labels
kubernetes_manifest
errors with x-kubernetes-preserve-unknown-fields
CRD of ArgoCD Application
#2375
Terraform Version, Provider Version and Kubernetes Version
Affected Resource(s)
kubernetes_manifest
Terraform Configuration Files
Please see argoproj/argo-cd#16115 for config and repro case
Debug Output
Please see argoproj/argo-cd#16115 for output
Steps to Reproduce
terraform apply
the indicated manifest against argocd'sApplication
CRD from v2.8+, in which it adds thex-kubernetes-preserve-unknown-fields
annotation to a new field calledvaluesObject
Expected Behavior
It would be ideal if the provider could detect that there is not and never has been a value provided for the unknown field in my CR instance, so it can simply ignore the type change, but if it can't, then I would at least expect that the resource is deleted and recreated as indicated in #1928 (comment)
Actual Behavior
Apply error
Important Factoids
EKS 1.27
References
map(string)
cannot be inserted into CustomResource field of type object usingx-kubernetes-preserve-unknown-fields: true
#1930Community Note
The text was updated successfully, but these errors were encountered: