subscription.crd.yaml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. apiVersion: apiextensions.k8s.io/v1beta1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. name: subscriptions.operators.coreos.com
  5. annotations:
  6. displayName: Subscription
  7. description: Subcribes service catalog to a source and channel to recieve updates for packages.
  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: subscriptions
  18. singular: subscription
  19. kind: Subscription
  20. listKind: SubscriptionList
  21. categories:
  22. - all
  23. - olm
  24. additionalPrinterColumns:
  25. - name: Package
  26. type: string
  27. description: The package subscribed to
  28. JSONPath: .spec.name
  29. - name: Source
  30. type: string
  31. description: The catalog source for the specified package
  32. JSONPath: .spec.source
  33. - name: Channel
  34. type: string
  35. description: The channel of updates to subscribe to
  36. JSONPath: .spec.channel
  37. subresources:
  38. # status enables the status subresource.
  39. status: {}
  40. validation:
  41. openAPIV3Schema:
  42. properties:
  43. spec:
  44. type: object
  45. description: Spec for a Subscription
  46. required:
  47. - source
  48. - name
  49. properties:
  50. source:
  51. type: string
  52. description: Name of a CatalogSource that defines where and how to find the channel
  53. sourceNamespace:
  54. type: string
  55. description: The Kubernetes namespace where the CatalogSource used is located
  56. name:
  57. type: string
  58. description: Name of the package that defines the application
  59. channel:
  60. type: string
  61. description: Name of the channel to track
  62. startingCSV:
  63. type: string
  64. description: Name of the AppType that this subscription tracks
  65. installPlanApproval:
  66. type: string
  67. description: Approval mode for emitted InstallPlans
  68. enum:
  69. - Manual
  70. - Automatic