~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
main
85 lines · 2.1 KB Raw History
apiVersion: apis.kcp.io/v1alpha1
kind: APIResourceSchema
metadata:
  name: v1alpha1-2.vaultcredentials.socialweb.computer
spec:
  group: socialweb.computer
  names:
    kind: VaultCredential
    listKind: VaultCredentialList
    plural: vaultcredentials
    singular: vaultcredential
  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:
              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
          status:
            type: object
            properties:
              observedGeneration:
                type: integer
                format: int64
              exists:
                type: boolean
              expiresAt:
                type: string
              rotationDue:
                type: boolean
              conditions:
                type: array
                items:
                  type: object
                  x-kubernetes-preserve-unknown-fields: true
      additionalPrinterColumns:
        - name: Server
          type: string
          jsonPath: .spec.vault.name
        - name: Path
          type: string
          jsonPath: .spec.path
        - name: RotationDue
          type: boolean
          jsonPath: .status.rotationDue
        - name: Age
          type: date
          jsonPath: .metadata.creationTimestamp