# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: cnrm.cloud.google.com/version: 1.106.0 creationTimestamp: null labels: cnrm.cloud.google.com/managed-by-kcc: "true" cnrm.cloud.google.com/stability-level: stable cnrm.cloud.google.com/system: "true" cnrm.cloud.google.com/tf2crd: "true" name: memcacheinstances.memcache.cnrm.cloud.google.com spec: group: memcache.cnrm.cloud.google.com names: categories: - gcp kind: MemcacheInstance plural: memcacheinstances shortNames: - gcpmemcacheinstance - gcpmemcacheinstances singular: memcacheinstance scope: Namespaced versions: - additionalPrinterColumns: - jsonPath: .metadata.creationTimestamp name: Age type: date - description: When 'True', the most recent reconcile of the resource succeeded jsonPath: .status.conditions[?(@.type=='Ready')].status name: Ready type: string - description: The reason for the value in 'Ready' jsonPath: .status.conditions[?(@.type=='Ready')].reason name: Status type: string - description: The last transition time for the value in 'Status' jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime name: Status Age type: date name: v1beta1 schema: openAPIV3Schema: properties: apiVersion: description: 'apiVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources' type: string kind: description: 'kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds' type: string metadata: type: object spec: properties: displayName: description: A user-visible name for the instance. type: string maintenancePolicy: description: Maintenance policy for an instance. properties: createTime: description: |- Output only. The time when the policy was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. type: string description: description: |- Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512. type: string updateTime: description: |- Output only. The time when the policy was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. type: string weeklyMaintenanceWindow: description: |- Required. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_maintenance_windows is expected to be one. items: properties: day: description: |- Required. The day of week that maintenance updates occur. - DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified. - MONDAY: Monday - TUESDAY: Tuesday - WEDNESDAY: Wednesday - THURSDAY: Thursday - FRIDAY: Friday - SATURDAY: Saturday - SUNDAY: Sunday Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]. type: string duration: description: |- Required. The length of the maintenance window, ranging from 3 hours to 8 hours. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". type: string startTime: description: Required. Start time of the window in UTC time. properties: hours: description: |- Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. type: integer minutes: description: Minutes of hour of day. Must be from 0 to 59. type: integer nanos: description: Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. type: integer seconds: description: |- Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds. type: integer type: object required: - day - duration - startTime type: object type: array required: - weeklyMaintenanceWindow type: object memcacheParameters: description: Immutable. User-specified parameters for this memcache instance. properties: id: description: This is a unique ID associated with this set of parameters. type: string params: additionalProperties: type: string description: User-defined set of parameters to use in the memcache process. type: object type: object memcacheVersion: description: |- The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is MEMCACHE_1_5. The minor version will be automatically determined by our system based on the latest supported minor version. Default value: "MEMCACHE_1_5" Possible values: ["MEMCACHE_1_5"]. type: string networkRef: description: The full name of the network to connect the instance to. oneOf: - not: required: - external required: - name - not: anyOf: - required: - name - required: - namespace required: - external properties: external: description: 'Allowed value: string of the format `projects/{{project}}/global/networks/{{value}}`, where {{value}} is the `name` field of a `ComputeNetwork` resource.' type: string name: description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' type: string namespace: description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/' type: string type: object nodeConfig: description: Immutable. Configuration for memcache nodes. properties: cpuCount: description: Number of CPUs per node. type: integer memorySizeMb: description: Memory size in Mebibytes for each memcache node. type: integer required: - cpuCount - memorySizeMb type: object nodeCount: description: Number of nodes in the memcache instance. type: integer region: description: Immutable. The region of the Memcache instance. If it is not provided, the provider region is used. type: string resourceID: description: Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. type: string zones: description: |- Immutable. Zones where memcache nodes should be provisioned. If not provided, all zones will be used. items: type: string type: array required: - nodeConfig - nodeCount - region type: object status: properties: conditions: description: Conditions represent the latest available observation of the resource's current state. items: properties: lastTransitionTime: description: Last time the condition transitioned from one status to another. type: string message: description: Human-readable message indicating details about last transition. type: string reason: description: Unique, one-word, CamelCase reason for the condition's last transition. type: string status: description: Status is the status of the condition. Can be True, False, Unknown. type: string type: description: Type is the type of the condition. type: string type: object type: array createTime: description: Creation timestamp in RFC3339 text format. type: string discoveryEndpoint: description: Endpoint for Discovery API. type: string maintenanceSchedule: description: Output only. Published maintenance schedule. items: properties: endTime: description: |- Output only. The end time of any upcoming scheduled maintenance for this instance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. type: string scheduleDeadlineTime: description: |- Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. type: string startTime: description: |- Output only. The start time of any upcoming scheduled maintenance for this instance. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. type: string type: object type: array memcacheFullVersion: description: The full version of memcached server running on this instance. type: string memcacheNodes: description: Additional information about the instance state, if available. items: properties: host: description: Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node. type: string nodeId: description: Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name. type: string port: description: The port number of the Memcached server on this node. type: integer state: description: Current state of the Memcached node. type: string zone: description: Location (GCP Zone) for the Memcached node. type: string type: object type: array observedGeneration: description: ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. type: integer type: object required: - spec type: object served: true storage: true subresources: status: {} status: acceptedNames: kind: "" plural: "" conditions: [] storedVersions: []