message: fix(knative-icons): show icons for event sources
diff: +import { referenceForModel } from '@console/internal/module/k8s';
  import * as openshiftImg from '@console/internal/imgs/logos/openshift.svg';
  import * as apiServerSourceImg from '../imgs/logos/apiserversource.png';
  import * as camelSourceImg from '../imgs/logos/camelsource.svg';
  import * as containerSourceImg from '../imgs/logos/containersource.png';
  import * as cronJobSourceImg from '../imgs/logos/cronjobsource.png';
  import * as kafkaSourceImg from '../imgs/logos/kafkasource.svg';
  +import {
  + EventSourceCronJobModel,
  + EventSourceContainerModel,
  + EventSourceApiServerModel,
  + EventSourceCamelModel,
  + EventSourceKafkaModel,
  +} from '../models';
  export const getKnativeEventSourceIcon = (kind: string): string => {
  switch (kind) {
  - case 'ApiServerSource':
  + case referenceForModel(EventSourceApiServerModel):
  return apiServerSourceImg;
  - case 'CamelSource':
  + case referenceForModel(EventSourceCamelModel):
  return camelSourceImg;
  - case 'ContainerSource':
  + case referenceForModel(EventSourceContainerModel):
  return containerSourceImg;
  - case 'CronJobSource':
  + case referenceForModel(EventSourceCronJobModel):
  return cronJobSourceImg;
  - case 'KafkaSource':
  + case referenceForModel(EventSourceKafkaModel):
  return kafkaSourceImg;
  default:
  return openshiftImg;
  