06-installplan.crd.yaml 2.1 KB

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