github.com/oam-dev/kubevela@v1.9.11/charts/vela-core/crds/core.oam.dev_definitionrevisions.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: definitionrevisions.core.oam.dev
     8  spec:
     9    group: core.oam.dev
    10    names:
    11      categories:
    12      - oam
    13      kind: DefinitionRevision
    14      listKind: DefinitionRevisionList
    15      plural: definitionrevisions
    16      shortNames:
    17      - defrev
    18      singular: definitionrevision
    19    scope: Namespaced
    20    versions:
    21    - additionalPrinterColumns:
    22      - jsonPath: .spec.revision
    23        name: REVISION
    24        type: integer
    25      - jsonPath: .spec.revisionHash
    26        name: HASH
    27        type: string
    28      - jsonPath: .spec.definitionType
    29        name: TYPE
    30        type: string
    31      name: v1beta1
    32      schema:
    33        openAPIV3Schema:
    34          description: DefinitionRevision is the Schema for the DefinitionRevision API
    35          properties:
    36            apiVersion:
    37              description: 'APIVersion defines the versioned schema of this representation
    38                of an object. Servers should convert recognized schemas to the latest
    39                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    40              type: string
    41            kind:
    42              description: 'Kind is a string value representing the REST resource this
    43                object represents. Servers may infer this from the endpoint the client
    44                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    45              type: string
    46            metadata:
    47              type: object
    48            spec:
    49              description: DefinitionRevisionSpec is the spec of DefinitionRevision
    50              properties:
    51                componentDefinition:
    52                  description: ComponentDefinition records the snapshot of the created/modified
    53                    ComponentDefinition
    54                  properties:
    55                    apiVersion:
    56                      description: 'APIVersion defines the versioned schema of this
    57                        representation of an object. Servers should convert recognized
    58                        schemas to the latest internal value, and may reject unrecognized
    59                        values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    60                      type: string
    61                    kind:
    62                      description: 'Kind is a string value representing the REST resource
    63                        this object represents. Servers may infer this from the endpoint
    64                        the client submits requests to. Cannot be updated. In CamelCase.
    65                        More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    66                      type: string
    67                    metadata:
    68                      properties:
    69                        annotations:
    70                          additionalProperties:
    71                            type: string
    72                          type: object
    73                        finalizers:
    74                          items:
    75                            type: string
    76                          type: array
    77                        labels:
    78                          additionalProperties:
    79                            type: string
    80                          type: object
    81                        name:
    82                          type: string
    83                        namespace:
    84                          type: string
    85                      type: object
    86                    spec:
    87                      description: ComponentDefinitionSpec defines the desired state
    88                        of ComponentDefinition
    89                      properties:
    90                        childResourceKinds:
    91                          description: ChildResourceKinds are the list of GVK of the
    92                            child resources this workload generates
    93                          items:
    94                            description: A ChildResourceKind defines a child Kubernetes
    95                              resource kind with a selector
    96                            properties:
    97                              apiVersion:
    98                                description: APIVersion of the child resource
    99                                type: string
   100                              kind:
   101                                description: Kind of the child resource
   102                                type: string
   103                              selector:
   104                                additionalProperties:
   105                                  type: string
   106                                description: Selector to select the child resources
   107                                  that the workload wants to expose to traits
   108                                type: object
   109                            required:
   110                            - apiVersion
   111                            - kind
   112                            type: object
   113                          type: array
   114                        extension:
   115                          description: Extension is used for extension needs by OAM
   116                            platform builders
   117                          type: object
   118                          x-kubernetes-preserve-unknown-fields: true
   119                        podSpecPath:
   120                          description: PodSpecPath indicates where/if this workload
   121                            has K8s podSpec field if one workload has podSpec, trait
   122                            can do lot's of assumption such as port, env, volume fields.
   123                          type: string
   124                        revisionLabel:
   125                          description: RevisionLabel indicates which label for underlying
   126                            resources(e.g. pods) of this workload can be used by trait
   127                            to create resource selectors(e.g. label selector for pods).
   128                          type: string
   129                        schematic:
   130                          description: Schematic defines the data format and template
   131                            of the encapsulation of the workload
   132                          properties:
   133                            cue:
   134                              description: CUE defines the encapsulation in CUE format
   135                              properties:
   136                                template:
   137                                  description: Template defines the abstraction template
   138                                    data of the capability, it will replace the old
   139                                    CUE template in extension field. Template is a required
   140                                    field if CUE is defined in Capability Definition.
   141                                  type: string
   142                              required:
   143                              - template
   144                              type: object
   145                            terraform:
   146                              description: Terraform is the struct to describe cloud
   147                                resources managed by Hashicorp Terraform
   148                              properties:
   149                                configuration:
   150                                  description: Configuration is Terraform Configuration
   151                                  type: string
   152                                customRegion:
   153                                  description: Region is cloud provider's region. It
   154                                    will override the region in the region field of
   155                                    ProviderReference
   156                                  type: string
   157                                deleteResource:
   158                                  default: true
   159                                  description: DeleteResource will determine whether
   160                                    provisioned cloud resources will be deleted when
   161                                    CR is deleted
   162                                  type: boolean
   163                                gitCredentialsSecretReference:
   164                                  description: GitCredentialsSecretReference specifies
   165                                    the reference to the secret containing the git credentials
   166                                  properties:
   167                                    name:
   168                                      description: name is unique within a namespace
   169                                        to reference a secret resource.
   170                                      type: string
   171                                    namespace:
   172                                      description: namespace defines the space within
   173                                        which the secret name must be unique.
   174                                      type: string
   175                                  type: object
   176                                  x-kubernetes-map-type: atomic
   177                                path:
   178                                  description: Path is the sub-directory of remote git
   179                                    repository. It's valid when remote is set
   180                                  type: string
   181                                providerRef:
   182                                  description: ProviderReference specifies the reference
   183                                    to Provider
   184                                  properties:
   185                                    name:
   186                                      description: Name of the referenced object.
   187                                      type: string
   188                                    namespace:
   189                                      default: default
   190                                      description: Namespace of the referenced object.
   191                                      type: string
   192                                  required:
   193                                  - name
   194                                  type: object
   195                                type:
   196                                  default: hcl
   197                                  description: Type specifies which Terraform configuration
   198                                    it is, HCL or JSON syntax
   199                                  enum:
   200                                  - hcl
   201                                  - json
   202                                  - remote
   203                                  type: string
   204                                writeConnectionSecretToRef:
   205                                  description: WriteConnectionSecretToReference specifies
   206                                    the namespace and name of a Secret to which any
   207                                    connection details for this managed resource should
   208                                    be written. Connection details frequently include
   209                                    the endpoint, username, and password required to
   210                                    connect to the managed resource.
   211                                  properties:
   212                                    name:
   213                                      description: Name of the secret.
   214                                      type: string
   215                                    namespace:
   216                                      description: Namespace of the secret.
   217                                      type: string
   218                                  required:
   219                                  - name
   220                                  type: object
   221                              required:
   222                              - configuration
   223                              type: object
   224                          type: object
   225                        status:
   226                          description: Status defines the custom health policy and status
   227                            message for workload
   228                          properties:
   229                            customStatus:
   230                              description: CustomStatus defines the custom status message
   231                                that could display to user
   232                              type: string
   233                            healthPolicy:
   234                              description: HealthPolicy defines the health check policy
   235                                for the abstraction
   236                              type: string
   237                          type: object
   238                        workload:
   239                          description: Workload is a workload type descriptor
   240                          properties:
   241                            definition:
   242                              description: Definition mutually exclusive to workload.type,
   243                                a embedded WorkloadDefinition
   244                              properties:
   245                                apiVersion:
   246                                  type: string
   247                                kind:
   248                                  type: string
   249                              required:
   250                              - apiVersion
   251                              - kind
   252                              type: object
   253                            type:
   254                              description: Type ref to a WorkloadDefinition via name
   255                              type: string
   256                          type: object
   257                      required:
   258                      - workload
   259                      type: object
   260                    status:
   261                      description: ComponentDefinitionStatus is the status of ComponentDefinition
   262                      properties:
   263                        conditions:
   264                          description: Conditions of the resource.
   265                          items:
   266                            description: A Condition that may apply to a resource.
   267                            properties:
   268                              lastTransitionTime:
   269                                description: LastTransitionTime is the last time this
   270                                  condition transitioned from one status to another.
   271                                format: date-time
   272                                type: string
   273                              message:
   274                                description: A Message containing details about this
   275                                  condition's last transition from one status to another,
   276                                  if any.
   277                                type: string
   278                              reason:
   279                                description: A Reason for this condition's last transition
   280                                  from one status to another.
   281                                type: string
   282                              status:
   283                                description: Status of this condition; is it currently
   284                                  True, False, or Unknown?
   285                                type: string
   286                              type:
   287                                description: Type of this condition. At most one of
   288                                  each condition type may apply to a resource at any
   289                                  point in time.
   290                                type: string
   291                            required:
   292                            - lastTransitionTime
   293                            - reason
   294                            - status
   295                            - type
   296                            type: object
   297                          type: array
   298                        configMapRef:
   299                          description: ConfigMapRef refer to a ConfigMap which contains
   300                            OpenAPI V3 JSON schema of Component parameters.
   301                          type: string
   302                        latestRevision:
   303                          description: LatestRevision of the component definition
   304                          properties:
   305                            name:
   306                              type: string
   307                            revision:
   308                              format: int64
   309                              type: integer
   310                            revisionHash:
   311                              description: RevisionHash record the hash value of the
   312                                spec of ApplicationRevision object.
   313                              type: string
   314                          required:
   315                          - name
   316                          - revision
   317                          type: object
   318                      type: object
   319                  type: object
   320                definitionType:
   321                  description: DefinitionType
   322                  enum:
   323                  - Component
   324                  - Trait
   325                  - Policy
   326                  - WorkflowStep
   327                  type: string
   328                policyDefinition:
   329                  description: PolicyDefinition records the snapshot of the created/modified
   330                    PolicyDefinition
   331                  properties:
   332                    apiVersion:
   333                      description: 'APIVersion defines the versioned schema of this
   334                        representation of an object. Servers should convert recognized
   335                        schemas to the latest internal value, and may reject unrecognized
   336                        values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
   337                      type: string
   338                    kind:
   339                      description: 'Kind is a string value representing the REST resource
   340                        this object represents. Servers may infer this from the endpoint
   341                        the client submits requests to. Cannot be updated. In CamelCase.
   342                        More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
   343                      type: string
   344                    metadata:
   345                      properties:
   346                        annotations:
   347                          additionalProperties:
   348                            type: string
   349                          type: object
   350                        finalizers:
   351                          items:
   352                            type: string
   353                          type: array
   354                        labels:
   355                          additionalProperties:
   356                            type: string
   357                          type: object
   358                        name:
   359                          type: string
   360                        namespace:
   361                          type: string
   362                      type: object
   363                    spec:
   364                      description: PolicyDefinitionSpec defines the desired state of
   365                        PolicyDefinition
   366                      properties:
   367                        definitionRef:
   368                          description: Reference to the CustomResourceDefinition that
   369                            defines this trait kind.
   370                          properties:
   371                            name:
   372                              description: Name of the referenced CustomResourceDefinition.
   373                              type: string
   374                            version:
   375                              description: Version indicate which version should be
   376                                used if CRD has multiple versions by default it will
   377                                use the first one if not specified
   378                              type: string
   379                          required:
   380                          - name
   381                          type: object
   382                        manageHealthCheck:
   383                          description: ManageHealthCheck means the policy will handle
   384                            health checking and skip application controller built-in
   385                            health checking.
   386                          type: boolean
   387                        schematic:
   388                          description: Schematic defines the data format and template
   389                            of the encapsulation of the policy definition. Only CUE
   390                            schematic is supported for now.
   391                          properties:
   392                            cue:
   393                              description: CUE defines the encapsulation in CUE format
   394                              properties:
   395                                template:
   396                                  description: Template defines the abstraction template
   397                                    data of the capability, it will replace the old
   398                                    CUE template in extension field. Template is a required
   399                                    field if CUE is defined in Capability Definition.
   400                                  type: string
   401                              required:
   402                              - template
   403                              type: object
   404                            terraform:
   405                              description: Terraform is the struct to describe cloud
   406                                resources managed by Hashicorp Terraform
   407                              properties:
   408                                configuration:
   409                                  description: Configuration is Terraform Configuration
   410                                  type: string
   411                                customRegion:
   412                                  description: Region is cloud provider's region. It
   413                                    will override the region in the region field of
   414                                    ProviderReference
   415                                  type: string
   416                                deleteResource:
   417                                  default: true
   418                                  description: DeleteResource will determine whether
   419                                    provisioned cloud resources will be deleted when
   420                                    CR is deleted
   421                                  type: boolean
   422                                gitCredentialsSecretReference:
   423                                  description: GitCredentialsSecretReference specifies
   424                                    the reference to the secret containing the git credentials
   425                                  properties:
   426                                    name:
   427                                      description: name is unique within a namespace
   428                                        to reference a secret resource.
   429                                      type: string
   430                                    namespace:
   431                                      description: namespace defines the space within
   432                                        which the secret name must be unique.
   433                                      type: string
   434                                  type: object
   435                                  x-kubernetes-map-type: atomic
   436                                path:
   437                                  description: Path is the sub-directory of remote git
   438                                    repository. It's valid when remote is set
   439                                  type: string
   440                                providerRef:
   441                                  description: ProviderReference specifies the reference
   442                                    to Provider
   443                                  properties:
   444                                    name:
   445                                      description: Name of the referenced object.
   446                                      type: string
   447                                    namespace:
   448                                      default: default
   449                                      description: Namespace of the referenced object.
   450                                      type: string
   451                                  required:
   452                                  - name
   453                                  type: object
   454                                type:
   455                                  default: hcl
   456                                  description: Type specifies which Terraform configuration
   457                                    it is, HCL or JSON syntax
   458                                  enum:
   459                                  - hcl
   460                                  - json
   461                                  - remote
   462                                  type: string
   463                                writeConnectionSecretToRef:
   464                                  description: WriteConnectionSecretToReference specifies
   465                                    the namespace and name of a Secret to which any
   466                                    connection details for this managed resource should
   467                                    be written. Connection details frequently include
   468                                    the endpoint, username, and password required to
   469                                    connect to the managed resource.
   470                                  properties:
   471                                    name:
   472                                      description: Name of the secret.
   473                                      type: string
   474                                    namespace:
   475                                      description: Namespace of the secret.
   476                                      type: string
   477                                  required:
   478                                  - name
   479                                  type: object
   480                              required:
   481                              - configuration
   482                              type: object
   483                          type: object
   484                      type: object
   485                    status:
   486                      description: PolicyDefinitionStatus is the status of PolicyDefinition
   487                      properties:
   488                        conditions:
   489                          description: Conditions of the resource.
   490                          items:
   491                            description: A Condition that may apply to a resource.
   492                            properties:
   493                              lastTransitionTime:
   494                                description: LastTransitionTime is the last time this
   495                                  condition transitioned from one status to another.
   496                                format: date-time
   497                                type: string
   498                              message:
   499                                description: A Message containing details about this
   500                                  condition's last transition from one status to another,
   501                                  if any.
   502                                type: string
   503                              reason:
   504                                description: A Reason for this condition's last transition
   505                                  from one status to another.
   506                                type: string
   507                              status:
   508                                description: Status of this condition; is it currently
   509                                  True, False, or Unknown?
   510                                type: string
   511                              type:
   512                                description: Type of this condition. At most one of
   513                                  each condition type may apply to a resource at any
   514                                  point in time.
   515                                type: string
   516                            required:
   517                            - lastTransitionTime
   518                            - reason
   519                            - status
   520                            - type
   521                            type: object
   522                          type: array
   523                        configMapRef:
   524                          description: ConfigMapRef refer to a ConfigMap which contains
   525                            OpenAPI V3 JSON schema of Component parameters.
   526                          type: string
   527                        latestRevision:
   528                          description: LatestRevision of the component definition
   529                          properties:
   530                            name:
   531                              type: string
   532                            revision:
   533                              format: int64
   534                              type: integer
   535                            revisionHash:
   536                              description: RevisionHash record the hash value of the
   537                                spec of ApplicationRevision object.
   538                              type: string
   539                          required:
   540                          - name
   541                          - revision
   542                          type: object
   543                      type: object
   544                  type: object
   545                revision:
   546                  description: Revision record revision number of DefinitionRevision
   547                  format: int64
   548                  type: integer
   549                revisionHash:
   550                  description: RevisionHash record the hash value of the spec of DefinitionRevision
   551                    object.
   552                  type: string
   553                traitDefinition:
   554                  description: TraitDefinition records the snapshot of the created/modified
   555                    TraitDefinition
   556                  properties:
   557                    apiVersion:
   558                      description: 'APIVersion defines the versioned schema of this
   559                        representation of an object. Servers should convert recognized
   560                        schemas to the latest internal value, and may reject unrecognized
   561                        values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
   562                      type: string
   563                    kind:
   564                      description: 'Kind is a string value representing the REST resource
   565                        this object represents. Servers may infer this from the endpoint
   566                        the client submits requests to. Cannot be updated. In CamelCase.
   567                        More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
   568                      type: string
   569                    metadata:
   570                      properties:
   571                        annotations:
   572                          additionalProperties:
   573                            type: string
   574                          type: object
   575                        finalizers:
   576                          items:
   577                            type: string
   578                          type: array
   579                        labels:
   580                          additionalProperties:
   581                            type: string
   582                          type: object
   583                        name:
   584                          type: string
   585                        namespace:
   586                          type: string
   587                      type: object
   588                    spec:
   589                      description: A TraitDefinitionSpec defines the desired state of
   590                        a TraitDefinition.
   591                      properties:
   592                        appliesToWorkloads:
   593                          description: AppliesToWorkloads specifies the list of workload
   594                            kinds this trait applies to. Workload kinds are specified
   595                            in resource.group/version format, e.g. server.core.oam.dev/v1alpha2.
   596                            Traits that omit this field apply to all workload kinds.
   597                          items:
   598                            type: string
   599                          type: array
   600                        conflictsWith:
   601                          description: 'ConflictsWith specifies the list of traits(CRD
   602                            name, Definition name, CRD group) which could not apply
   603                            to the same workloads with this trait. Traits that omit
   604                            this field can work with any other traits. Example rules:
   605                            "service" # Trait definition name "services.k8s.io" # API
   606                            resource/crd name "*.networking.k8s.io" # API group "labelSelector:foo=bar"
   607                            # label selector labelSelector format: https://pkg.go.dev/k8s.io/apimachinery/pkg/labels#Parse'
   608                          items:
   609                            type: string
   610                          type: array
   611                        controlPlaneOnly:
   612                          description: ControlPlaneOnly defines which cluster is dispatched
   613                            to
   614                          type: boolean
   615                        definitionRef:
   616                          description: Reference to the CustomResourceDefinition that
   617                            defines this trait kind.
   618                          properties:
   619                            name:
   620                              description: Name of the referenced CustomResourceDefinition.
   621                              type: string
   622                            version:
   623                              description: Version indicate which version should be
   624                                used if CRD has multiple versions by default it will
   625                                use the first one if not specified
   626                              type: string
   627                          required:
   628                          - name
   629                          type: object
   630                        extension:
   631                          description: Extension is used for extension needs by OAM
   632                            platform builders
   633                          type: object
   634                          x-kubernetes-preserve-unknown-fields: true
   635                        manageWorkload:
   636                          description: ManageWorkload defines the trait would be responsible
   637                            for creating the workload
   638                          type: boolean
   639                        podDisruptive:
   640                          description: PodDisruptive specifies whether using the trait
   641                            will cause the pod to restart or not.
   642                          type: boolean
   643                        revisionEnabled:
   644                          description: Revision indicates whether a trait is aware of
   645                            component revision
   646                          type: boolean
   647                        schematic:
   648                          description: Schematic defines the data format and template
   649                            of the encapsulation of the trait. Only CUE and Kube schematic
   650                            are supported for now.
   651                          properties:
   652                            cue:
   653                              description: CUE defines the encapsulation in CUE format
   654                              properties:
   655                                template:
   656                                  description: Template defines the abstraction template
   657                                    data of the capability, it will replace the old
   658                                    CUE template in extension field. Template is a required
   659                                    field if CUE is defined in Capability Definition.
   660                                  type: string
   661                              required:
   662                              - template
   663                              type: object
   664                            terraform:
   665                              description: Terraform is the struct to describe cloud
   666                                resources managed by Hashicorp Terraform
   667                              properties:
   668                                configuration:
   669                                  description: Configuration is Terraform Configuration
   670                                  type: string
   671                                customRegion:
   672                                  description: Region is cloud provider's region. It
   673                                    will override the region in the region field of
   674                                    ProviderReference
   675                                  type: string
   676                                deleteResource:
   677                                  default: true
   678                                  description: DeleteResource will determine whether
   679                                    provisioned cloud resources will be deleted when
   680                                    CR is deleted
   681                                  type: boolean
   682                                gitCredentialsSecretReference:
   683                                  description: GitCredentialsSecretReference specifies
   684                                    the reference to the secret containing the git credentials
   685                                  properties:
   686                                    name:
   687                                      description: name is unique within a namespace
   688                                        to reference a secret resource.
   689                                      type: string
   690                                    namespace:
   691                                      description: namespace defines the space within
   692                                        which the secret name must be unique.
   693                                      type: string
   694                                  type: object
   695                                  x-kubernetes-map-type: atomic
   696                                path:
   697                                  description: Path is the sub-directory of remote git
   698                                    repository. It's valid when remote is set
   699                                  type: string
   700                                providerRef:
   701                                  description: ProviderReference specifies the reference
   702                                    to Provider
   703                                  properties:
   704                                    name:
   705                                      description: Name of the referenced object.
   706                                      type: string
   707                                    namespace:
   708                                      default: default
   709                                      description: Namespace of the referenced object.
   710                                      type: string
   711                                  required:
   712                                  - name
   713                                  type: object
   714                                type:
   715                                  default: hcl
   716                                  description: Type specifies which Terraform configuration
   717                                    it is, HCL or JSON syntax
   718                                  enum:
   719                                  - hcl
   720                                  - json
   721                                  - remote
   722                                  type: string
   723                                writeConnectionSecretToRef:
   724                                  description: WriteConnectionSecretToReference specifies
   725                                    the namespace and name of a Secret to which any
   726                                    connection details for this managed resource should
   727                                    be written. Connection details frequently include
   728                                    the endpoint, username, and password required to
   729                                    connect to the managed resource.
   730                                  properties:
   731                                    name:
   732                                      description: Name of the secret.
   733                                      type: string
   734                                    namespace:
   735                                      description: Namespace of the secret.
   736                                      type: string
   737                                  required:
   738                                  - name
   739                                  type: object
   740                              required:
   741                              - configuration
   742                              type: object
   743                          type: object
   744                        stage:
   745                          description: Stage defines the stage information to which
   746                            this trait resource processing belongs. Currently, PreDispatch
   747                            and PostDispatch are provided, which are used to control
   748                            resource pre-process and post-process respectively.
   749                          type: string
   750                        status:
   751                          description: Status defines the custom health policy and status
   752                            message for trait
   753                          properties:
   754                            customStatus:
   755                              description: CustomStatus defines the custom status message
   756                                that could display to user
   757                              type: string
   758                            healthPolicy:
   759                              description: HealthPolicy defines the health check policy
   760                                for the abstraction
   761                              type: string
   762                          type: object
   763                        workloadRefPath:
   764                          description: WorkloadRefPath indicates where/if a trait accepts
   765                            a workloadRef object
   766                          type: string
   767                      type: object
   768                    status:
   769                      description: TraitDefinitionStatus is the status of TraitDefinition
   770                      properties:
   771                        conditions:
   772                          description: Conditions of the resource.
   773                          items:
   774                            description: A Condition that may apply to a resource.
   775                            properties:
   776                              lastTransitionTime:
   777                                description: LastTransitionTime is the last time this
   778                                  condition transitioned from one status to another.
   779                                format: date-time
   780                                type: string
   781                              message:
   782                                description: A Message containing details about this
   783                                  condition's last transition from one status to another,
   784                                  if any.
   785                                type: string
   786                              reason:
   787                                description: A Reason for this condition's last transition
   788                                  from one status to another.
   789                                type: string
   790                              status:
   791                                description: Status of this condition; is it currently
   792                                  True, False, or Unknown?
   793                                type: string
   794                              type:
   795                                description: Type of this condition. At most one of
   796                                  each condition type may apply to a resource at any
   797                                  point in time.
   798                                type: string
   799                            required:
   800                            - lastTransitionTime
   801                            - reason
   802                            - status
   803                            - type
   804                            type: object
   805                          type: array
   806                        configMapRef:
   807                          description: ConfigMapRef refer to a ConfigMap which contains
   808                            OpenAPI V3 JSON schema of Component parameters.
   809                          type: string
   810                        latestRevision:
   811                          description: LatestRevision of the component definition
   812                          properties:
   813                            name:
   814                              type: string
   815                            revision:
   816                              format: int64
   817                              type: integer
   818                            revisionHash:
   819                              description: RevisionHash record the hash value of the
   820                                spec of ApplicationRevision object.
   821                              type: string
   822                          required:
   823                          - name
   824                          - revision
   825                          type: object
   826                      type: object
   827                  type: object
   828                workflowStepDefinition:
   829                  description: WorkflowStepDefinition records the snapshot of the created/modified
   830                    WorkflowStepDefinition
   831                  properties:
   832                    apiVersion:
   833                      description: 'APIVersion defines the versioned schema of this
   834                        representation of an object. Servers should convert recognized
   835                        schemas to the latest internal value, and may reject unrecognized
   836                        values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
   837                      type: string
   838                    kind:
   839                      description: 'Kind is a string value representing the REST resource
   840                        this object represents. Servers may infer this from the endpoint
   841                        the client submits requests to. Cannot be updated. In CamelCase.
   842                        More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
   843                      type: string
   844                    metadata:
   845                      properties:
   846                        annotations:
   847                          additionalProperties:
   848                            type: string
   849                          type: object
   850                        finalizers:
   851                          items:
   852                            type: string
   853                          type: array
   854                        labels:
   855                          additionalProperties:
   856                            type: string
   857                          type: object
   858                        name:
   859                          type: string
   860                        namespace:
   861                          type: string
   862                      type: object
   863                    spec:
   864                      description: WorkflowStepDefinitionSpec defines the desired state
   865                        of WorkflowStepDefinition
   866                      properties:
   867                        definitionRef:
   868                          description: Reference to the CustomResourceDefinition that
   869                            defines this trait kind.
   870                          properties:
   871                            name:
   872                              description: Name of the referenced CustomResourceDefinition.
   873                              type: string
   874                            version:
   875                              description: Version indicate which version should be
   876                                used if CRD has multiple versions by default it will
   877                                use the first one if not specified
   878                              type: string
   879                          required:
   880                          - name
   881                          type: object
   882                        schematic:
   883                          description: Schematic defines the data format and template
   884                            of the encapsulation of the workflow step definition. Only
   885                            CUE schematic is supported for now.
   886                          properties:
   887                            cue:
   888                              description: CUE defines the encapsulation in CUE format
   889                              properties:
   890                                template:
   891                                  description: Template defines the abstraction template
   892                                    data of the capability, it will replace the old
   893                                    CUE template in extension field. Template is a required
   894                                    field if CUE is defined in Capability Definition.
   895                                  type: string
   896                              required:
   897                              - template
   898                              type: object
   899                            terraform:
   900                              description: Terraform is the struct to describe cloud
   901                                resources managed by Hashicorp Terraform
   902                              properties:
   903                                configuration:
   904                                  description: Configuration is Terraform Configuration
   905                                  type: string
   906                                customRegion:
   907                                  description: Region is cloud provider's region. It
   908                                    will override the region in the region field of
   909                                    ProviderReference
   910                                  type: string
   911                                deleteResource:
   912                                  default: true
   913                                  description: DeleteResource will determine whether
   914                                    provisioned cloud resources will be deleted when
   915                                    CR is deleted
   916                                  type: boolean
   917                                gitCredentialsSecretReference:
   918                                  description: GitCredentialsSecretReference specifies
   919                                    the reference to the secret containing the git credentials
   920                                  properties:
   921                                    name:
   922                                      description: name is unique within a namespace
   923                                        to reference a secret resource.
   924                                      type: string
   925                                    namespace:
   926                                      description: namespace defines the space within
   927                                        which the secret name must be unique.
   928                                      type: string
   929                                  type: object
   930                                  x-kubernetes-map-type: atomic
   931                                path:
   932                                  description: Path is the sub-directory of remote git
   933                                    repository. It's valid when remote is set
   934                                  type: string
   935                                providerRef:
   936                                  description: ProviderReference specifies the reference
   937                                    to Provider
   938                                  properties:
   939                                    name:
   940                                      description: Name of the referenced object.
   941                                      type: string
   942                                    namespace:
   943                                      default: default
   944                                      description: Namespace of the referenced object.
   945                                      type: string
   946                                  required:
   947                                  - name
   948                                  type: object
   949                                type:
   950                                  default: hcl
   951                                  description: Type specifies which Terraform configuration
   952                                    it is, HCL or JSON syntax
   953                                  enum:
   954                                  - hcl
   955                                  - json
   956                                  - remote
   957                                  type: string
   958                                writeConnectionSecretToRef:
   959                                  description: WriteConnectionSecretToReference specifies
   960                                    the namespace and name of a Secret to which any
   961                                    connection details for this managed resource should
   962                                    be written. Connection details frequently include
   963                                    the endpoint, username, and password required to
   964                                    connect to the managed resource.
   965                                  properties:
   966                                    name:
   967                                      description: Name of the secret.
   968                                      type: string
   969                                    namespace:
   970                                      description: Namespace of the secret.
   971                                      type: string
   972                                  required:
   973                                  - name
   974                                  type: object
   975                              required:
   976                              - configuration
   977                              type: object
   978                          type: object
   979                      type: object
   980                    status:
   981                      description: WorkflowStepDefinitionStatus is the status of WorkflowStepDefinition
   982                      properties:
   983                        conditions:
   984                          description: Conditions of the resource.
   985                          items:
   986                            description: A Condition that may apply to a resource.
   987                            properties:
   988                              lastTransitionTime:
   989                                description: LastTransitionTime is the last time this
   990                                  condition transitioned from one status to another.
   991                                format: date-time
   992                                type: string
   993                              message:
   994                                description: A Message containing details about this
   995                                  condition's last transition from one status to another,
   996                                  if any.
   997                                type: string
   998                              reason:
   999                                description: A Reason for this condition's last transition
  1000                                  from one status to another.
  1001                                type: string
  1002                              status:
  1003                                description: Status of this condition; is it currently
  1004                                  True, False, or Unknown?
  1005                                type: string
  1006                              type:
  1007                                description: Type of this condition. At most one of
  1008                                  each condition type may apply to a resource at any
  1009                                  point in time.
  1010                                type: string
  1011                            required:
  1012                            - lastTransitionTime
  1013                            - reason
  1014                            - status
  1015                            - type
  1016                            type: object
  1017                          type: array
  1018                        configMapRef:
  1019                          description: ConfigMapRef refer to a ConfigMap which contains
  1020                            OpenAPI V3 JSON schema of Component parameters.
  1021                          type: string
  1022                        latestRevision:
  1023                          description: LatestRevision of the component definition
  1024                          properties:
  1025                            name:
  1026                              type: string
  1027                            revision:
  1028                              format: int64
  1029                              type: integer
  1030                            revisionHash:
  1031                              description: RevisionHash record the hash value of the
  1032                                spec of ApplicationRevision object.
  1033                              type: string
  1034                          required:
  1035                          - name
  1036                          - revision
  1037                          type: object
  1038                      type: object
  1039                  type: object
  1040              required:
  1041              - definitionType
  1042              - revision
  1043              - revisionHash
  1044              type: object
  1045          type: object
  1046      served: true
  1047      storage: true
  1048      subresources: {}