...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/gkehub_v1beta1_gkehubfeature.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/dcl2crd: "true"
    23    cnrm.cloud.google.com/managed-by-kcc: "true"
    24    cnrm.cloud.google.com/stability-level: stable
    25    cnrm.cloud.google.com/system: "true"
    26  name: gkehubfeatures.gkehub.cnrm.cloud.google.com
    27spec:
    28  group: gkehub.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: GKEHubFeature
    33    plural: gkehubfeatures
    34    shortNames:
    35    - gcpgkehubfeature
    36    - gcpgkehubfeatures
    37    singular: gkehubfeature
    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              location:
    75                description: Immutable. The location for the resource
    76                type: string
    77              projectRef:
    78                description: Immutable. The Project that this resource belongs to.
    79                oneOf:
    80                - not:
    81                    required:
    82                    - external
    83                  required:
    84                  - name
    85                - not:
    86                    anyOf:
    87                    - required:
    88                      - name
    89                    - required:
    90                      - namespace
    91                  required:
    92                  - external
    93                properties:
    94                  external:
    95                    description: |-
    96                      The project for the resource
    97
    98                      Allowed value: The Google Cloud resource name of a `Project` resource (format: `projects/{{name}}`).
    99                    type: string
   100                  name:
   101                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   102                    type: string
   103                  namespace:
   104                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   105                    type: string
   106                type: object
   107              resourceID:
   108                description: Immutable. Optional. The name of the resource. Used for
   109                  creation and acquisition. When unset, the value of `metadata.name`
   110                  is used as the default.
   111                type: string
   112              spec:
   113                description: Optional. Hub-wide Feature configuration. If this Feature
   114                  does not support any Hub-wide configuration, this field may be unused.
   115                properties:
   116                  fleetobservability:
   117                    description: Fleet Observability spec.
   118                    properties:
   119                      loggingConfig:
   120                        description: Fleet Observability Logging-specific spec.
   121                        properties:
   122                          defaultConfig:
   123                            description: Specified if applying the default routing
   124                              config to logs not specified in other configs.
   125                            properties:
   126                              mode:
   127                                description: 'The logs routing mode Possible values:
   128                                  MODE_UNSPECIFIED, COPY, MOVE'
   129                                type: string
   130                            type: object
   131                          fleetScopeLogsConfig:
   132                            description: Specified if applying the routing config
   133                              to all logs for all fleet scopes.
   134                            properties:
   135                              mode:
   136                                description: 'The logs routing mode Possible values:
   137                                  MODE_UNSPECIFIED, COPY, MOVE'
   138                                type: string
   139                            type: object
   140                        type: object
   141                    type: object
   142                  multiclusteringress:
   143                    description: Multicluster Ingress-specific spec.
   144                    properties:
   145                      configMembershipRef:
   146                        oneOf:
   147                        - not:
   148                            required:
   149                            - external
   150                          required:
   151                          - name
   152                        - not:
   153                            anyOf:
   154                            - required:
   155                              - name
   156                            - required:
   157                              - namespace
   158                          required:
   159                          - external
   160                        properties:
   161                          external:
   162                            description: |-
   163                              Fully-qualified Membership name which hosts the MultiClusterIngress CRD. Example: `projects/foo-proj/locations/global/memberships/bar`
   164
   165                              Allowed value: The Google Cloud resource name of a `GKEHubMembership` resource (format: `projects/{{project}}/locations/{{location}}/memberships/{{name}}`).
   166                            type: string
   167                          name:
   168                            description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   169                            type: string
   170                          namespace:
   171                            description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   172                            type: string
   173                        type: object
   174                    required:
   175                    - configMembershipRef
   176                    type: object
   177                type: object
   178            required:
   179            - location
   180            - projectRef
   181            type: object
   182          status:
   183            properties:
   184              conditions:
   185                description: Conditions represent the latest available observation
   186                  of the resource's current state.
   187                items:
   188                  properties:
   189                    lastTransitionTime:
   190                      description: Last time the condition transitioned from one status
   191                        to another.
   192                      type: string
   193                    message:
   194                      description: Human-readable message indicating details about
   195                        last transition.
   196                      type: string
   197                    reason:
   198                      description: Unique, one-word, CamelCase reason for the condition's
   199                        last transition.
   200                      type: string
   201                    status:
   202                      description: Status is the status of the condition. Can be True,
   203                        False, Unknown.
   204                      type: string
   205                    type:
   206                      description: Type is the type of the condition.
   207                      type: string
   208                  type: object
   209                type: array
   210              createTime:
   211                description: Output only. When the Feature resource was created.
   212                format: date-time
   213                type: string
   214              deleteTime:
   215                description: Output only. When the Feature resource was deleted.
   216                format: date-time
   217                type: string
   218              observedGeneration:
   219                description: ObservedGeneration is the generation of the resource
   220                  that was most recently observed by the Config Connector controller.
   221                  If this is equal to metadata.generation, then that means that the
   222                  current reported status reflects the most recent desired state of
   223                  the resource.
   224                type: integer
   225              resourceState:
   226                description: State of the Feature resource itself.
   227                properties:
   228                  hasResources:
   229                    description: Whether this Feature has outstanding resources that
   230                      need to be cleaned up before it can be disabled.
   231                    type: boolean
   232                  state:
   233                    description: 'The current state of the Feature resource in the
   234                      Hub API. Possible values: STATE_UNSPECIFIED, ENABLING, ACTIVE,
   235                      DISABLING, UPDATING, SERVICE_UPDATING'
   236                    type: string
   237                type: object
   238              state:
   239                description: Output only. The Hub-wide Feature state
   240                properties:
   241                  state:
   242                    description: Output only. The "running state" of the Feature in
   243                      this Hub.
   244                    properties:
   245                      code:
   246                        description: 'The high-level, machine-readable status of this
   247                          Feature. Possible values: CODE_UNSPECIFIED, OK, WARNING,
   248                          ERROR'
   249                        type: string
   250                      description:
   251                        description: A human-readable description of the current status.
   252                        type: string
   253                      updateTime:
   254                        description: 'The time this status and any related Feature-specific
   255                          details were updated. A timestamp in RFC3339 UTC "Zulu"
   256                          format, with nanosecond resolution and up to nine fractional
   257                          digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"'
   258                        type: string
   259                    type: object
   260                type: object
   261              updateTime:
   262                description: Output only. When the Feature resource was last updated.
   263                format: date-time
   264                type: string
   265            type: object
   266        required:
   267        - spec
   268        type: object
   269    served: true
   270    storage: true
   271    subresources:
   272      status: {}
   273status:
   274  acceptedNames:
   275    kind: ""
   276    plural: ""
   277  conditions: []
   278  storedVersions: []

View as plain text