catalogsource.crd.yaml 2.3 KB

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