diff --git a/charts/operator/Chart.yaml b/charts/operator/Chart.yaml index 486e69a..13cd131 100644 --- a/charts/operator/Chart.yaml +++ b/charts/operator/Chart.yaml @@ -15,10 +15,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.5 +version: 0.1.6 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.1.1" +appVersion: "0.1.2" diff --git a/charts/operator/crds/clusterresources.instaclustr.com_awsendpointserviceprincipals.yaml b/charts/operator/crds/clusterresources.instaclustr.com_awsendpointserviceprincipals.yaml new file mode 100644 index 0000000..dc93be7 --- /dev/null +++ b/charts/operator/crds/clusterresources.instaclustr.com_awsendpointserviceprincipals.yaml @@ -0,0 +1,68 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.9.2 + creationTimestamp: null + name: awsendpointserviceprincipals.clusterresources.instaclustr.com +spec: + group: clusterresources.instaclustr.com + names: + kind: AWSEndpointServicePrincipal + listKind: AWSEndpointServicePrincipalList + plural: awsendpointserviceprincipals + singular: awsendpointserviceprincipal + scope: Namespaced + versions: + - name: v1beta1 + schema: + openAPIV3Schema: + description: AWSEndpointServicePrincipal is the Schema for the awsendpointserviceprincipals + API + 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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: AWSEndpointServicePrincipalSpec defines the desired state + of AWSEndpointServicePrincipal + properties: + clusterDataCenterId: + description: The ID of the cluster data center + type: string + endPointServiceId: + description: The Instaclustr ID of the AWS endpoint service + type: string + principalArn: + description: The IAM Principal ARN + type: string + required: + - clusterDataCenterId + - principalArn + type: object + status: + description: AWSEndpointServicePrincipalStatus defines the observed state + of AWSEndpointServicePrincipal + properties: + endPointServiceId: + description: The Instaclustr ID of the AWS endpoint service + type: string + id: + description: The Instaclustr ID of the IAM Principal ARN + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/charts/operator/crds/clusterresources.instaclustr.com_exclusionwindows.yaml b/charts/operator/crds/clusterresources.instaclustr.com_exclusionwindows.yaml new file mode 100644 index 0000000..81d6e8a --- /dev/null +++ b/charts/operator/crds/clusterresources.instaclustr.com_exclusionwindows.yaml @@ -0,0 +1,69 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.9.2 + creationTimestamp: null + name: exclusionwindows.clusterresources.instaclustr.com +spec: + group: clusterresources.instaclustr.com + names: + kind: ExclusionWindow + listKind: ExclusionWindowList + plural: exclusionwindows + singular: exclusionwindow + scope: Namespaced + versions: + - name: v1beta1 + schema: + openAPIV3Schema: + description: ExclusionWindow is the Schema for the exclusionwindows API + 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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ExclusionWindowSpec defines the desired state of ExclusionWindow + properties: + clusterId: + type: string + dayOfWeek: + type: string + durationInHours: + format: int32 + maximum: 40 + type: integer + startHour: + format: int32 + maximum: 23 + minimum: 0 + type: integer + required: + - clusterId + - dayOfWeek + - durationInHours + - startHour + type: object + status: + description: ExclusionWindowStatus defines the observed state of ExclusionWindow + properties: + id: + type: string + required: + - id + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/charts/operator/crds/clusterresources.instaclustr.com_maintenanceevents.yaml b/charts/operator/crds/clusterresources.instaclustr.com_maintenanceevents.yaml index edf1eef..e7a5ce7 100644 --- a/charts/operator/crds/clusterresources.instaclustr.com_maintenanceevents.yaml +++ b/charts/operator/crds/clusterresources.instaclustr.com_maintenanceevents.yaml @@ -37,79 +37,37 @@ spec: properties: clusterId: type: string - exclusionWindows: - items: - properties: - dayOfWeek: - type: string - durationInHours: - format: int32 - type: integer - startHour: - format: int32 - type: integer - required: - - dayOfWeek - - durationInHours - - startHour - type: object - type: array maintenanceEventsReschedule: items: properties: - scheduleId: + maintenanceEventId: type: string scheduledStartTime: type: string required: - - scheduleId + - maintenanceEventId - scheduledStartTime type: object type: array required: - clusterId + - maintenanceEventsReschedule type: object status: description: MaintenanceEventsStatus defines the observed state of MaintenanceEvents properties: - eventsStatuses: - items: - properties: - description: - type: string - id: - type: string - isFinalized: - type: boolean - scheduledEndTime: - type: string - scheduledStartTime: - type: string - scheduledStartTimeMax: - type: string - scheduledStartTimeMin: - type: string - type: object - type: array - exclusionWindowsStatuses: - items: - properties: - dayOfWeek: - type: string - durationInHours: - format: int32 - type: integer - id: - type: string - startHour: - format: int32 - type: integer - required: - - dayOfWeek - - durationInHours - - startHour - type: object - type: array + currentRescheduledEvent: + properties: + maintenanceEventId: + type: string + scheduledStartTime: + type: string + required: + - maintenanceEventId + - scheduledStartTime + type: object + required: + - currentRescheduledEvent type: object type: object served: true diff --git a/charts/operator/crds/clusterresources.instaclustr.com_postgresqlusers.yaml b/charts/operator/crds/clusterresources.instaclustr.com_postgresqlusers.yaml new file mode 100644 index 0000000..4208d0f --- /dev/null +++ b/charts/operator/crds/clusterresources.instaclustr.com_postgresqlusers.yaml @@ -0,0 +1,82 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.9.2 + creationTimestamp: null + name: postgresqlusers.clusterresources.instaclustr.com +spec: + group: clusterresources.instaclustr.com + names: + kind: PostgreSQLUser + listKind: PostgreSQLUserList + plural: postgresqlusers + singular: postgresqluser + scope: Namespaced + versions: + - name: v1beta1 + schema: + openAPIV3Schema: + description: PostgreSQLUser is the Schema for the postgresqlusers API + 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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: PostgreSQLUserSpec defines the desired state of PostgreSQLUser + properties: + secretRef: + properties: + name: + type: string + namespace: + type: string + required: + - name + - namespace + type: object + required: + - secretRef + type: object + status: + description: PostgreSQLUserStatus defines the observed state of PostgreSQLUser + properties: + clustersInfo: + additionalProperties: + properties: + defaultSecretNamespacedName: + properties: + name: + type: string + namespace: + type: string + required: + - name + - namespace + type: object + event: + type: string + required: + - defaultSecretNamespacedName + type: object + description: ClustersInfo efficiently stores data about clusters that + related to this user. The keys of the map represent the cluster + IDs, values are cluster info that consists of default secret namespaced + name or event. + type: object + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/charts/operator/crds/clusters.instaclustr.com_cadences.yaml b/charts/operator/crds/clusters.instaclustr.com_cadences.yaml index a722f40..12bfbb5 100644 --- a/charts/operator/crds/clusters.instaclustr.com_cadences.yaml +++ b/charts/operator/crds/clusters.instaclustr.com_cadences.yaml @@ -15,7 +15,20 @@ spec: singular: cadence scope: Namespaced versions: - - name: v1beta1 + - additionalPrinterColumns: + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.id + name: ID + type: string + - jsonPath: .status.state + name: State + type: string + - jsonPath: .spec.version + name: Version + type: string + name: v1beta1 schema: openAPIV3Schema: description: Cadence is the Schema for the cadences API @@ -85,6 +98,7 @@ spec: items: properties: advertisedHostname: + minLength: 3 type: string required: - advertisedHostname @@ -103,6 +117,8 @@ spec: - nodesNumber - region type: object + maxItems: 1 + minItems: 1 type: array description: type: string @@ -241,6 +257,18 @@ spec: - targetCassandra type: object type: array + targetPrimaryCadence: + items: + properties: + dependencyCdcId: + type: string + dependencyVpcType: + type: string + required: + - dependencyCdcId + - dependencyVpcType + type: object + type: array twoFactorDelete: items: properties: @@ -299,6 +327,19 @@ spec: type: string type: object type: array + privateLink: + items: + properties: + advertisedHostname: + type: string + endPointServiceId: + type: string + endPointServiceName: + type: string + required: + - advertisedHostname + type: object + type: array status: type: string type: object @@ -308,20 +349,91 @@ spec: maintenanceEvents: items: properties: - description: - type: string - id: - type: string - isFinalized: - type: boolean - scheduledEndTime: - type: string - scheduledStartTime: - type: string - scheduledStartTimeMax: - type: string - scheduledStartTimeMin: - type: string + inProgress: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + past: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + upcoming: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + required: + - inProgress + - past + - upcoming type: object type: array options: @@ -335,6 +447,18 @@ spec: type: object state: type: string + targetSecondaryCadence: + items: + properties: + dependencyCdcId: + type: string + dependencyVpcType: + type: string + required: + - dependencyCdcId + - dependencyVpcType + type: object + type: array twoFactorDeleteEnabled: type: boolean type: object diff --git a/charts/operator/crds/clusters.instaclustr.com_cassandras.yaml b/charts/operator/crds/clusters.instaclustr.com_cassandras.yaml index ae828c7..577e547 100644 --- a/charts/operator/crds/clusters.instaclustr.com_cassandras.yaml +++ b/charts/operator/crds/clusters.instaclustr.com_cassandras.yaml @@ -15,7 +15,20 @@ spec: singular: cassandra scope: Namespaced versions: - - name: v1beta1 + - additionalPrinterColumns: + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.id + name: ID + type: string + - jsonPath: .status.state + name: State + type: string + - jsonPath: .spec.version + name: Version + type: string + name: v1beta1 schema: openAPIV3Schema: description: Cassandra is the Schema for the cassandras API @@ -89,6 +102,8 @@ spec: - replicationFactor type: object type: array + description: + type: string luceneEnabled: type: boolean name: @@ -172,7 +187,7 @@ spec: - email type: object type: array - userRef: + userRefs: items: properties: name: @@ -224,6 +239,19 @@ spec: type: string type: object type: array + privateLink: + items: + properties: + advertisedHostname: + type: string + endPointServiceId: + type: string + endPointServiceName: + type: string + required: + - advertisedHostname + type: object + type: array status: type: string type: object @@ -233,20 +261,91 @@ spec: maintenanceEvents: items: properties: - description: - type: string - id: - type: string - isFinalized: - type: boolean - scheduledEndTime: - type: string - scheduledStartTime: - type: string - scheduledStartTimeMax: - type: string - scheduledStartTimeMin: - type: string + inProgress: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + past: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + upcoming: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + required: + - inProgress + - past + - upcoming type: object type: array options: diff --git a/charts/operator/crds/clusters.instaclustr.com_kafkaconnects.yaml b/charts/operator/crds/clusters.instaclustr.com_kafkaconnects.yaml index 9bb1f3d..a1cf9fb 100644 --- a/charts/operator/crds/clusters.instaclustr.com_kafkaconnects.yaml +++ b/charts/operator/crds/clusters.instaclustr.com_kafkaconnects.yaml @@ -15,7 +15,20 @@ spec: singular: kafkaconnect scope: Namespaced versions: - - name: v1beta1 + - additionalPrinterColumns: + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.id + name: ID + type: string + - jsonPath: .status.state + name: State + type: string + - jsonPath: .spec.version + name: Version + type: string + name: v1beta1 schema: openAPIV3Schema: description: KafkaConnect is the Schema for the kafkaconnects API @@ -161,6 +174,8 @@ spec: - replicationFactor type: object type: array + description: + type: string name: description: Name [ 3 .. 32 ] characters. type: string @@ -279,6 +294,19 @@ spec: type: string type: object type: array + privateLink: + items: + properties: + advertisedHostname: + type: string + endPointServiceId: + type: string + endPointServiceName: + type: string + required: + - advertisedHostname + type: object + type: array status: type: string type: object @@ -288,20 +316,91 @@ spec: maintenanceEvents: items: properties: - description: - type: string - id: - type: string - isFinalized: - type: boolean - scheduledEndTime: - type: string - scheduledStartTime: - type: string - scheduledStartTimeMax: - type: string - scheduledStartTimeMin: - type: string + inProgress: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + past: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + upcoming: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + required: + - inProgress + - past + - upcoming type: object type: array options: diff --git a/charts/operator/crds/clusters.instaclustr.com_kafkas.yaml b/charts/operator/crds/clusters.instaclustr.com_kafkas.yaml index 97b3983..9f42838 100644 --- a/charts/operator/crds/clusters.instaclustr.com_kafkas.yaml +++ b/charts/operator/crds/clusters.instaclustr.com_kafkas.yaml @@ -15,7 +15,20 @@ spec: singular: kafka scope: Namespaced versions: - - name: v1beta1 + - additionalPrinterColumns: + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.id + name: ID + type: string + - jsonPath: .status.state + name: State + type: string + - jsonPath: .spec.version + name: Version + type: string + name: v1beta1 schema: openAPIV3Schema: description: Kafka is the Schema for the kafkas API @@ -41,10 +54,6 @@ spec: type: boolean bundledUseOnly: type: boolean - clientAuthBrokerWithEncryption: - type: boolean - clientAuthBrokerWithoutEncryption: - type: boolean clientBrokerAuthWithMtls: type: boolean clientToClusterEncryption: @@ -79,6 +88,7 @@ spec: items: properties: advertisedHostname: + minLength: 3 type: string required: - advertisedHostname @@ -97,6 +107,8 @@ spec: - nodesNumber - region type: object + maxItems: 1 + minItems: 1 type: array dedicatedZookeeper: description: Provision additional dedicated nodes for Apache Zookeeper @@ -118,6 +130,8 @@ spec: - nodesNumber type: object type: array + description: + type: string karapaceRestProxy: items: properties: @@ -139,6 +153,15 @@ spec: - version type: object type: array + kraft: + items: + properties: + controllerNodeCount: + type: integer + required: + - controllerNodeCount + type: object + type: array name: description: Name [ 3 .. 32 ] characters. type: string @@ -265,6 +288,19 @@ spec: type: string type: object type: array + privateLink: + items: + properties: + advertisedHostname: + type: string + endPointServiceId: + type: string + endPointServiceName: + type: string + required: + - advertisedHostname + type: object + type: array status: type: string type: object @@ -274,20 +310,91 @@ spec: maintenanceEvents: items: properties: - description: - type: string - id: - type: string - isFinalized: - type: boolean - scheduledEndTime: - type: string - scheduledStartTime: - type: string - scheduledStartTimeMax: - type: string - scheduledStartTimeMin: - type: string + inProgress: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + past: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + upcoming: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + required: + - inProgress + - past + - upcoming type: object type: array options: diff --git a/charts/operator/crds/clusters.instaclustr.com_opensearches.yaml b/charts/operator/crds/clusters.instaclustr.com_opensearches.yaml index a0c7c60..f3c5049 100644 --- a/charts/operator/crds/clusters.instaclustr.com_opensearches.yaml +++ b/charts/operator/crds/clusters.instaclustr.com_opensearches.yaml @@ -15,7 +15,20 @@ spec: singular: opensearch scope: Namespaced versions: - - name: v1beta1 + - additionalPrinterColumns: + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.id + name: ID + type: string + - jsonPath: .status.state + name: State + type: string + - jsonPath: .spec.version + name: Version + type: string + name: v1beta1 schema: openAPIV3Schema: description: OpenSearch is the Schema for the opensearches API @@ -41,7 +54,7 @@ spec: type: boolean asynchronousSearchPlugin: type: boolean - bundleUseOnly: + bundledUseOnly: type: boolean clusterManagerNodes: items: @@ -122,6 +135,8 @@ spec: - nodesNumber type: object type: array + description: + type: string icuPlugin: type: boolean indexManagementPlugin: @@ -258,6 +273,19 @@ spec: type: string type: object type: array + privateLink: + items: + properties: + advertisedHostname: + type: string + endPointServiceId: + type: string + endPointServiceName: + type: string + required: + - advertisedHostname + type: object + type: array status: type: string type: object @@ -267,20 +295,91 @@ spec: maintenanceEvents: items: properties: - description: - type: string - id: - type: string - isFinalized: - type: boolean - scheduledEndTime: - type: string - scheduledStartTime: - type: string - scheduledStartTimeMax: - type: string - scheduledStartTimeMin: - type: string + inProgress: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + past: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + upcoming: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + required: + - inProgress + - past + - upcoming type: object type: array options: diff --git a/charts/operator/crds/clusters.instaclustr.com_postgresqls.yaml b/charts/operator/crds/clusters.instaclustr.com_postgresqls.yaml index a01959d..9f2d07a 100644 --- a/charts/operator/crds/clusters.instaclustr.com_postgresqls.yaml +++ b/charts/operator/crds/clusters.instaclustr.com_postgresqls.yaml @@ -15,7 +15,20 @@ spec: singular: postgresql scope: Namespaced versions: - - name: v1beta1 + - additionalPrinterColumns: + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.id + name: ID + type: string + - jsonPath: .status.state + name: State + type: string + - jsonPath: .spec.version + name: Version + type: string + name: v1beta1 schema: openAPIV3Schema: description: PostgreSQL is the Schema for the postgresqls API @@ -184,6 +197,18 @@ spec: - email type: object type: array + userRefs: + items: + properties: + name: + type: string + namespace: + type: string + required: + - name + - namespace + type: object + type: array version: type: string type: object @@ -224,6 +249,19 @@ spec: type: string type: object type: array + privateLink: + items: + properties: + advertisedHostname: + type: string + endPointServiceId: + type: string + endPointServiceName: + type: string + required: + - advertisedHostname + type: object + type: array status: type: string type: object @@ -233,20 +271,91 @@ spec: maintenanceEvents: items: properties: - description: - type: string - id: - type: string - isFinalized: - type: boolean - scheduledEndTime: - type: string - scheduledStartTime: - type: string - scheduledStartTimeMax: - type: string - scheduledStartTimeMin: - type: string + inProgress: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + past: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + upcoming: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + required: + - inProgress + - past + - upcoming type: object type: array options: diff --git a/charts/operator/crds/clusters.instaclustr.com_redis.yaml b/charts/operator/crds/clusters.instaclustr.com_redis.yaml index 343a244..c261a7c 100644 --- a/charts/operator/crds/clusters.instaclustr.com_redis.yaml +++ b/charts/operator/crds/clusters.instaclustr.com_redis.yaml @@ -15,7 +15,20 @@ spec: singular: redis scope: Namespaced versions: - - name: v1beta1 + - additionalPrinterColumns: + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.id + name: ID + type: string + - jsonPath: .status.state + name: State + type: string + - jsonPath: .spec.version + name: Version + type: string + name: v1beta1 schema: openAPIV3Schema: description: Redis is the Schema for the redis API @@ -66,8 +79,23 @@ spec: type: string nodesNumber: type: integer + privateLink: + items: + properties: + advertisedHostname: + minLength: 3 + type: string + required: + - advertisedHostname + type: object + maxItems: 1 + type: array region: type: string + replicationFactor: + maximum: 5 + minimum: 0 + type: integer tags: additionalProperties: type: string @@ -80,6 +108,7 @@ spec: - nodesNumber - region type: object + maxItems: 2 type: array description: type: string @@ -207,6 +236,19 @@ spec: type: string type: object type: array + privateLink: + items: + properties: + advertisedHostname: + type: string + endPointServiceId: + type: string + endPointServiceName: + type: string + required: + - advertisedHostname + type: object + type: array status: type: string type: object @@ -216,20 +258,91 @@ spec: maintenanceEvents: items: properties: - description: - type: string - id: - type: string - isFinalized: - type: boolean - scheduledEndTime: - type: string - scheduledStartTime: - type: string - scheduledStartTimeMax: - type: string - scheduledStartTimeMin: - type: string + inProgress: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + past: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + upcoming: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + required: + - inProgress + - past + - upcoming type: object type: array options: diff --git a/charts/operator/crds/clusters.instaclustr.com_zookeepers.yaml b/charts/operator/crds/clusters.instaclustr.com_zookeepers.yaml index afe9b52..a1db3c5 100644 --- a/charts/operator/crds/clusters.instaclustr.com_zookeepers.yaml +++ b/charts/operator/crds/clusters.instaclustr.com_zookeepers.yaml @@ -15,7 +15,20 @@ spec: singular: zookeeper scope: Namespaced versions: - - name: v1beta1 + - additionalPrinterColumns: + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.id + name: ID + type: string + - jsonPath: .status.state + name: State + type: string + - jsonPath: .spec.version + name: Version + type: string + name: v1beta1 schema: openAPIV3Schema: description: Zookeeper is the Schema for the zookeepers API @@ -84,6 +97,8 @@ spec: - region type: object type: array + description: + type: string name: description: Name [ 3 .. 32 ] characters. type: string @@ -156,6 +171,19 @@ spec: type: string type: object type: array + privateLink: + items: + properties: + advertisedHostname: + type: string + endPointServiceId: + type: string + endPointServiceName: + type: string + required: + - advertisedHostname + type: object + type: array status: type: string type: object @@ -165,20 +193,91 @@ spec: maintenanceEvents: items: properties: - description: - type: string - id: - type: string - isFinalized: - type: boolean - scheduledEndTime: - type: string - scheduledStartTime: - type: string - scheduledStartTimeMax: - type: string - scheduledStartTimeMin: - type: string + inProgress: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + past: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + upcoming: + items: + properties: + description: + type: string + endTime: + type: string + id: + type: string + isFinalized: + type: boolean + outcome: + type: string + scheduledEndTime: + type: string + scheduledStartTime: + type: string + scheduledStartTimeMax: + type: string + scheduledStartTimeMin: + type: string + startTime: + type: string + required: + - isFinalized + type: object + type: array + required: + - inProgress + - past + - upcoming type: object type: array options: diff --git a/charts/operator/crds/kafkamanagement.instaclustr.com_kafkausers.yaml b/charts/operator/crds/kafkamanagement.instaclustr.com_kafkausers.yaml index 08f3413..fac3c07 100644 --- a/charts/operator/crds/kafkamanagement.instaclustr.com_kafkausers.yaml +++ b/charts/operator/crds/kafkamanagement.instaclustr.com_kafkausers.yaml @@ -35,6 +35,37 @@ spec: spec: description: KafkaUserSpec defines the desired state of KafkaUser properties: + certificateRequests: + items: + properties: + autoRenew: + type: boolean + clusterId: + type: string + commonName: + type: string + country: + type: string + csr: + type: string + organization: + type: string + organizationalUnit: + type: string + secretName: + type: string + secretNamespace: + type: string + validPeriod: + type: integer + required: + - autoRenew + - clusterId + - secretName + - secretNamespace + - validPeriod + type: object + type: array initialPermissions: type: string options: diff --git a/charts/operator/values.yaml b/charts/operator/values.yaml index 1070208..5dd43b9 100644 --- a/charts/operator/values.yaml +++ b/charts/operator/values.yaml @@ -4,7 +4,7 @@ replicaCount: 1 image: repository: icoperator/instaclustr-operator pullPolicy: IfNotPresent - tag: v0.1.1 + tag: v0.1.2 port: 8080 @@ -62,6 +62,14 @@ rbac: verbs: - create - patch + - apiGroups: + - "" + resources: + - nodes + verbs: + - get + - list + - watch - apiGroups: - "" resources: @@ -112,6 +120,32 @@ rbac: - get - patch - update + - apiGroups: + - clusterresources.instaclustr.com + resources: + - awsendpointserviceprincipals + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - clusterresources.instaclustr.com + resources: + - awsendpointserviceprincipals/finalizers + verbs: + - update + - apiGroups: + - clusterresources.instaclustr.com + resources: + - awsendpointserviceprincipals/status + verbs: + - get + - patch + - update - apiGroups: - clusterresources.instaclustr.com resources: @@ -269,6 +303,32 @@ rbac: - get - patch - update + - apiGroups: + - clusterresources.instaclustr.com + resources: + - exclusionwindows + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - clusterresources.instaclustr.com + resources: + - exclusionwindows/finalizers + verbs: + - update + - apiGroups: + - clusterresources.instaclustr.com + resources: + - exclusionwindows/status + verbs: + - get + - patch + - update - apiGroups: - clusterresources.instaclustr.com resources: @@ -373,6 +433,32 @@ rbac: - get - patch - update + - apiGroups: + - clusterresources.instaclustr.com + resources: + - postgresqlusers + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - clusterresources.instaclustr.com + resources: + - postgresqlusers/finalizers + verbs: + - update + - apiGroups: + - clusterresources.instaclustr.com + resources: + - postgresqlusers/status + verbs: + - get + - patch + - update - apiGroups: - clusterresources.instaclustr.com resources: diff --git a/docs/operator-0.1.6.tgz b/docs/operator-0.1.6.tgz new file mode 100644 index 0000000..988a037 Binary files /dev/null and b/docs/operator-0.1.6.tgz differ diff --git a/index.yaml b/index.yaml index 806d828..554f93a 100644 --- a/index.yaml +++ b/index.yaml @@ -1,6 +1,16 @@ apiVersion: v1 entries: operator: + - apiVersion: v2 + appVersion: 0.1.2 + created: "2023-09-18T17:10:30.103973349+03:00" + description: Operator helm chart + digest: 85614734c45b7ccb7ef38d941a274d853c216c860b6b5c091f119100270e9a98 + name: operator + type: application + urls: + - https://instaclustr.github.io/operator-helm/docs/operator-0.1.6.tgz + version: 0.1.6 - apiVersion: v2 appVersion: 0.1.1 created: "2023-07-24T17:33:01.092165144+03:00" @@ -61,4 +71,4 @@ entries: urls: - https://instaclustr.github.io/operator-helm/docs/operator-0.1.0.tgz version: 0.1.0 -generated: "2023-07-24T17:33:01.071678123+03:00" +generated: "2023-09-18T17:10:30.070694174+03:00"