...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/config/crds/resources/apiextensions.k8s.io_v1_customresourcedefinition_computeperinstanceconfigs.compute.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: computeperinstanceconfigs.compute.cnrm.cloud.google.com
    13spec:
    14  group: compute.cnrm.cloud.google.com
    15  names:
    16    categories:
    17    - gcp
    18    kind: ComputePerInstanceConfig
    19    plural: computeperinstanceconfigs
    20    shortNames:
    21    - gcpcomputeperinstanceconfig
    22    - gcpcomputeperinstanceconfigs
    23    singular: computeperinstanceconfig
    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              instanceGroupManagerRef:
    62                oneOf:
    63                - not:
    64                    required:
    65                    - external
    66                  required:
    67                  - name
    68                - not:
    69                    anyOf:
    70                    - required:
    71                      - name
    72                    - required:
    73                      - namespace
    74                  required:
    75                  - external
    76                properties:
    77                  external:
    78                    description: 'Allowed value: The `name` field of a `ComputeInstanceGroupManager`
    79                      resource.'
    80                    type: string
    81                  name:
    82                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
    83                    type: string
    84                  namespace:
    85                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
    86                    type: string
    87                type: object
    88              minimalAction:
    89                description: |-
    90                  The minimal action to perform on the instance during an update.
    91                  Default is 'NONE'. Possible values are:
    92                  * REPLACE
    93                  * RESTART
    94                  * REFRESH
    95                  * NONE.
    96                type: string
    97              mostDisruptiveAllowedAction:
    98                description: |-
    99                  The most disruptive action to perform on the instance during an update.
   100                  Default is 'REPLACE'. Possible values are:
   101                  * REPLACE
   102                  * RESTART
   103                  * REFRESH
   104                  * NONE.
   105                type: string
   106              preservedState:
   107                description: The preserved state for this instance.
   108                properties:
   109                  disk:
   110                    description: Stateful disks for the instance.
   111                    items:
   112                      properties:
   113                        deleteRule:
   114                          description: |-
   115                            A value that prescribes what should happen to the stateful disk when the VM instance is deleted.
   116                            The available options are 'NEVER' and 'ON_PERMANENT_INSTANCE_DELETION'.
   117                            'NEVER' - detach the disk when the VM is deleted, but do not delete the disk.
   118                            'ON_PERMANENT_INSTANCE_DELETION' will delete the stateful disk when the VM is permanently
   119                            deleted from the instance group. Default value: "NEVER" Possible values: ["NEVER", "ON_PERMANENT_INSTANCE_DELETION"].
   120                          type: string
   121                        deviceName:
   122                          description: A unique device name that is reflected into
   123                            the /dev/ tree of a Linux operating system running within
   124                            the instance.
   125                          type: string
   126                        mode:
   127                          description: 'The mode of the disk. Default value: "READ_WRITE"
   128                            Possible values: ["READ_ONLY", "READ_WRITE"].'
   129                          type: string
   130                        source:
   131                          description: |-
   132                            The URI of an existing persistent disk to attach under the specified device-name in the format
   133                            'projects/project-id/zones/zone/disks/disk-name'.
   134                          type: string
   135                      required:
   136                      - deviceName
   137                      - source
   138                      type: object
   139                    type: array
   140                  externalIp:
   141                    description: Preserved external IPs defined for this instance.
   142                      This map is keyed with the name of the network interface.
   143                    items:
   144                      properties:
   145                        autoDelete:
   146                          description: 'These stateful IPs will never be released
   147                            during autohealing, update or VM instance recreate operations.
   148                            This flag is used to configure if the IP reservation should
   149                            be deleted after it is no longer used by the group, e.g.
   150                            when the given instance or the whole group is deleted.
   151                            Default value: "NEVER" Possible values: ["NEVER", "ON_PERMANENT_INSTANCE_DELETION"].'
   152                          type: string
   153                        interfaceName:
   154                          type: string
   155                        ipAddress:
   156                          description: Ip address representation.
   157                          properties:
   158                            address:
   159                              description: The URL of the reservation for this IP
   160                                address.
   161                              type: string
   162                          type: object
   163                      required:
   164                      - interfaceName
   165                      type: object
   166                    type: array
   167                  internalIp:
   168                    description: Preserved internal IPs defined for this instance.
   169                      This map is keyed with the name of the network interface.
   170                    items:
   171                      properties:
   172                        autoDelete:
   173                          description: 'These stateful IPs will never be released
   174                            during autohealing, update or VM instance recreate operations.
   175                            This flag is used to configure if the IP reservation should
   176                            be deleted after it is no longer used by the group, e.g.
   177                            when the given instance or the whole group is deleted.
   178                            Default value: "NEVER" Possible values: ["NEVER", "ON_PERMANENT_INSTANCE_DELETION"].'
   179                          type: string
   180                        interfaceName:
   181                          type: string
   182                        ipAddress:
   183                          description: Ip address representation.
   184                          properties:
   185                            address:
   186                              description: The URL of the reservation for this IP
   187                                address.
   188                              type: string
   189                          type: object
   190                      required:
   191                      - interfaceName
   192                      type: object
   193                    type: array
   194                  metadata:
   195                    additionalProperties:
   196                      type: string
   197                    description: Preserved metadata defined for this instance. This
   198                      is a list of key->value pairs.
   199                    type: object
   200                type: object
   201              projectRef:
   202                description: The project that this resource belongs to.
   203                oneOf:
   204                - not:
   205                    required:
   206                    - external
   207                  required:
   208                  - name
   209                - not:
   210                    anyOf:
   211                    - required:
   212                      - name
   213                    - required:
   214                      - namespace
   215                  required:
   216                  - external
   217                properties:
   218                  external:
   219                    description: 'Allowed value: The `name` field of a `Project` resource.'
   220                    type: string
   221                  name:
   222                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
   223                    type: string
   224                  namespace:
   225                    description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
   226                    type: string
   227                type: object
   228              removeInstanceStateOnDestroy:
   229                description: |-
   230                  When true, deleting this config will immediately remove any specified state from the underlying instance.
   231                  When false, deleting this config will *not* immediately remove any state from the underlying instance.
   232                  State will be removed on the next instance recreation or update.
   233                type: boolean
   234              resourceID:
   235                description: Immutable. Optional. The name of the resource. Used for
   236                  creation and acquisition. When unset, the value of `metadata.name`
   237                  is used as the default.
   238                type: string
   239              zone:
   240                description: Immutable. Zone where the containing instance group manager
   241                  is located.
   242                type: string
   243            required:
   244            - instanceGroupManagerRef
   245            - projectRef
   246            - zone
   247            type: object
   248          status:
   249            properties:
   250              conditions:
   251                description: Conditions represent the latest available observation
   252                  of the resource's current state.
   253                items:
   254                  properties:
   255                    lastTransitionTime:
   256                      description: Last time the condition transitioned from one status
   257                        to another.
   258                      type: string
   259                    message:
   260                      description: Human-readable message indicating details about
   261                        last transition.
   262                      type: string
   263                    reason:
   264                      description: Unique, one-word, CamelCase reason for the condition's
   265                        last transition.
   266                      type: string
   267                    status:
   268                      description: Status is the status of the condition. Can be True,
   269                        False, Unknown.
   270                      type: string
   271                    type:
   272                      description: Type is the type of the condition.
   273                      type: string
   274                  type: object
   275                type: array
   276              observedGeneration:
   277                description: ObservedGeneration is the generation of the resource
   278                  that was most recently observed by the Config Connector controller.
   279                  If this is equal to metadata.generation, then that means that the
   280                  current reported status reflects the most recent desired state of
   281                  the resource.
   282                type: integer
   283            type: object
   284        required:
   285        - spec
   286        type: object
   287    served: true
   288    storage: true
   289    subresources:
   290      status: {}
   291status:
   292  acceptedNames:
   293    kind: ""
   294    plural: ""
   295  conditions: []
   296  storedVersions: []

View as plain text