...

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

View as plain text