05-catalogsource.crd.yaml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. ##---
  2. # Source: olm/templates/05-catalogsource.crd.yaml
  3. apiVersion: apiextensions.k8s.io/v1beta1
  4. kind: CustomResourceDefinition
  5. metadata:
  6. name: catalogsources.operators.coreos.com
  7. annotations:
  8. displayName: CatalogSource
  9. description: A source configured to find packages and updates.
  10. spec:
  11. group: operators.coreos.com
  12. version: v1alpha1
  13. versions:
  14. - name: v1alpha1
  15. served: true
  16. storage: true
  17. scope: Namespaced
  18. names:
  19. plural: catalogsources
  20. singular: catalogsource
  21. kind: CatalogSource
  22. listKind: CatalogSourceList
  23. categories:
  24. - all
  25. - olm
  26. additionalPrinterColumns:
  27. - name: Name
  28. type: string
  29. description: The pretty name of the catalog
  30. JSONPath: .spec.displayName
  31. - name: Type
  32. type: string
  33. description: The type of the catalog
  34. JSONPath: .spec.sourceType
  35. - name: Publisher
  36. type: string
  37. description: The publisher of the catalog
  38. JSONPath: .spec.publisher
  39. - name: Age
  40. type: date
  41. JSONPath: .metadata.creationTimestamp
  42. validation:
  43. openAPIV3Schema:
  44. type: object
  45. description: Represents a subscription to a source and channel
  46. required:
  47. - spec
  48. properties:
  49. spec:
  50. type: object
  51. description: Spec for a catalog source.
  52. required:
  53. - sourceType
  54. properties:
  55. sourceType:
  56. type: string
  57. description: The type of the source. Currently the only supported type is "internal".
  58. enum:
  59. - internal
  60. configMap:
  61. type: string
  62. description: The name of a ConfigMap that holds the entries for an in-memory catalog.
  63. displayName:
  64. type: string
  65. description: Pretty name for display
  66. publisher:
  67. type: string
  68. description: The name of an entity that publishes this catalog
  69. secrets:
  70. type: array
  71. description: A set of secrets that can be used to access the contents of the catalog. It is best to keep this list small, since each will need to be tried for every catalog entry.
  72. items:
  73. type: string
  74. description: A name of a secret in the namespace where the CatalogSource is defined.