code: func (k *KernelValidator) validateKernelConfig(kSpec KernelSpec) error {
  	allConfig, err := k.getKernelConfig()
  	if err != nil {
  		return errors.Wrap(err, "failed to parse kernel config")
  	}
  	return k.validateCachedKernelConfig(allConfig, kSpec)
  }
docs: // validateKernelConfig validates the kernel configurations.