...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_cloudfunctionsfunctions.cloudfunctions.cnrm.cloud.google.com.yaml

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

     1apiVersion: apiextensions.k8s.io/v1
     2kind: CustomResourceDefinition
     3metadata:
     4  annotations:
     5    cnrm.cloud.google.com/version: 0.0.0-dev
     6  creationTimestamp: null
     7  labels:
     8    cnrm.cloud.google.com/dcl2crd: "true"
     9    cnrm.cloud.google.com/managed-by-kcc: "true"
    10    cnrm.cloud.google.com/stability-level: stable
    11    cnrm.cloud.google.com/system: "true"
    12  name: cloudfunctionsfunctions.cloudfunctions.cnrm.cloud.google.com
    13spec:
    14  group: cloudfunctions.cnrm.cloud.google.com
    15  names:
    16    categories:
    17    - gcp
    18    kind: CloudFunctionsFunction
    19    plural: cloudfunctionsfunctions
    20    shortNames:
    21    - gcpcloudfunctionsfunction
    22    - gcpcloudfunctionsfunctions
    23    singular: cloudfunctionsfunction
    24  preserveUnknownFields: false
    25  scope: Namespaced
    26  versions:
    27  - additionalPrinterColumns:
    28    - jsonPath: .metadata.creationTimestamp
    29      name: Age
    30      type: date
    31    - description: When 'True', the most recent reconcile of the resource succeeded
    32      jsonPath: .status.conditions[?(@.type=='Ready')].status
    33      name: Ready
    34      type: string
    35    - description: The reason for the value in 'Ready'
    36      jsonPath: .status.conditions[?(@.type=='Ready')].reason
    37      name: Status
    38      type: string
    39    - description: The last transition time for the value in 'Status'
    40      jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
    41      name: Status Age
    42      type: date
    43    name: v1beta1
    44    schema:
    45      openAPIV3Schema:
    46        properties:
    47          apiVersion:
    48            description: 'apiVersion defines the versioned schema of this representation
    49              of an object. Servers should convert recognized schemas to the latest
    50              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
    51            type: string
    52          kind:
    53            description: 'kind is a string value representing the REST resource this
    54              object represents. Servers may infer this from the endpoint the client
    55              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
    56            type: string
    57          metadata:
    58            type: object
    59          spec:
    60            properties:
    61              availableMemoryMb:
    62                description: 'Memory (in MB), available to the function. Default value
    63                  is 256MB. Allowed values are: 128MB, 256MB, 512MB, 1024MB, and 2048MB.'
    64                format: int64
    65                type: integer
    66              description:
    67                description: User-provided description of a function.
    68                type: string
    69              entryPoint:
    70                description: |-
    71                  Immutable. The name of the function (as defined in source code) that will be
    72                  executed. Defaults to the resource name suffix, if not specified. For
    73                  backward compatibility, if function with given name is not found, then the
    74                  system will try to use function named "function".
    75                  For Node.js this is name of a function exported by the module specified
    76                  in `source_location`.
    77                type: string
    78              environmentVariables:
    79                additionalProperties:
    80                  type: string
    81                description: Environment variables that shall be available during
    82                  function execution.
    83                type: object
    84              eventTrigger:
    85                description: Immutable. A source that fires events in response to
    86                  a condition in another service.
    87                properties:
    88                  eventType:
    89                    description: |-
    90                      Immutable. Required. The type of event to observe. For example:
    91                      `providers/cloud.storage/eventTypes/object.change` and
    92                      `providers/cloud.pubsub/eventTypes/topic.publish`.
    93
    94                      Event types match pattern `providers/*/eventTypes/*.*`.
    95                      The pattern contains:
    96
    97                      1. namespace: For example, `cloud.storage` and
    98                         `google.firebase.analytics`.
    99                      2. resource type: The type of resource on which event occurs. For
   100                         example, the Google Cloud Storage API includes the type `object`.
   101                      3. action: The action that generates the event. For example, action for
   102                         a Google Cloud Storage Object is 'change'.
   103                      These parts are lower case.
   104                    type: string
   105                  failurePolicy:
   106                    description: Immutable. Specifies policy for failed executions.
   107                    type: boolean
   108                  resourceRef:
   109                    description: Immutable.
   110                    oneOf:
   111                    - not:
   112                        required:
   113                        - external
   114                      required:
   115                      - name
   116                      - kind
   117                    - not:
   118                        anyOf:
   119                        - required:
   120                          - name
   121                        - required:
   122                          - namespace
   123                        - required:
   124                          - kind
   125                      required:
   126                      - external
   127                    properties:
   128                      external:
   129                        description: |-
   130                          Required. The resource(s) from which to observe events, for example,
   131                          `projects/_/buckets/myBucket`.
   132
   133                          Not all syntactically correct values are accepted by all services. For
   134                          example:
   135
   136                          1. The authorization model must support it. Google Cloud Functions
   137                             only allows EventTriggers to be deployed that observe resources in the
   138                             same project as the `Function`.
   139                          2. The resource type must match the pattern expected for an
   140                             `event_type`. For example, an `EventTrigger` that has an
   141                             `event_type` of "google.pubsub.topic.publish" should have a resource
   142                             that matches Google Cloud Pub/Sub topics.
   143
   144                          Additionally, some services may support short names when creating an
   145                          `EventTrigger`. These will always be returned in the normalized "long"
   146                          format.
   147
   148                          See each *service's* documentation for supported formats.
   149
   150                          Allowed values:
   151                          * The Google Cloud resource name of a `StorageBucket` resource (format: `{{name}}`).
   152                          * The Google Cloud resource name of a `PubSubTopic` resource (format: `projects/{{project}}/topics/{{name}}`).
   153                        type: string
   154                      kind:
   155                        description: 'Kind of the referent. Allowed values: StorageBucket,PubSubTopic'
   156                        type: string
   157                      name:
   158                        description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   159                        type: string
   160                      namespace:
   161                        description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   162                        type: string
   163                    type: object
   164                  service:
   165                    description: |-
   166                      Immutable. The hostname of the service that should be observed.
   167
   168                      If no string is provided, the default service implementing the API will
   169                      be used. For example, `storage.googleapis.com` is the default for all
   170                      event types in the `google.storage` namespace.
   171                    type: string
   172                required:
   173                - eventType
   174                - resourceRef
   175                type: object
   176              httpsTrigger:
   177                description: Immutable. An HTTPS endpoint type of source that can
   178                  be triggered via URL.
   179                properties:
   180                  securityLevel:
   181                    description: 'Immutable. Both HTTP and HTTPS requests with URLs
   182                      that match the handler succeed without redirects. The application
   183                      can examine the request to determine which protocol was used
   184                      and respond accordingly. Possible values: SECURITY_LEVEL_UNSPECIFIED,
   185                      SECURE_ALWAYS, SECURE_OPTIONAL'
   186                    type: string
   187                type: object
   188              ingressSettings:
   189                description: |-
   190                  The ingress settings for the function, controlling what traffic can reach
   191                  it. Possible values: INGRESS_SETTINGS_UNSPECIFIED, ALLOW_ALL, ALLOW_INTERNAL_ONLY, ALLOW_INTERNAL_AND_GCLB
   192                type: string
   193              maxInstances:
   194                description: |-
   195                  The limit on the maximum number of function instances that may coexist at a
   196                  given time.
   197                format: int64
   198                type: integer
   199              projectRef:
   200                description: Immutable. The Project that this resource belongs to.
   201                oneOf:
   202                - not:
   203                    required:
   204                    - external
   205                  required:
   206                  - name
   207                - not:
   208                    anyOf:
   209                    - required:
   210                      - name
   211                    - required:
   212                      - namespace
   213                  required:
   214                  - external
   215                properties:
   216                  external:
   217                    description: |-
   218                      The project id of the function.
   219
   220                      Allowed value: The Google Cloud resource name of a `Project` resource (format: `projects/{{name}}`).
   221                    type: string
   222                  name:
   223                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   224                    type: string
   225                  namespace:
   226                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   227                    type: string
   228                type: object
   229              region:
   230                description: Immutable. The name of the Cloud Functions region of
   231                  the function.
   232                type: string
   233              resourceID:
   234                description: Immutable. Optional. The name of the resource. Used for
   235                  creation and acquisition. When unset, the value of `metadata.name`
   236                  is used as the default.
   237                type: string
   238              runtime:
   239                description: |
   240                  The runtime in which to run the function. Required when deploying a new
   241                  function, optional when updating an existing function. For a complete
   242                  list of possible choices, see the
   243                  [`gcloud` command
   244                  reference](/sdk/gcloud/reference/functions/deploy#--runtime).
   245                type: string
   246              serviceAccountRef:
   247                description: Immutable.
   248                oneOf:
   249                - not:
   250                    required:
   251                    - external
   252                  required:
   253                  - name
   254                - not:
   255                    anyOf:
   256                    - required:
   257                      - name
   258                    - required:
   259                      - namespace
   260                  required:
   261                  - external
   262                properties:
   263                  external:
   264                    description: |-
   265                      The email of the function's service account. If empty, defaults to
   266                      `{project_id}@appspot.gserviceaccount.com`.
   267
   268                      Allowed value: The `email` field of an `IAMServiceAccount` resource.
   269                    type: string
   270                  name:
   271                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   272                    type: string
   273                  namespace:
   274                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   275                    type: string
   276                type: object
   277              sourceArchiveUrl:
   278                description: Immutable. The Google Cloud Storage URL, starting with
   279                  gs://, pointing to the zip archive which contains the function.
   280                type: string
   281              sourceRepository:
   282                description: Immutable. Represents parameters related to source repository
   283                  where a function is hosted.
   284                properties:
   285                  url:
   286                    description: |-
   287                      Immutable. The URL pointing to the hosted repository where the function is defined.
   288                      There are supported Cloud Source Repository URLs in the following
   289                      formats:
   290
   291                      To refer to a specific commit:
   292                      `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*`
   293                      To refer to a moveable alias (branch):
   294                      `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*`
   295                      In particular, to refer to HEAD use `master` moveable alias.
   296                      To refer to a specific fixed alias (tag):
   297                      `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`
   298
   299                      You may omit `paths/*` if you want to use the main directory.
   300                    type: string
   301                required:
   302                - url
   303                type: object
   304              timeout:
   305                description: |-
   306                  The function execution timeout. Execution is considered failed and
   307                  can be terminated if the function is not completed at the end of the
   308                  timeout period. Defaults to 60 seconds.
   309                type: string
   310              vpcConnectorEgressSettings:
   311                description: |-
   312                  The egress settings for the connector, controlling what traffic is diverted
   313                  through it. Possible values: VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED, PRIVATE_RANGES_ONLY, ALL_TRAFFIC
   314                type: string
   315              vpcConnectorRef:
   316                oneOf:
   317                - not:
   318                    required:
   319                    - external
   320                  required:
   321                  - name
   322                - not:
   323                    anyOf:
   324                    - required:
   325                      - name
   326                    - required:
   327                      - namespace
   328                  required:
   329                  - external
   330                properties:
   331                  external:
   332                    description: |-
   333                      The VPC Network Connector that this cloud function can connect to. It can
   334                      be either the fully-qualified URI, or the short name of the network
   335                      connector resource. The format of this field is
   336                      `projects/*/locations/*/connectors/*`
   337
   338                      Allowed value: The Google Cloud resource name of a `VPCAccessConnector` resource (format: `projects/{{project}}/locations/{{location}}/connectors/{{name}}`).
   339                    type: string
   340                  name:
   341                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   342                    type: string
   343                  namespace:
   344                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   345                    type: string
   346                type: object
   347            required:
   348            - projectRef
   349            - region
   350            - runtime
   351            type: object
   352          status:
   353            properties:
   354              conditions:
   355                description: Conditions represent the latest available observation
   356                  of the resource's current state.
   357                items:
   358                  properties:
   359                    lastTransitionTime:
   360                      description: Last time the condition transitioned from one status
   361                        to another.
   362                      type: string
   363                    message:
   364                      description: Human-readable message indicating details about
   365                        last transition.
   366                      type: string
   367                    reason:
   368                      description: Unique, one-word, CamelCase reason for the condition's
   369                        last transition.
   370                      type: string
   371                    status:
   372                      description: Status is the status of the condition. Can be True,
   373                        False, Unknown.
   374                      type: string
   375                    type:
   376                      description: Type is the type of the condition.
   377                      type: string
   378                  type: object
   379                type: array
   380              httpsTrigger:
   381                properties:
   382                  url:
   383                    description: Output only. The deployed url for the function.
   384                    type: string
   385                type: object
   386              observedGeneration:
   387                description: ObservedGeneration is the generation of the resource
   388                  that was most recently observed by the Config Connector controller.
   389                  If this is equal to metadata.generation, then that means that the
   390                  current reported status reflects the most recent desired state of
   391                  the resource.
   392                type: integer
   393              sourceRepository:
   394                properties:
   395                  deployedUrl:
   396                    description: |-
   397                      Output only. The URL pointing to the hosted repository where the function
   398                      were defined at the time of deployment. It always points to a specific
   399                      commit in the format described above.
   400                    type: string
   401                type: object
   402              status:
   403                description: 'Output only. Status of the function deployment. Possible
   404                  values: CLOUD_FUNCTION_STATUS_UNSPECIFIED, ACTIVE, OFFLINE, DEPLOY_IN_PROGRESS,
   405                  DELETE_IN_PROGRESS, UNKNOWN'
   406                type: string
   407              updateTime:
   408                description: Output only. The last update timestamp of a Cloud Function
   409                  in RFC3339 UTC 'Zulu' format, with nanosecond resolution and up
   410                  to nine fractional digits.
   411                type: string
   412              versionId:
   413                description: |-
   414                  Output only. The version identifier of the Cloud Function. Each deployment attempt
   415                  results in a new version of a function being created.
   416                format: int64
   417                type: integer
   418            type: object
   419        required:
   420        - spec
   421        type: object
   422    served: true
   423    storage: true
   424    subresources:
   425      status: {}
   426status:
   427  acceptedNames:
   428    kind: ""
   429    plural: ""
   430  conditions: []
   431  storedVersions: []

View as plain text