installplan.crd.yaml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. apiVersion: apiextensions.k8s.io/v1beta1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. name: installplans.operators.coreos.com
  5. annotations:
  6. displayName: Install Plan
  7. description: Represents a plan to install and resolve dependencies for Cluster Services
  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: installplans
  18. singular: installplan
  19. kind: InstallPlan
  20. listKind: InstallPlanList
  21. categories:
  22. - all
  23. - olm
  24. additionalPrinterColumns:
  25. - name: CSV
  26. type: string
  27. description: The first CSV in the list of clusterServiceVersionNames
  28. JSONPath: .spec.clusterServiceVersionNames[0]
  29. - name: Source
  30. type: string
  31. description: The catalog source for the specified CSVs.
  32. JSONPath: .spec.source
  33. - name: Approval
  34. type: string
  35. description: The approval mode
  36. JSONPath: .spec.approval
  37. - name: Approved
  38. type: boolean
  39. JSONPath: .spec.approved
  40. subresources:
  41. # status enables the status subresource.
  42. status: {}
  43. validation:
  44. openAPIV3Schema:
  45. properties:
  46. spec:
  47. type: object
  48. description: Spec for an InstallPlan
  49. required:
  50. - clusterServiceVersionNames
  51. - approval
  52. properties:
  53. source:
  54. type: string
  55. description: Name of the preferred CatalogSource
  56. sourceNamespace:
  57. type: string
  58. description: Namespace that contains the preffered CatalogSource
  59. clusterServiceVersionNames:
  60. type: array
  61. description: A list of the names of the Cluster Services
  62. items:
  63. type: string
  64. anyOf:
  65. - properties:
  66. approval:
  67. enum:
  68. - Manual
  69. approved:
  70. type: boolean
  71. required:
  72. - approved
  73. - properties:
  74. approval:
  75. enum:
  76. - Automatic