...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/sourcerepo_v1beta1_sourcereporepository.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: sourcereporepositories.sourcerepo.cnrm.cloud.google.com
    27spec:
    28  group: sourcerepo.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: SourceRepoRepository
    33    plural: sourcereporepositories
    34    shortNames:
    35    - gcpsourcereporepository
    36    - gcpsourcereporepositories
    37    singular: sourcereporepository
    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              pubsubConfigs:
    75                description: |-
    76                  How this repository publishes a change in the repository through Cloud Pub/Sub.
    77                  Keyed by the topic names.
    78                items:
    79                  properties:
    80                    messageFormat:
    81                      description: |-
    82                        The format of the Cloud Pub/Sub messages.
    83                        - PROTOBUF: The message payload is a serialized protocol buffer of SourceRepoEvent.
    84                        - JSON: The message payload is a JSON string of SourceRepoEvent. Possible values: ["PROTOBUF", "JSON"].
    85                      type: string
    86                    serviceAccountRef:
    87                      description: |-
    88                        Service account used for publishing Cloud Pub/Sub messages. This
    89                        service account needs to be in the same project as the
    90                        pubsubConfig. When added, the caller needs to have
    91                        iam.serviceAccounts.actAs permission on this service account. If
    92                        unspecified, it defaults to the compute engine default service
    93                        account.
    94                      oneOf:
    95                      - not:
    96                          required:
    97                          - external
    98                        required:
    99                        - name
   100                      - not:
   101                          anyOf:
   102                          - required:
   103                            - name
   104                          - required:
   105                            - namespace
   106                        required:
   107                        - external
   108                      properties:
   109                        external:
   110                          description: 'Allowed value: The `email` field of an `IAMServiceAccount`
   111                            resource.'
   112                          type: string
   113                        name:
   114                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   115                          type: string
   116                        namespace:
   117                          description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   118                          type: string
   119                      type: object
   120                    topicRef:
   121                      oneOf:
   122                      - not:
   123                          required:
   124                          - external
   125                        required:
   126                        - name
   127                      - not:
   128                          anyOf:
   129                          - required:
   130                            - name
   131                          - required:
   132                            - namespace
   133                        required:
   134                        - external
   135                      properties:
   136                        external:
   137                          description: 'Allowed value: The `name` field of a `PubSubTopic`
   138                            resource.'
   139                          type: string
   140                        name:
   141                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   142                          type: string
   143                        namespace:
   144                          description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   145                          type: string
   146                      type: object
   147                  required:
   148                  - messageFormat
   149                  - topicRef
   150                  type: object
   151                type: array
   152              resourceID:
   153                description: Immutable. Optional. The name of the resource. Used for
   154                  creation and acquisition. When unset, the value of `metadata.name`
   155                  is used as the default.
   156                type: string
   157            type: object
   158          status:
   159            properties:
   160              conditions:
   161                description: Conditions represent the latest available observation
   162                  of the resource's current state.
   163                items:
   164                  properties:
   165                    lastTransitionTime:
   166                      description: Last time the condition transitioned from one status
   167                        to another.
   168                      type: string
   169                    message:
   170                      description: Human-readable message indicating details about
   171                        last transition.
   172                      type: string
   173                    reason:
   174                      description: Unique, one-word, CamelCase reason for the condition's
   175                        last transition.
   176                      type: string
   177                    status:
   178                      description: Status is the status of the condition. Can be True,
   179                        False, Unknown.
   180                      type: string
   181                    type:
   182                      description: Type is the type of the condition.
   183                      type: string
   184                  type: object
   185                type: array
   186              observedGeneration:
   187                description: ObservedGeneration is the generation of the resource
   188                  that was most recently observed by the Config Connector controller.
   189                  If this is equal to metadata.generation, then that means that the
   190                  current reported status reflects the most recent desired state of
   191                  the resource.
   192                type: integer
   193              size:
   194                description: The disk usage of the repo, in bytes.
   195                type: integer
   196              url:
   197                description: URL to clone the repository from Google Cloud Source
   198                  Repositories.
   199                type: string
   200            type: object
   201        type: object
   202    served: true
   203    storage: true
   204    subresources:
   205      status: {}
   206status:
   207  acceptedNames:
   208    kind: ""
   209    plural: ""
   210  conditions: []
   211  storedVersions: []

View as plain text