~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
main
310 lines · 9.8 KB Raw History
apiVersion: apis.kcp.io/v1alpha1
kind: APIResourceSchema
metadata:
  name: v1alpha1-4.remoteopenbaos.socialweb.computer
  labels:
    contracts.socialweb.computer/vaults: v1alpha1
spec:
  group: socialweb.computer
  names:
    kind: RemoteOpenBao
    listKind: RemoteOpenBaoList
    plural: remoteopenbaos
    singular: remoteopenbao
  scope: Cluster
  versions:
    - name: v1alpha1
      served: true
      storage: true
      subresources:
        status: {}
      schema:
        type: object
        properties:
          apiVersion:
            type: string
          kind:
            type: string
          metadata:
            type: object
          spec:
            type: object
            properties:
              url:
                type: string
              tls:
                type: object
                properties:
                  enabled:
                    type: boolean
                  caRef:
                    type: object
                    properties:
                      group:
                        type: string
                      kind:
                        type: string
                        maxLength: 63
                      name:
                        type: string
                        maxLength: 253
                      workspace:
                        type: string
                    required:
                      - kind
                      - name
                  caSecretRef:
                    type: object
                    properties:
                      vault:
                        type: object
                        properties:
                          group:
                            type: string
                          kind:
                            type: string
                            maxLength: 63
                          name:
                            type: string
                            maxLength: 253
                          workspace:
                            type: string
                        required:
                          - kind
                          - name
                      mount:
                        type: string
                      path:
                        type: string
                      key:
                        type: string
                    required:
                      - mount
                      - path
                  serverName:
                    type: string
              auth:
                type: object
                properties:
                  method:
                    type: string
                    enum:
                      - token
                      - approle
                      - cert
                  tokenRef:
                    type: object
                    properties:
                      vault:
                        type: object
                        properties:
                          group:
                            type: string
                          kind:
                            type: string
                            maxLength: 63
                          name:
                            type: string
                            maxLength: 253
                          workspace:
                            type: string
                        required:
                          - kind
                          - name
                      mount:
                        type: string
                      path:
                        type: string
                      key:
                        type: string
                    required:
                      - mount
                      - path
                  approle:
                    type: object
                    properties:
                      roleIdRef:
                        type: object
                        properties:
                          vault:
                            type: object
                            properties:
                              group:
                                type: string
                              kind:
                                type: string
                                maxLength: 63
                              name:
                                type: string
                                maxLength: 253
                              workspace:
                                type: string
                            required:
                              - kind
                              - name
                          mount:
                            type: string
                          path:
                            type: string
                          key:
                            type: string
                        required:
                          - mount
                          - path
                      secretIdRef:
                        type: object
                        properties:
                          vault:
                            type: object
                            properties:
                              group:
                                type: string
                              kind:
                                type: string
                                maxLength: 63
                              name:
                                type: string
                                maxLength: 253
                              workspace:
                                type: string
                            required:
                              - kind
                              - name
                          mount:
                            type: string
                          path:
                            type: string
                          key:
                            type: string
                        required:
                          - mount
                          - path
                    required:
                      - roleIdRef
                      - secretIdRef
                  cert:
                    type: object
                    properties:
                      certRef:
                        type: object
                        properties:
                          vault:
                            type: object
                            properties:
                              group:
                                type: string
                              kind:
                                type: string
                                maxLength: 63
                              name:
                                type: string
                                maxLength: 253
                              workspace:
                                type: string
                            required:
                              - kind
                              - name
                          mount:
                            type: string
                          path:
                            type: string
                          key:
                            type: string
                        required:
                          - mount
                          - path
                      keyRef:
                        type: object
                        properties:
                          vault:
                            type: object
                            properties:
                              group:
                                type: string
                              kind:
                                type: string
                                maxLength: 63
                              name:
                                type: string
                                maxLength: 253
                              workspace:
                                type: string
                            required:
                              - kind
                              - name
                          mount:
                            type: string
                          path:
                            type: string
                          key:
                            type: string
                        required:
                          - mount
                          - path
                    required:
                      - certRef
                      - keyRef
                required:
                  - method
              mounts:
                type: object
                properties:
                  kv:
                    type: string
                  pki:
                    type: string
                  auth:
                    type: string
              capabilities:
                type: array
                items:
                  type: string
              suspend:
                type: boolean
            required:
              - url
          status:
            type: object
            properties:
              phase:
                type: string
                enum:
                  - Pending
                  - Ready
                  - Failed
                  - Suspended
              ready:
                type: boolean
              endpoint:
                type: string
              address:
                type: string
              initialized:
                type: boolean
              version:
                type: string
              sealed:
                type: boolean
              lastCheckedAt:
                type: string
                format: date-time
              conditions:
                type: array
                items:
                  type: object
                  x-kubernetes-preserve-unknown-fields: true
              message:
                type: string
      additionalPrinterColumns:
        - name: Phase
          type: string
          jsonPath: .status.phase
        - name: Ready
          type: boolean
          jsonPath: .status.ready
        - name: Endpoint
          type: string
          jsonPath: .status.endpoint
        - name: Sealed
          type: boolean
          jsonPath: .status.sealed