Difference between revisions of "Cannot unmarshal XXXXX into Go struct field"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
   
 
   
 
  Solution: review if your [[variable definition]] needs to be changed from [[Terraform types|number]] to [[string]]
 
  Solution: review if your [[variable definition]] needs to be changed from [[Terraform types|number]] to [[string]]
 +
 +
 +
 +
Error: INSTALLATION FAILED: 1 error occurred:
 +
* Deployment in version "v1" cannot be handled as a Deployment: json: cannot unmarshal string into Go struct field
 +
PodSpec.spec.template.[[spec.imagePullSecrets]] of type v1.[[LocalObjectReference]]
 +
 +
Solution: imagePullSecrets: [{ name: yourSecret }]
  
  
Line 13: Line 21:
 
  [[could not unmarshal JSON]]: json: [[cannot unmarshal bool into Go value of type]]
 
  [[could not unmarshal JSON]]: json: [[cannot unmarshal bool into Go value of type]]
  
  on: cannot unmarshal bool into Go struct field [[IngressSpec.spec.tls]] of type []v1.[[IngressTLS]]
+
  [[json: cannot unmarshal bool into Go struct field IngressSpec.spec.tls of type v1.IngressTLS]]
  
 
== Related ==
 
== Related ==

Latest revision as of 05:39, 18 July 2024

Advertising: