vitess.io/vitess@v0.16.2/go/vt/topo/k8stopo/VitessTopoNodes-crd.yaml (about)

     1  apiVersion: apiextensions.k8s.io/v1
     2  kind: CustomResourceDefinition
     3  metadata:
     4    name: vitesstoponodes.topo.vitess.io
     5  spec:
     6    group: topo.vitess.io
     7    versions:
     8    - name: v1beta1
     9      served: true
    10      storage: true
    11      additionalPrinterColumns:
    12      - name: Key
    13        type: string
    14        description: The full key path
    15        jsonPath: .data.key
    16      schema:
    17        openAPIV3Schema:
    18          type: object
    19          required:
    20            - data
    21          properties:
    22            data:
    23              type: object
    24              required:
    25                - key
    26                - value
    27              properties:
    28                key:
    29                  description: A file-path like key. Must be an absolute path. Must not end with a /.
    30                  type: string
    31                  pattern: '^\/.+[^\/]$'
    32                value:
    33                  description: A base64 encoded value. Must be a base64 encoded string or empty string.
    34                  type: string
    35                  pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"
    36                ephemeral:
    37                  description: Whether or not the node is considered ephemeral. True for lock and election nodes.
    38                  type: boolean
    39    scope: Namespaced
    40    names:
    41      plural: vitesstoponodes
    42      singular: vitesstoponode
    43      kind: VitessTopoNode