1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- ---
- apiVersion: apiextensions.k8s.io/v1
- kind: CustomResourceDefinition
- metadata:
- annotations:
- controller-gen.kubebuilder.io/version: v0.13.0
- name: postgresqls.database.iwanhae.kr
- spec:
- group: database.iwanhae.kr
- names:
- kind: PostgreSQL
- listKind: PostgreSQLList
- plural: postgresqls
- singular: postgresql
- scope: Namespaced
- versions:
- - additionalPrinterColumns:
- - jsonPath: .status.listenOn.node
- name: Node
- type: string
- - jsonPath: .status.listenOn.host
- name: Host
- type: string
- - jsonPath: .status.listenOn.port
- name: Port
- type: number
- - jsonPath: .status.status
- name: Status
- type: string
- name: v1
- schema:
- openAPIV3Schema:
- description: PostgreSQL is the Schema for the postgresqls API
- properties:
- apiVersion:
- description: 'APIVersion defines the versioned schema of this representation
- of an object. Servers should convert recognized schemas to the latest
- internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
- type: string
- kind:
- description: 'Kind is a string value representing the REST resource this
- object represents. Servers may infer this from the endpoint the client
- submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
- type: string
- metadata:
- type: object
- spec:
- description: PostgreSQLSpec defines the desired state of PostgreSQL
- properties:
- database:
- description: Autogenerated name for default Database
- type: string
- password:
- description: Password for authentication
- type: string
- user:
- description: Username for authentication
- type: string
- version:
- description: Version of Postgres to deploy. [16.0]
- type: string
- required:
- - database
- - password
- - user
- - version
- type: object
- status:
- description: PostgreSQLStatus defines the observed state of PostgreSQL
- properties:
- conditions:
- properties:
- pod:
- type: string
- service:
- type: string
- type: object
- listenOn:
- properties:
- host:
- type: string
- node:
- type: string
- port:
- format: int32
- type: integer
- type: object
- status:
- type: string
- type: object
- type: object
- served: true
- storage: true
- subresources:
- status: {}
|