...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/crds/filestore_v1beta1_filestoreinstance.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: filestoreinstances.filestore.cnrm.cloud.google.com
    27spec:
    28  group: filestore.cnrm.cloud.google.com
    29  names:
    30    categories:
    31    - gcp
    32    kind: FilestoreInstance
    33    plural: filestoreinstances
    34    shortNames:
    35    - gcpfilestoreinstance
    36    - gcpfilestoreinstances
    37    singular: filestoreinstance
    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              description:
    75                description: The description of the instance (2048 characters or less).
    76                type: string
    77              fileShares:
    78                description: File system shares on the instance. For this version,
    79                  only a single file share is supported.
    80                items:
    81                  properties:
    82                    capacityGb:
    83                      description: File share capacity in gigabytes (GB). Cloud Filestore
    84                        defines 1 GB as 1024^3 bytes.
    85                      format: int64
    86                      type: integer
    87                    name:
    88                      description: The name of the file share (must be 16 characters
    89                        or less).
    90                      type: string
    91                    nfsExportOptions:
    92                      description: Nfs Export Options. There is a limit of 10 export
    93                        options per file share.
    94                      items:
    95                        properties:
    96                          accessMode:
    97                            description: 'Either READ_ONLY, for allowing only read
    98                              requests on the exported directory, or READ_WRITE, for
    99                              allowing both read and write requests. The default is
   100                              READ_WRITE. Possible values: ACCESS_MODE_UNSPECIFIED,
   101                              READ_ONLY, READ_WRITE'
   102                            type: string
   103                          anonGid:
   104                            description: An integer representing the anonymous group
   105                              id with a default value of 65534. Anon_gid may only
   106                              be set with squash_mode of ROOT_SQUASH. An error will
   107                              be returned if this field is specified for other squash_mode
   108                              settings.
   109                            format: int64
   110                            type: integer
   111                          anonUid:
   112                            description: An integer representing the anonymous user
   113                              id with a default value of 65534. Anon_uid may only
   114                              be set with squash_mode of ROOT_SQUASH. An error will
   115                              be returned if this field is specified for other squash_mode
   116                              settings.
   117                            format: int64
   118                            type: integer
   119                          ipRanges:
   120                            description: List of either an IPv4 addresses in the format
   121                              `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges
   122                              in the format `{octet1}.{octet2}.{octet3}.{octet4}/{mask
   123                              size}` which may mount the file share. Overlapping IP
   124                              ranges are not allowed, both within and across NfsExportOptions.
   125                              An error will be returned. The limit is 64 IP ranges/addresses
   126                              for each FileShareConfig among all NfsExportOptions.
   127                            items:
   128                              type: string
   129                            type: array
   130                          squashMode:
   131                            description: 'Either NO_ROOT_SQUASH, for allowing root
   132                              access on the exported directory, or ROOT_SQUASH, for
   133                              not allowing root access. The default is NO_ROOT_SQUASH.
   134                              Possible values: SQUASH_MODE_UNSPECIFIED, NO_ROOT_SQUASH,
   135                              ROOT_SQUASH'
   136                            type: string
   137                        type: object
   138                      type: array
   139                    sourceBackupRef:
   140                      oneOf:
   141                      - not:
   142                          required:
   143                          - external
   144                        required:
   145                        - name
   146                      - not:
   147                          anyOf:
   148                          - required:
   149                            - name
   150                          - required:
   151                            - namespace
   152                        required:
   153                        - external
   154                      properties:
   155                        external:
   156                          description: |-
   157                            The resource name of the backup, in the format `projects/{project_number}/locations/{location_id}/backups/{backup_id}`, that this file share has been restored from.
   158
   159                            Allowed value: The Google Cloud resource name of a `FilestoreBackup` resource (format: `projects/{{project}}/locations/{{location}}/backups/{{name}}`).
   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                  type: object
   169                type: array
   170              location:
   171                description: Immutable. The location for the resource
   172                type: string
   173              networks:
   174                description: Immutable. VPC networks to which the instance is connected.
   175                  For this version, only a single network is supported.
   176                items:
   177                  properties:
   178                    ipAddresses:
   179                      description: Immutable. Output only. IPv4 addresses in the format
   180                        `{octet1}.{octet2}.{octet3}.{octet4}` or IPv6 addresses in
   181                        the format `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`.
   182                      items:
   183                        type: string
   184                      type: array
   185                    modes:
   186                      description: Immutable. Internet protocol versions for which
   187                        the instance has IP addresses assigned. For this version,
   188                        only MODE_IPV4 is supported.
   189                      items:
   190                        type: string
   191                      type: array
   192                    networkRef:
   193                      description: Immutable.
   194                      oneOf:
   195                      - not:
   196                          required:
   197                          - external
   198                        required:
   199                        - name
   200                      - not:
   201                          anyOf:
   202                          - required:
   203                            - name
   204                          - required:
   205                            - namespace
   206                        required:
   207                        - external
   208                      properties:
   209                        external:
   210                          description: |-
   211                            The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.
   212
   213                            Allowed value: The Google Cloud resource name of a `ComputeNetwork` resource (format: `projects/{{project}}/global/networks/{{name}}`).
   214                          type: string
   215                        name:
   216                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   217                          type: string
   218                        namespace:
   219                          description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   220                          type: string
   221                      type: object
   222                    reservedIPRange:
   223                      description: Immutable. A /29 CIDR block in one of the [internal
   224                        IP address ranges](https://www.arin.net/reference/research/statistics/address_filters/)
   225                        that identifies the range of IP addresses reserved for this
   226                        instance. For example, 10.0.0.0/29 or 192.168.0.0/29. The
   227                        range you specify can't overlap with either existing subnets
   228                        or assigned IP address ranges for other Cloud Filestore instances
   229                        in the selected VPC network.
   230                      type: string
   231                  type: object
   232                type: array
   233              projectRef:
   234                description: Immutable. The Project that this resource belongs to.
   235                oneOf:
   236                - not:
   237                    required:
   238                    - external
   239                  required:
   240                  - name
   241                - not:
   242                    anyOf:
   243                    - required:
   244                      - name
   245                    - required:
   246                      - namespace
   247                  required:
   248                  - external
   249                properties:
   250                  external:
   251                    description: |-
   252                      The project for the resource
   253
   254                      Allowed value: The Google Cloud resource name of a `Project` resource (format: `projects/{{name}}`).
   255                    type: string
   256                  name:
   257                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   258                    type: string
   259                  namespace:
   260                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   261                    type: string
   262                type: object
   263              resourceID:
   264                description: Immutable. Optional. The name of the resource. Used for
   265                  creation and acquisition. When unset, the value of `metadata.name`
   266                  is used as the default.
   267                type: string
   268              tier:
   269                description: 'Immutable. The service tier of the instance. Possible
   270                  values: TIER_UNSPECIFIED, STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD,
   271                  HIGH_SCALE_SSD, ENTERPRISE'
   272                type: string
   273            required:
   274            - location
   275            - projectRef
   276            type: object
   277          status:
   278            properties:
   279              conditions:
   280                description: Conditions represent the latest available observation
   281                  of the resource's current state.
   282                items:
   283                  properties:
   284                    lastTransitionTime:
   285                      description: Last time the condition transitioned from one status
   286                        to another.
   287                      type: string
   288                    message:
   289                      description: Human-readable message indicating details about
   290                        last transition.
   291                      type: string
   292                    reason:
   293                      description: Unique, one-word, CamelCase reason for the condition's
   294                        last transition.
   295                      type: string
   296                    status:
   297                      description: Status is the status of the condition. Can be True,
   298                        False, Unknown.
   299                      type: string
   300                    type:
   301                      description: Type is the type of the condition.
   302                      type: string
   303                  type: object
   304                type: array
   305              createTime:
   306                description: Output only. The time when the instance was created.
   307                format: date-time
   308                type: string
   309              etag:
   310                description: Server-specified ETag for the instance resource to prevent
   311                  simultaneous updates from overwriting each other.
   312                type: string
   313              observedGeneration:
   314                description: ObservedGeneration is the generation of the resource
   315                  that was most recently observed by the Config Connector controller.
   316                  If this is equal to metadata.generation, then that means that the
   317                  current reported status reflects the most recent desired state of
   318                  the resource.
   319                type: integer
   320              state:
   321                description: 'Output only. The instance state. Possible values: STATE_UNSPECIFIED,
   322                  CREATING, READY, REPAIRING, DELETING, ERROR'
   323                type: string
   324              statusMessage:
   325                description: Output only. Additional information about the instance
   326                  state, if available.
   327                type: string
   328            type: object
   329        required:
   330        - spec
   331        type: object
   332    served: true
   333    storage: true
   334    subresources:
   335      status: {}
   336status:
   337  acceptedNames:
   338    kind: ""
   339    plural: ""
   340  conditions: []
   341  storedVersions: []

View as plain text