github.com/kubevela/workflow@v0.6.0/charts/vela-workflow/crds/core.oam.dev_workflowstepdefinitions.yaml (about)

     1  
     2  ---
     3  apiVersion: apiextensions.k8s.io/v1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    annotations:
     7      controller-gen.kubebuilder.io/version: v0.6.2
     8    name: workflowstepdefinitions.core.oam.dev
     9  spec:
    10    group: core.oam.dev
    11    names:
    12      categories:
    13      - oam
    14      kind: WorkflowStepDefinition
    15      listKind: WorkflowStepDefinitionList
    16      plural: workflowstepdefinitions
    17      shortNames:
    18      - workflowstep
    19      singular: workflowstepdefinition
    20    scope: Namespaced
    21    versions:
    22    - name: v1beta1
    23      schema:
    24        openAPIV3Schema:
    25          description: WorkflowStepDefinition is the Schema for the workflowstepdefinitions
    26            API
    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: WorkflowStepDefinitionSpec defines the desired state of WorkflowStepDefinition
    42              properties:
    43                definitionRef:
    44                  description: Reference to the CustomResourceDefinition that defines
    45                    this trait kind.
    46                  properties:
    47                    name:
    48                      description: Name of the referenced CustomResourceDefinition.
    49                      type: string
    50                    version:
    51                      description: Version indicate which version should be used if
    52                        CRD has multiple versions by default it will use the first one
    53                        if not specified
    54                      type: string
    55                  required:
    56                  - name
    57                  type: object
    58                schematic:
    59                  description: Schematic defines the data format and template of the
    60                    encapsulation of the workflow step definition
    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                    helm:
    75                      description: A Helm represents resources used by a Helm module
    76                      properties:
    77                        release:
    78                          description: Release records a Helm release used by a Helm
    79                            module workload.
    80                          type: object
    81                          x-kubernetes-preserve-unknown-fields: true
    82                        repository:
    83                          description: HelmRelease records a Helm repository used by
    84                            a Helm module workload.
    85                          type: object
    86                          x-kubernetes-preserve-unknown-fields: true
    87                      required:
    88                      - release
    89                      - repository
    90                      type: object
    91                    kube:
    92                      description: Kube defines the encapsulation in raw Kubernetes
    93                        resource format
    94                      properties:
    95                        parameters:
    96                          description: Parameters defines configurable parameters
    97                          items:
    98                            description: A KubeParameter defines a configurable parameter
    99                              of a component.
   100                            properties:
   101                              description:
   102                                description: Description of this parameter.
   103                                type: string
   104                              fieldPaths:
   105                                description: "FieldPaths specifies an array of fields
   106                                  within this workload that will be overwritten by the
   107                                  value of this parameter. \tAll fields must be of the
   108                                  same type. Fields are specified as JSON field paths
   109                                  without a leading dot, for example 'spec.replicas'."
   110                                items:
   111                                  type: string
   112                                type: array
   113                              name:
   114                                description: Name of this parameter
   115                                type: string
   116                              required:
   117                                default: false
   118                                description: Required specifies whether or not a value
   119                                  for this parameter must be supplied when authoring
   120                                  an Application.
   121                                type: boolean
   122                              type:
   123                                description: 'ValueType indicates the type of the parameter
   124                                  value, and only supports basic data types: string,
   125                                  number, boolean.'
   126                                enum:
   127                                - string
   128                                - number
   129                                - boolean
   130                                type: string
   131                            required:
   132                            - fieldPaths
   133                            - name
   134                            - type
   135                            type: object
   136                          type: array
   137                        template:
   138                          description: Template defines the raw Kubernetes resource
   139                          type: object
   140                          x-kubernetes-preserve-unknown-fields: true
   141                      required:
   142                      - template
   143                      type: object
   144                    terraform:
   145                      description: Terraform is the struct to describe cloud resources
   146                        managed by Hashicorp Terraform
   147                      properties:
   148                        configuration:
   149                          description: Configuration is Terraform Configuration
   150                          type: string
   151                        customRegion:
   152                          description: Region is cloud provider's region. It will override
   153                            the region in the region field of ProviderReference
   154                          type: string
   155                        deleteResource:
   156                          default: true
   157                          description: DeleteResource will determine whether provisioned
   158                            cloud resources will be deleted when CR is deleted
   159                          type: boolean
   160                        path:
   161                          description: Path is the sub-directory of remote git repository.
   162                            It's valid when remote is set
   163                          type: string
   164                        providerRef:
   165                          description: ProviderReference specifies the reference to
   166                            Provider
   167                          properties:
   168                            name:
   169                              description: Name of the referenced object.
   170                              type: string
   171                            namespace:
   172                              default: default
   173                              description: Namespace of the referenced object.
   174                              type: string
   175                          required:
   176                          - name
   177                          type: object
   178                        type:
   179                          default: hcl
   180                          description: Type specifies which Terraform configuration
   181                            it is, HCL or JSON syntax
   182                          enum:
   183                          - hcl
   184                          - json
   185                          - remote
   186                          type: string
   187                        writeConnectionSecretToRef:
   188                          description: WriteConnectionSecretToReference specifies the
   189                            namespace and name of a Secret to which any connection details
   190                            for this managed resource should be written. Connection
   191                            details frequently include the endpoint, username, and password
   192                            required to connect to the managed resource.
   193                          properties:
   194                            name:
   195                              description: Name of the secret.
   196                              type: string
   197                            namespace:
   198                              description: Namespace of the secret.
   199                              type: string
   200                          required:
   201                          - name
   202                          type: object
   203                      required:
   204                      - configuration
   205                      type: object
   206                  type: object
   207              type: object
   208            status:
   209              description: WorkflowStepDefinitionStatus is the status of WorkflowStepDefinition
   210              properties:
   211                conditions:
   212                  description: Conditions of the resource.
   213                  items:
   214                    description: A Condition that may apply to a resource.
   215                    properties:
   216                      lastTransitionTime:
   217                        description: LastTransitionTime is the last time this condition
   218                          transitioned from one status to another.
   219                        format: date-time
   220                        type: string
   221                      message:
   222                        description: A Message containing details about this condition's
   223                          last transition from one status to another, if any.
   224                        type: string
   225                      reason:
   226                        description: A Reason for this condition's last transition from
   227                          one status to another.
   228                        type: string
   229                      status:
   230                        description: Status of this condition; is it currently True,
   231                          False, or Unknown?
   232                        type: string
   233                      type:
   234                        description: Type of this condition. At most one of each condition
   235                          type may apply to a resource at any point in time.
   236                        type: string
   237                    required:
   238                    - lastTransitionTime
   239                    - reason
   240                    - status
   241                    - type
   242                    type: object
   243                  type: array
   244                configMapRef:
   245                  description: ConfigMapRef refer to a ConfigMap which contains OpenAPI
   246                    V3 JSON schema of Component parameters.
   247                  type: string
   248                latestRevision:
   249                  description: LatestRevision of the component definition
   250                  properties:
   251                    name:
   252                      type: string
   253                    revision:
   254                      format: int64
   255                      type: integer
   256                    revisionHash:
   257                      description: RevisionHash record the hash value of the spec of
   258                        ApplicationRevision object.
   259                      type: string
   260                  required:
   261                  - name
   262                  - revision
   263                  type: object
   264              type: object
   265          type: object
   266      served: true
   267      storage: true
   268      subresources:
   269        status: {}
   270  status:
   271    acceptedNames:
   272      kind: ""
   273      plural: ""
   274    conditions: []
   275    storedVersions: []