github.com/giantswarm/apiextensions/v2@v2.6.2/config/crd/v1beta1/core.giantswarm.io_sparks.yaml (about)

     1  
     2  ---
     3  apiVersion: apiextensions.k8s.io/v1beta1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    annotations:
     7      controller-gen.kubebuilder.io/version: v0.2.4
     8    creationTimestamp: null
     9    name: sparks.core.giantswarm.io
    10  spec:
    11    group: core.giantswarm.io
    12    names:
    13      categories:
    14      - common
    15      - giantswarm
    16      kind: Spark
    17      listKind: SparkList
    18      plural: sparks
    19      singular: spark
    20    scope: Namespaced
    21    subresources:
    22      status: {}
    23    validation:
    24      openAPIV3Schema:
    25        description: "Spark is a Kubernetes resource (CR) which is based on the Spark
    26          CRD defined above. \n An example Spark resource can be viewed here https://github.com/giantswarm/apiextensions/blob/master/docs/cr/core.giantswarm.io_v1alpha1_spark.yaml"
    27        properties:
    28          apiVersion:
    29            description: 'APIVersion defines the versioned schema of this representation
    30              of an object. Servers should convert recognized schemas to the latest
    31              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    32            type: string
    33          kind:
    34            description: 'Kind is a string value representing the REST resource this
    35              object represents. Servers may infer this from the endpoint the client
    36              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    37            type: string
    38          metadata:
    39            type: object
    40          spec:
    41            description: SparkSpec is the interface which defines the input parameters
    42              for a newly rendered g8s ignition template.
    43            properties:
    44              values:
    45                additionalProperties:
    46                  type: string
    47                nullable: true
    48                type: object
    49            type: object
    50          status:
    51            description: SparkStatus holds the rendering result.
    52            properties:
    53              dataSecretName:
    54                description: DataSecretName is a name of the secret containing the rendered
    55                  ignition once created.
    56                type: string
    57              failureMessage:
    58                description: FailureMessage is a longer message indicating the reason
    59                  rendering failed (if it did).
    60                type: string
    61              failureReason:
    62                description: FailureReason is a short string indicating the reason rendering
    63                  failed (if it did).
    64                type: string
    65              ready:
    66                description: Ready will be true when the referenced secret contains
    67                  the rendered ignition and can be used for creating nodes.
    68                type: boolean
    69              verification:
    70                description: Verification is a hash of the rendered ignition to ensure
    71                  that it has not been changed when loaded as a remote file by the bootstrap
    72                  ignition. See https://coreos.com/ignition/docs/latest/configuration-v2_2.html
    73                properties:
    74                  algorithm:
    75                    description: The algorithm used for hashing. Must be sha512 for
    76                      now.
    77                    type: string
    78                  hash:
    79                    description: The content of the full rendered ignition hashed by
    80                      the corresponding algorithm.
    81                    type: string
    82                required:
    83                - algorithm
    84                - hash
    85                type: object
    86            required:
    87            - dataSecretName
    88            - failureMessage
    89            - failureReason
    90            - ready
    91            - verification
    92            type: object
    93        required:
    94        - metadata
    95        - spec
    96        type: object
    97    version: v1alpha1
    98    versions:
    99    - name: v1alpha1
   100      served: true
   101      storage: true
   102  status:
   103    acceptedNames:
   104      kind: ""
   105      plural: ""
   106    conditions: []
   107    storedVersions: []