github.com/oam-dev/kubevela@v1.9.11/charts/vela-core/crds/core.oam.dev_workflowstepdefinitions.yaml (about)

     1  ---
     2  apiVersion: apiextensions.k8s.io/v1
     3  kind: CustomResourceDefinition
     4  metadata:
     5    annotations:
     6      controller-gen.kubebuilder.io/version: v0.11.4
     7    name: workflowstepdefinitions.core.oam.dev
     8  spec:
     9    group: core.oam.dev
    10    names:
    11      categories:
    12      - oam
    13      kind: WorkflowStepDefinition
    14      listKind: WorkflowStepDefinitionList
    15      plural: workflowstepdefinitions
    16      shortNames:
    17      - workflowstep
    18      singular: workflowstepdefinition
    19    scope: Namespaced
    20    versions:
    21    - name: v1beta1
    22      schema:
    23        openAPIV3Schema:
    24          description: WorkflowStepDefinition is the Schema for the workflowstepdefinitions
    25            API
    26          properties:
    27            apiVersion:
    28              description: 'APIVersion defines the versioned schema of this representation
    29                of an object. Servers should convert recognized schemas to the latest
    30                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    31              type: string
    32            kind:
    33              description: 'Kind is a string value representing the REST resource this
    34                object represents. Servers may infer this from the endpoint the client
    35                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    36              type: string
    37            metadata:
    38              type: object
    39            spec:
    40              description: WorkflowStepDefinitionSpec defines the desired state of WorkflowStepDefinition
    41              properties:
    42                definitionRef:
    43                  description: Reference to the CustomResourceDefinition that defines
    44                    this trait kind.
    45                  properties:
    46                    name:
    47                      description: Name of the referenced CustomResourceDefinition.
    48                      type: string
    49                    version:
    50                      description: Version indicate which version should be used if
    51                        CRD has multiple versions by default it will use the first one
    52                        if not specified
    53                      type: string
    54                  required:
    55                  - name
    56                  type: object
    57                schematic:
    58                  description: Schematic defines the data format and template of the
    59                    encapsulation of the workflow step definition. Only CUE schematic
    60                    is supported for now.
    61                  properties:
    62                    cue:
    63                      description: CUE defines the encapsulation in CUE format
    64                      properties:
    65                        template:
    66                          description: Template defines the abstraction template data
    67                            of the capability, it will replace the old CUE template
    68                            in extension field. Template is a required field if CUE
    69                            is defined in Capability Definition.
    70                          type: string
    71                      required:
    72                      - template
    73                      type: object
    74                    terraform:
    75                      description: Terraform is the struct to describe cloud resources
    76                        managed by Hashicorp Terraform
    77                      properties:
    78                        configuration:
    79                          description: Configuration is Terraform Configuration
    80                          type: string
    81                        customRegion:
    82                          description: Region is cloud provider's region. It will override
    83                            the region in the region field of ProviderReference
    84                          type: string
    85                        deleteResource:
    86                          default: true
    87                          description: DeleteResource will determine whether provisioned
    88                            cloud resources will be deleted when CR is deleted
    89                          type: boolean
    90                        gitCredentialsSecretReference:
    91                          description: GitCredentialsSecretReference specifies the reference
    92                            to the secret containing the git credentials
    93                          properties:
    94                            name:
    95                              description: name is unique within a namespace to reference
    96                                a secret resource.
    97                              type: string
    98                            namespace:
    99                              description: namespace defines the space within which
   100                                the secret name must be unique.
   101                              type: string
   102                          type: object
   103                          x-kubernetes-map-type: atomic
   104                        path:
   105                          description: Path is the sub-directory of remote git repository.
   106                            It's valid when remote is set
   107                          type: string
   108                        providerRef:
   109                          description: ProviderReference specifies the reference to
   110                            Provider
   111                          properties:
   112                            name:
   113                              description: Name of the referenced object.
   114                              type: string
   115                            namespace:
   116                              default: default
   117                              description: Namespace of the referenced object.
   118                              type: string
   119                          required:
   120                          - name
   121                          type: object
   122                        type:
   123                          default: hcl
   124                          description: Type specifies which Terraform configuration
   125                            it is, HCL or JSON syntax
   126                          enum:
   127                          - hcl
   128                          - json
   129                          - remote
   130                          type: string
   131                        writeConnectionSecretToRef:
   132                          description: WriteConnectionSecretToReference specifies the
   133                            namespace and name of a Secret to which any connection details
   134                            for this managed resource should be written. Connection
   135                            details frequently include the endpoint, username, and password
   136                            required to connect to the managed resource.
   137                          properties:
   138                            name:
   139                              description: Name of the secret.
   140                              type: string
   141                            namespace:
   142                              description: Namespace of the secret.
   143                              type: string
   144                          required:
   145                          - name
   146                          type: object
   147                      required:
   148                      - configuration
   149                      type: object
   150                  type: object
   151              type: object
   152            status:
   153              description: WorkflowStepDefinitionStatus is the status of WorkflowStepDefinition
   154              properties:
   155                conditions:
   156                  description: Conditions of the resource.
   157                  items:
   158                    description: A Condition that may apply to a resource.
   159                    properties:
   160                      lastTransitionTime:
   161                        description: LastTransitionTime is the last time this condition
   162                          transitioned from one status to another.
   163                        format: date-time
   164                        type: string
   165                      message:
   166                        description: A Message containing details about this condition's
   167                          last transition from one status to another, if any.
   168                        type: string
   169                      reason:
   170                        description: A Reason for this condition's last transition from
   171                          one status to another.
   172                        type: string
   173                      status:
   174                        description: Status of this condition; is it currently True,
   175                          False, or Unknown?
   176                        type: string
   177                      type:
   178                        description: Type of this condition. At most one of each condition
   179                          type may apply to a resource at any point in time.
   180                        type: string
   181                    required:
   182                    - lastTransitionTime
   183                    - reason
   184                    - status
   185                    - type
   186                    type: object
   187                  type: array
   188                configMapRef:
   189                  description: ConfigMapRef refer to a ConfigMap which contains OpenAPI
   190                    V3 JSON schema of Component parameters.
   191                  type: string
   192                latestRevision:
   193                  description: LatestRevision of the component definition
   194                  properties:
   195                    name:
   196                      type: string
   197                    revision:
   198                      format: int64
   199                      type: integer
   200                    revisionHash:
   201                      description: RevisionHash record the hash value of the spec of
   202                        ApplicationRevision object.
   203                      type: string
   204                  required:
   205                  - name
   206                  - revision
   207                  type: object
   208              type: object
   209          type: object
   210      served: true
   211      storage: true
   212      subresources:
   213        status: {}