...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/cloudasset_v1alpha1_cloudassetfolderfeed.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: cloudassetfolderfeeds.cloudasset.cnrm.cloud.google.com
    27spec:
    28  group: cloudasset.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: CloudAssetFolderFeed
    33    plural: cloudassetfolderfeeds
    34    shortNames:
    35    - gcpcloudassetfolderfeed
    36    - gcpcloudassetfolderfeeds
    37    singular: cloudassetfolderfeed
    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              assetNames:
    75                description: |-
    76                  A list of the full names of the assets to receive updates. You must specify either or both of
    77                  assetNames and assetTypes. Only asset updates matching specified assetNames and assetTypes are
    78                  exported to the feed. For example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1.
    79                  See https://cloud.google.com/apis/design/resourceNames#fullResourceName for more info.
    80                items:
    81                  type: string
    82                type: array
    83              assetTypes:
    84                description: |-
    85                  A list of types of the assets to receive updates. You must specify either or both of assetNames
    86                  and assetTypes. Only asset updates matching specified assetNames and assetTypes are exported to
    87                  the feed. For example: "compute.googleapis.com/Disk"
    88                  See https://cloud.google.com/asset-inventory/docs/supported-asset-types for a list of all
    89                  supported asset types.
    90                items:
    91                  type: string
    92                type: array
    93              billingProject:
    94                description: |-
    95                  Immutable. The project whose identity will be used when sending messages to the
    96                  destination pubsub topic. It also specifies the project for API
    97                  enablement check, quota, and billing.
    98                type: string
    99              condition:
   100                description: |-
   101                  A condition which determines whether an asset update should be published. If specified, an asset
   102                  will be returned only when the expression evaluates to true. When set, expression field
   103                  must be a valid CEL expression on a TemporalAsset with name temporal_asset. Example: a Feed with
   104                  expression "temporal_asset.deleted == true" will only publish Asset deletions. Other fields of
   105                  condition are optional.
   106                properties:
   107                  description:
   108                    description: |-
   109                      Description of the expression. This is a longer text which describes the expression,
   110                      e.g. when hovered over it in a UI.
   111                    type: string
   112                  expression:
   113                    description: Textual representation of an expression in Common
   114                      Expression Language syntax.
   115                    type: string
   116                  location:
   117                    description: |-
   118                      String indicating the location of the expression for error reporting, e.g. a file
   119                      name and a position in the file.
   120                    type: string
   121                  title:
   122                    description: |-
   123                      Title for the expression, i.e. a short string describing its purpose.
   124                      This can be used e.g. in UIs which allow to enter the expression.
   125                    type: string
   126                required:
   127                - expression
   128                type: object
   129              contentType:
   130                description: 'Asset content type. If not specified, no content but
   131                  the asset name and type will be returned. Possible values: ["CONTENT_TYPE_UNSPECIFIED",
   132                  "RESOURCE", "IAM_POLICY", "ORG_POLICY", "OS_INVENTORY", "ACCESS_POLICY"].'
   133                type: string
   134              feedId:
   135                description: Immutable. This is the client-assigned asset feed identifier
   136                  and it needs to be unique under a specific parent.
   137                type: string
   138              feedOutputConfig:
   139                description: Output configuration for asset feed destination.
   140                properties:
   141                  pubsubDestination:
   142                    description: Destination on Cloud Pubsub.
   143                    properties:
   144                      topic:
   145                        description: Destination on Cloud Pubsub topic.
   146                        type: string
   147                    required:
   148                    - topic
   149                    type: object
   150                required:
   151                - pubsubDestination
   152                type: object
   153              folder:
   154                description: Immutable. The folder this feed should be created in.
   155                type: string
   156              folderRef:
   157                description: The folder that this resource belongs to.
   158                oneOf:
   159                - not:
   160                    required:
   161                    - external
   162                  required:
   163                  - name
   164                - not:
   165                    anyOf:
   166                    - required:
   167                      - name
   168                    - required:
   169                      - namespace
   170                  required:
   171                  - external
   172                properties:
   173                  external:
   174                    description: 'Allowed value: The `name` field of a `Folder` resource.'
   175                    type: string
   176                  name:
   177                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   178                    type: string
   179                  namespace:
   180                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   181                    type: string
   182                type: object
   183              resourceID:
   184                description: Immutable. Optional. The service-generated name of the
   185                  resource. Used for acquisition only. Leave unset to create a new
   186                  resource.
   187                type: string
   188            required:
   189            - billingProject
   190            - feedId
   191            - feedOutputConfig
   192            - folder
   193            - folderRef
   194            type: object
   195          status:
   196            properties:
   197              conditions:
   198                description: Conditions represent the latest available observation
   199                  of the resource's current state.
   200                items:
   201                  properties:
   202                    lastTransitionTime:
   203                      description: Last time the condition transitioned from one status
   204                        to another.
   205                      type: string
   206                    message:
   207                      description: Human-readable message indicating details about
   208                        last transition.
   209                      type: string
   210                    reason:
   211                      description: Unique, one-word, CamelCase reason for the condition's
   212                        last transition.
   213                      type: string
   214                    status:
   215                      description: Status is the status of the condition. Can be True,
   216                        False, Unknown.
   217                      type: string
   218                    type:
   219                      description: Type is the type of the condition.
   220                      type: string
   221                  type: object
   222                type: array
   223              folderId:
   224                description: |-
   225                  The ID of the folder where this feed has been created. Both [FOLDER_NUMBER]
   226                  and folders/[FOLDER_NUMBER] are accepted.
   227                type: string
   228              name:
   229                description: The format will be folders/{folder_number}/feeds/{client-assigned_feed_identifier}.
   230                type: string
   231              observedGeneration:
   232                description: ObservedGeneration is the generation of the resource
   233                  that was most recently observed by the Config Connector controller.
   234                  If this is equal to metadata.generation, then that means that the
   235                  current reported status reflects the most recent desired state of
   236                  the resource.
   237                type: integer
   238            type: object
   239        required:
   240        - spec
   241        type: object
   242    served: true
   243    storage: true
   244    subresources:
   245      status: {}
   246status:
   247  acceptedNames:
   248    kind: ""
   249    plural: ""
   250  conditions: []
   251  storedVersions: []

View as plain text