...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/workflows_v1alpha1_workflowsworkflow.yaml

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/crds

     1# Copyright 2020 Google LLC
     2#
     3# Licensed under the Apache License, Version 2.0 (the "License");
     4# you may not use this file except in compliance with the License.
     5# You may obtain a copy of the License at
     6#
     7#     http://www.apache.org/licenses/LICENSE-2.0
     8#
     9# Unless required by applicable law or agreed to in writing, software
    10# distributed under the License is distributed on an "AS IS" BASIS,
    11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12# See the License for the specific language governing permissions and
    13# limitations under the License.
    14
    15apiVersion: apiextensions.k8s.io/v1
    16kind: CustomResourceDefinition
    17metadata:
    18  annotations:
    19    cnrm.cloud.google.com/version: 1.106.0
    20  creationTimestamp: null
    21  labels:
    22    cnrm.cloud.google.com/managed-by-kcc: "true"
    23    cnrm.cloud.google.com/stability-level: alpha
    24    cnrm.cloud.google.com/system: "true"
    25    cnrm.cloud.google.com/tf2crd: "true"
    26  name: workflowsworkflows.workflows.cnrm.cloud.google.com
    27spec:
    28  group: workflows.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: WorkflowsWorkflow
    33    plural: workflowsworkflows
    34    shortNames:
    35    - gcpworkflowsworkflow
    36    - gcpworkflowsworkflows
    37    singular: workflowsworkflow
    38  scope: Namespaced
    39  versions:
    40  - additionalPrinterColumns:
    41    - jsonPath: .metadata.creationTimestamp
    42      name: Age
    43      type: date
    44    - description: When 'True', the most recent reconcile of the resource succeeded
    45      jsonPath: .status.conditions[?(@.type=='Ready')].status
    46      name: Ready
    47      type: string
    48    - description: The reason for the value in 'Ready'
    49      jsonPath: .status.conditions[?(@.type=='Ready')].reason
    50      name: Status
    51      type: string
    52    - description: The last transition time for the value in 'Status'
    53      jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
    54      name: Status Age
    55      type: date
    56    name: v1alpha1
    57    schema:
    58      openAPIV3Schema:
    59        properties:
    60          apiVersion:
    61            description: 'apiVersion defines the versioned schema of this representation
    62              of an object. Servers should convert recognized schemas to the latest
    63              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
    64            type: string
    65          kind:
    66            description: 'kind is a string value representing the REST resource this
    67              object represents. Servers may infer this from the endpoint the client
    68              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
    69            type: string
    70          metadata:
    71            type: object
    72          spec:
    73            properties:
    74              cryptoKeyName:
    75                description: |-
    76                  The KMS key used to encrypt workflow and execution data.
    77
    78                  Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}.
    79                type: string
    80              description:
    81                description: Description of the workflow provided by the user. Must
    82                  be at most 1000 unicode characters long.
    83                type: string
    84              namePrefix:
    85                description: Immutable.
    86                type: string
    87              projectRef:
    88                description: The project that this resource belongs to.
    89                oneOf:
    90                - not:
    91                    required:
    92                    - external
    93                  required:
    94                  - name
    95                - not:
    96                    anyOf:
    97                    - required:
    98                      - name
    99                    - required:
   100                      - namespace
   101                  required:
   102                  - external
   103                properties:
   104                  external:
   105                    description: 'Allowed value: The `name` field of a `Project` resource.'
   106                    type: string
   107                  name:
   108                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   109                    type: string
   110                  namespace:
   111                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   112                    type: string
   113                type: object
   114              region:
   115                description: Immutable. The region of the workflow.
   116                type: string
   117              resourceID:
   118                description: Immutable. Optional. The name of the resource. Used for
   119                  creation and acquisition. When unset, the value of `metadata.name`
   120                  is used as the default.
   121                type: string
   122              serviceAccount:
   123                description: |-
   124                  Name of the service account associated with the latest workflow version. This service
   125                  account represents the identity of the workflow and determines what permissions the workflow has.
   126                  Format: projects/{project}/serviceAccounts/{account} or {account}.
   127                  Using - as a wildcard for the {project} or not providing one at all will infer the project from the account.
   128                  The {account} value can be the email address or the unique_id of the service account.
   129                  If not provided, workflow will use the project's default service account.
   130                  Modifying this field for an existing workflow results in a new workflow revision.
   131                type: string
   132              sourceContents:
   133                description: Workflow code to be executed. The size limit is 32KB.
   134                type: string
   135            required:
   136            - projectRef
   137            - region
   138            type: object
   139          status:
   140            properties:
   141              conditions:
   142                description: Conditions represent the latest available observation
   143                  of the resource's current state.
   144                items:
   145                  properties:
   146                    lastTransitionTime:
   147                      description: Last time the condition transitioned from one status
   148                        to another.
   149                      type: string
   150                    message:
   151                      description: Human-readable message indicating details about
   152                        last transition.
   153                      type: string
   154                    reason:
   155                      description: Unique, one-word, CamelCase reason for the condition's
   156                        last transition.
   157                      type: string
   158                    status:
   159                      description: Status is the status of the condition. Can be True,
   160                        False, Unknown.
   161                      type: string
   162                    type:
   163                      description: Type is the type of the condition.
   164                      type: string
   165                  type: object
   166                type: array
   167              createTime:
   168                description: The timestamp of when the workflow was created in RFC3339
   169                  UTC "Zulu" format, with nanosecond resolution and up to nine fractional
   170                  digits.
   171                type: string
   172              observedGeneration:
   173                description: ObservedGeneration is the generation of the resource
   174                  that was most recently observed by the Config Connector controller.
   175                  If this is equal to metadata.generation, then that means that the
   176                  current reported status reflects the most recent desired state of
   177                  the resource.
   178                type: integer
   179              revisionId:
   180                description: The revision of the workflow. A new one is generated
   181                  if the service account or source contents is changed.
   182                type: string
   183              state:
   184                description: State of the workflow deployment.
   185                type: string
   186              updateTime:
   187                description: The timestamp of when the workflow was last updated in
   188                  RFC3339 UTC "Zulu" format, with nanosecond resolution and up to
   189                  nine fractional digits.
   190                type: string
   191            type: object
   192        required:
   193        - spec
   194        type: object
   195    served: true
   196    storage: true
   197    subresources:
   198      status: {}
   199status:
   200  acceptedNames:
   201    kind: ""
   202    plural: ""
   203  conditions: []
   204  storedVersions: []

View as plain text