...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/storage_v1beta1_storagenotification.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: stable
    24    cnrm.cloud.google.com/system: "true"
    25    cnrm.cloud.google.com/tf2crd: "true"
    26  name: storagenotifications.storage.cnrm.cloud.google.com
    27spec:
    28  group: storage.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: StorageNotification
    33    plural: storagenotifications
    34    shortNames:
    35    - gcpstoragenotification
    36    - gcpstoragenotifications
    37    singular: storagenotification
    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: v1beta1
    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              bucketRef:
    75                oneOf:
    76                - not:
    77                    required:
    78                    - external
    79                  required:
    80                  - name
    81                - not:
    82                    anyOf:
    83                    - required:
    84                      - name
    85                    - required:
    86                      - namespace
    87                  required:
    88                  - external
    89                properties:
    90                  external:
    91                    description: 'Allowed value: The `name` field of a `StorageBucket`
    92                      resource.'
    93                    type: string
    94                  name:
    95                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    96                    type: string
    97                  namespace:
    98                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    99                    type: string
   100                type: object
   101              customAttributes:
   102                additionalProperties:
   103                  type: string
   104                description: Immutable.  A set of key/value attribute pairs to attach
   105                  to each Cloud Pub/Sub message published for this notification subscription.
   106                type: object
   107              eventTypes:
   108                description: 'Immutable. List of event type filters for this notification
   109                  config. If not specified, Cloud Storage will send notifications
   110                  for all event types. The valid types are: "OBJECT_FINALIZE", "OBJECT_METADATA_UPDATE",
   111                  "OBJECT_DELETE", "OBJECT_ARCHIVE".'
   112                items:
   113                  type: string
   114                type: array
   115              objectNamePrefix:
   116                description: Immutable. Specifies a prefix path filter for this notification
   117                  config. Cloud Storage will only send notifications for objects in
   118                  this bucket whose names begin with the specified prefix.
   119                type: string
   120              payloadFormat:
   121                description: Immutable. The desired content of the Payload. One of
   122                  "JSON_API_V1" or "NONE".
   123                type: string
   124              resourceID:
   125                description: Immutable. Optional. The service-generated notificationId
   126                  of the resource. Used for acquisition only. Leave unset to create
   127                  a new resource.
   128                type: string
   129              topicRef:
   130                oneOf:
   131                - not:
   132                    required:
   133                    - external
   134                  required:
   135                  - name
   136                - not:
   137                    anyOf:
   138                    - required:
   139                      - name
   140                    - required:
   141                      - namespace
   142                  required:
   143                  - external
   144                properties:
   145                  external:
   146                    description: 'Allowed value: string of the format `projects/{{project}}/topics/{{value}}`,
   147                      where {{value}} is the `name` field of a `PubSubTopic` resource.'
   148                    type: string
   149                  name:
   150                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   151                    type: string
   152                  namespace:
   153                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   154                    type: string
   155                type: object
   156            required:
   157            - bucketRef
   158            - payloadFormat
   159            - topicRef
   160            type: object
   161          status:
   162            properties:
   163              conditions:
   164                description: Conditions represent the latest available observation
   165                  of the resource's current state.
   166                items:
   167                  properties:
   168                    lastTransitionTime:
   169                      description: Last time the condition transitioned from one status
   170                        to another.
   171                      type: string
   172                    message:
   173                      description: Human-readable message indicating details about
   174                        last transition.
   175                      type: string
   176                    reason:
   177                      description: Unique, one-word, CamelCase reason for the condition's
   178                        last transition.
   179                      type: string
   180                    status:
   181                      description: Status is the status of the condition. Can be True,
   182                        False, Unknown.
   183                      type: string
   184                    type:
   185                      description: Type is the type of the condition.
   186                      type: string
   187                  type: object
   188                type: array
   189              notificationId:
   190                description: The ID of the created notification.
   191                type: string
   192              observedGeneration:
   193                description: ObservedGeneration is the generation of the resource
   194                  that was most recently observed by the Config Connector controller.
   195                  If this is equal to metadata.generation, then that means that the
   196                  current reported status reflects the most recent desired state of
   197                  the resource.
   198                type: integer
   199              selfLink:
   200                description: The URI of the created resource.
   201                type: string
   202            type: object
   203        required:
   204        - spec
   205        type: object
   206    served: true
   207    storage: true
   208    subresources:
   209      status: {}
   210status:
   211  acceptedNames:
   212    kind: ""
   213    plural: ""
   214  conditions: []
   215  storedVersions: []

View as plain text