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

From wikieduonline
Jump to navigation Jump to search
 
Line 11: Line 11:
 
  * Deployment in version "v1" cannot be handled as a Deployment: json: cannot unmarshal string into Go struct field  
 
  * 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]]
 
  PodSpec.spec.template.[[spec.imagePullSecrets]] of type v1.[[LocalObjectReference]]
 +
 +
Solution: imagePullSecrets: [{ name: yourSecret }]
  
  

Latest revision as of 05:39, 18 July 2024

Advertising: