Difference between revisions of "--validate=false"

From wikieduonline
Jump to navigation Jump to search
 
Line 5: Line 5:
  
 
  error: error validating "yourfile": error validating data:  
 
  error: error validating "yourfile": error validating data:  
 +
 
  [ValidationError(PersistentVolumeClaim.metadata.finalizers): invalid type for  
 
  [ValidationError(PersistentVolumeClaim.metadata.finalizers): invalid type for  
 
  [[io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.finalizers]]: got "string", expected "array",  
 
  [[io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.finalizers]]: got "string", expected "array",  
 +
 
  ValidationError([[PersistentVolumeClaim]]): unknown field "name" in  
 
  ValidationError([[PersistentVolumeClaim]]): unknown field "name" in  
 
  [[io.k8s.api.core.v1.PersistentVolumeClaim]] ]; if you choose to ignore these errors, turn  
 
  [[io.k8s.api.core.v1.PersistentVolumeClaim]] ]; if you choose to ignore these errors, turn  
 +
 
  validation off with [[--validate=false]]
 
  validation off with [[--validate=false]]
  

Latest revision as of 10:57, 12 January 2024


error: error validating "main.tf": error validating data: invalid object to validate; if you choose to ignore these errors, turn validation off with --validate=false


error: error validating "yourfile": error validating data: 
[ValidationError(PersistentVolumeClaim.metadata.finalizers): invalid type for 
io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta.finalizers: got "string", expected "array", 

ValidationError(PersistentVolumeClaim): unknown field "name" in 
io.k8s.api.core.v1.PersistentVolumeClaim ]; if you choose to ignore these errors, turn 

validation off with --validate=false


See also[edit]

Advertising: