database.iwanhae.kr_postgresqls.yaml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. ---
  2. apiVersion: apiextensions.k8s.io/v1
  3. kind: CustomResourceDefinition
  4. metadata:
  5. annotations:
  6. controller-gen.kubebuilder.io/version: v0.13.0
  7. name: postgresqls.database.iwanhae.kr
  8. spec:
  9. group: database.iwanhae.kr
  10. names:
  11. kind: PostgreSQL
  12. listKind: PostgreSQLList
  13. plural: postgresqls
  14. singular: postgresql
  15. scope: Namespaced
  16. versions:
  17. - additionalPrinterColumns:
  18. - jsonPath: .status.status
  19. name: Status
  20. type: string
  21. name: v1
  22. schema:
  23. openAPIV3Schema:
  24. description: PostgreSQL is the Schema for the postgresqls API
  25. properties:
  26. apiVersion:
  27. description: 'APIVersion defines the versioned schema of this representation
  28. of an object. Servers should convert recognized schemas to the latest
  29. internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  30. type: string
  31. kind:
  32. description: 'Kind is a string value representing the REST resource this
  33. object represents. Servers may infer this from the endpoint the client
  34. submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
  35. type: string
  36. metadata:
  37. type: object
  38. spec:
  39. description: PostgreSQLSpec defines the desired state of PostgreSQL
  40. properties:
  41. database:
  42. description: Autogenerated name for default Database
  43. type: string
  44. password:
  45. description: Password for authentication
  46. type: string
  47. user:
  48. description: Username for authentication
  49. type: string
  50. version:
  51. description: Version of Postgres to deploy. [16.0]
  52. type: string
  53. required:
  54. - database
  55. - password
  56. - user
  57. - version
  58. type: object
  59. status:
  60. description: PostgreSQLStatus defines the observed state of PostgreSQL
  61. properties:
  62. status:
  63. type: string
  64. required:
  65. - status
  66. type: object
  67. type: object
  68. served: true
  69. storage: true
  70. subresources:
  71. status: {}