# Code generated by skv2. DO NOT EDIT. apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: crd.solo.io/specHash: d037fd3cff3c7046 crd.solo.io/version: 2.14.0 labels: app: gloo-mesh-apis app.kubernetes.io/name: gloo-mesh-apis name: cloudproviders.infrastructure.gloo.solo.io spec: group: infrastructure.gloo.solo.io names: categories: - solo-io kind: CloudProvider listKind: CloudProviderList plural: cloudproviders shortNames: - cp singular: cloudprovider scope: Namespaced versions: - additionalPrinterColumns: - jsonPath: .status.common.State.approval name: Status type: string name: v2 schema: openAPIV3Schema: properties: spec: description: |- A CloudProvider is a representation of a cloud/infrastructure provider, and allows you to specify the configuration used to communicate with that cloud provider, as well as how to discover the set of backing functionality associated with that CloudProvider. oneOf: - not: anyOf: - required: - aws - required: - aws properties: aws: description: AWS cloud provider configuration. properties: accountId: description: AWS account ID type: string lambda: description: Lambda configuration properties: discovery: description: Discovery of lambda functions properties: enabled: description: Enable discovery of lambda functions. type: boolean filter: description: Lambda function configuration specifies how lambda functions will be discovered. properties: latestOnly: description: |- select only Lambda functions with the $LATEST version, to reduce the amount of discovered functions. If disabled, the generated resources will contain all versions associated with the functions specified. type: boolean names: description: filter by the names of the functions. Functions that do not match this selector will not be included. Regex supported. items: type: string type: array type: object roleName: description: |- Optional. The name of role to use for discovering CloudResources, associated with the account ID and region specified on the CloudProvider. If set, this name will be used to override the value found in the $AWS_ROLE_ARN environment variable on the mgmt-server pod. type: string type: object invokeRoleName: description: |- Optional. The name of the IAM role to assume when calling the specified Cloud Function, associated with the account ID and region specified on the CloudProvider. If omitted, the IAM role specified on the gateway is used, unless referencing an imported CloudProvider. If importing a CloudProvider, you must specify this field. You can also specify a default invokeRole in a RouteTable by using the 'gloo.solo.io/defaultInvokeRole' annotation. type: string type: object region: description: AWS region type: string stsEndpoint: description: STS endpoint to reach out to for AWS credentials type: string type: object type: object status: description: The status of the resource after it is applied to your Gloo environment. properties: common: description: The state and workspace conditions of the applied resource. properties: State: properties: approval: description: |- Whether the resource has been accepted as valid and processed in the Gloo Mesh config translation. enum: - PENDING - ACCEPTED - INVALID - WARNING - FAILED - UNLICENSED type: string message: description: Additional information about the current state of the resource. type: string observedGeneration: description: |- The most recent generation observed in the object's metadata. If the `observedGeneration` does not match `metadata.generation`, Gloo Mesh has not processed the most recent version of this object. format: int64 type: integer type: object workspaceConditions: additionalProperties: maximum: 4294967295 minimum: 0 type: integer description: |- A map of ApprovalState to the number of workspaces in this condition, e.g., "Accepted" -> 2 "Pending" -> 1 type: object type: object numAppliedRoutableFunctions: additionalProperties: maximum: 4294967295 minimum: 0 type: integer description: |- A map of CloudResources to the number of routable functions provided by that CloudResource. type: object numChildCloudResources: description: The number of CloudResources that back this CloudProvider. maximum: 4294967295 minimum: 0 type: integer type: object type: object served: true storage: true subresources: status: {} --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: crd.solo.io/specHash: 4d8636be7ff0114a crd.solo.io/version: 2.14.0 labels: app: gloo-mesh-apis app.kubernetes.io/name: gloo-mesh-apis name: cloudresources.infrastructure.gloo.solo.io spec: group: infrastructure.gloo.solo.io names: categories: - solo-io kind: CloudResources listKind: CloudResourcesList plural: cloudresources shortNames: - cr singular: cloudresources scope: Namespaced versions: - name: v2 schema: openAPIV3Schema: properties: spec: description: |- CloudResources are units of functionality that back a referenced CloudProvider resource. These bits of functionality can be referenced in the route table to route to the corresponding backend service. oneOf: - not: anyOf: - required: - aws - required: - aws properties: aws: description: AWSResources discovered resources from AWS properties: lambda: description: The list of lambda functions Gloo Mesh can route to for the AWS provider. items: description: 'Each Lambda Function contains data necessary for Gloo Mesh to invoke those functions:' properties: lambdaFunctionName: description: The Name of the Lambda Function as it appears in the AWS Lambda Portal type: string qualifier: description: |- The Qualifier for the Lambda Function. Qualifiers act as a kind of version for Lambda Functions. See https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html for more info. type: string type: object type: array type: object provider: description: |- The name of the cloud provider that this configuration references. Must live in the same namespace as the CloudResources. type: string type: object type: object served: true storage: true subresources: {} ---