diff --git a/charts/aiven-operator-crds/Chart.yaml b/charts/aiven-operator-crds/Chart.yaml index ed19108..293e118 100644 --- a/charts/aiven-operator-crds/Chart.yaml +++ b/charts/aiven-operator-crds/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: aiven-operator-crds description: A Helm chart to deploy the aiven operator custom resource definitions type: application -version: v0.18.1 -appVersion: v0.18.1 +version: v0.19.0 +appVersion: v0.19.0 maintainers: - name: byashimov url: https://www.aiven.io diff --git a/charts/aiven-operator-crds/templates/aiven.io_cassandras.yaml b/charts/aiven-operator-crds/templates/aiven.io_cassandras.yaml index 162e0f0..a7e6bef 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_cassandras.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_cassandras.yaml @@ -139,8 +139,8 @@ spec: maxLength: 128 type: string project: - description: Target project. - format: ^[a-zA-Z0-9_-]*$ + description: Identifies the project this resource belongs to + format: ^[a-zA-Z0-9_-]+$ maxLength: 63 type: string x-kubernetes-validations: diff --git a/charts/aiven-operator-crds/templates/aiven.io_clickhousedatabases.yaml b/charts/aiven-operator-crds/templates/aiven.io_clickhousedatabases.yaml index 2a20e9b..62fff08 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_clickhousedatabases.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_clickhousedatabases.yaml @@ -58,15 +58,18 @@ spec: - name type: object project: - description: Project to link the database to - format: ^[a-zA-Z0-9_-]*$ + description: Identifies the project this resource belongs to + format: ^[a-zA-Z0-9_-]+$ maxLength: 63 type: string x-kubernetes-validations: - message: Value is immutable rule: self == oldSelf serviceName: - description: Clickhouse service to link the database to + description: + Specifies the name of the service that this resource + belongs to + format: ^[a-z][-a-z0-9]+$ maxLength: 63 type: string x-kubernetes-validations: diff --git a/charts/aiven-operator-crds/templates/aiven.io_clickhouseroles.yaml b/charts/aiven-operator-crds/templates/aiven.io_clickhouseroles.yaml new file mode 100644 index 0000000..6361d08 --- /dev/null +++ b/charts/aiven-operator-crds/templates/aiven.io_clickhouseroles.yaml @@ -0,0 +1,178 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.9.2 + creationTimestamp: null + name: clickhouseroles.aiven.io +spec: + group: aiven.io + names: + kind: ClickhouseRole + listKind: ClickhouseRoleList + plural: clickhouseroles + singular: clickhouserole + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.project + name: Project + type: string + - jsonPath: .spec.serviceName + name: Service Name + type: string + - jsonPath: .spec.role + name: Role + type: string + name: v1alpha1 + schema: + openAPIV3Schema: + description: ClickhouseRole is the Schema for the clickhouseroles 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: ClickhouseRoleSpec defines the desired state of ClickhouseRole + properties: + authSecretRef: + description: Authentication reference to Aiven token in a secret + properties: + key: + minLength: 1 + type: string + name: + minLength: 1 + type: string + required: + - key + - name + type: object + project: + description: Identifies the project this resource belongs to + format: ^[a-zA-Z0-9_-]+$ + maxLength: 63 + type: string + x-kubernetes-validations: + - message: Value is immutable + rule: self == oldSelf + role: + description: The role that is to be created + format: ^[a-zA-Z_][0-9a-zA-Z_]*$ + maxLength: 255 + type: string + x-kubernetes-validations: + - message: Value is immutable + rule: self == oldSelf + serviceName: + description: + Specifies the name of the service that this resource + belongs to + format: ^[a-z][-a-z0-9]+$ + maxLength: 63 + type: string + x-kubernetes-validations: + - message: Value is immutable + rule: self == oldSelf + required: + - project + - role + - serviceName + type: object + status: + description: ClickhouseRoleStatus defines the observed state of ClickhouseRole + properties: + conditions: + items: + description: + "Condition contains details for one aspect of the current + state of this API Resource. --- This struct is intended for direct + use as an array at the field path .status.conditions. For example, + \n type FooStatus struct{ // Represents the observations of a + foo's current state. // Known .status.conditions.type are: \"Available\", + \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge + // +listType=map // +listMapKey=type Conditions []metav1.Condition + `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" + protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }" + properties: + lastTransitionTime: + description: + lastTransitionTime is the last time the condition + transitioned from one status to another. This should be when + the underlying condition changed. If that is not known, then + using the time when the API field changed is acceptable. + format: date-time + type: string + message: + description: + message is a human readable message indicating + details about the transition. This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: + observedGeneration represents the .metadata.generation + that the condition was set based upon. For instance, if .metadata.generation + is currently 12, but the .status.conditions[x].observedGeneration + is 9, the condition is out of date with respect to the current + state of the instance. + format: int64 + minimum: 0 + type: integer + reason: + description: + reason contains a programmatic identifier indicating + the reason for the condition's last transition. Producers + of specific condition types may define expected values and + meanings for this field, and whether the values are considered + a guaranteed API. The value should be a CamelCase string. + This field may not be empty. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: + type of condition in CamelCase or in foo.example.com/CamelCase. + --- Many .condition.type values are consistent across resources + like Available, but because arbitrary conditions can be useful + (see .node.status.conditions), the ability to deconflict is + important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + maxLength: 316 + pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ + type: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array + required: + - conditions + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/charts/aiven-operator-crds/templates/aiven.io_clickhouses.yaml b/charts/aiven-operator-crds/templates/aiven.io_clickhouses.yaml index aa63e02..98327d5 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_clickhouses.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_clickhouses.yaml @@ -126,8 +126,8 @@ spec: maxLength: 128 type: string project: - description: Target project. - format: ^[a-zA-Z0-9_-]*$ + description: Identifies the project this resource belongs to + format: ^[a-zA-Z0-9_-]+$ maxLength: 63 type: string x-kubernetes-validations: diff --git a/charts/aiven-operator-crds/templates/aiven.io_clickhouseusers.yaml b/charts/aiven-operator-crds/templates/aiven.io_clickhouseusers.yaml index 0c15c6b..328addc 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_clickhouseusers.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_clickhouseusers.yaml @@ -102,15 +102,18 @@ spec: - message: connInfoSecretTargetDisabled is immutable. rule: self == oldSelf project: - description: Project to link the user to - format: ^[a-zA-Z0-9_-]*$ + description: Identifies the project this resource belongs to + format: ^[a-zA-Z0-9_-]+$ maxLength: 63 type: string x-kubernetes-validations: - message: Value is immutable rule: self == oldSelf serviceName: - description: Service to link the user to + description: + Specifies the name of the service that this resource + belongs to + format: ^[a-z][-a-z0-9]+$ maxLength: 63 type: string x-kubernetes-validations: diff --git a/charts/aiven-operator-crds/templates/aiven.io_connectionpools.yaml b/charts/aiven-operator-crds/templates/aiven.io_connectionpools.yaml index 9db1cd2..5354778 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_connectionpools.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_connectionpools.yaml @@ -128,14 +128,23 @@ spec: backend server type: integer project: - description: Target project. - format: ^[a-zA-Z0-9_-]*$ + description: Identifies the project this resource belongs to + format: ^[a-zA-Z0-9_-]+$ maxLength: 63 type: string + x-kubernetes-validations: + - message: Value is immutable + rule: self == oldSelf serviceName: - description: Service name. + description: + Specifies the name of the service that this resource + belongs to + format: ^[a-z][-a-z0-9]+$ maxLength: 63 type: string + x-kubernetes-validations: + - message: Value is immutable + rule: self == oldSelf username: description: Name of the service user used to connect to the database maxLength: 64 diff --git a/charts/aiven-operator-crds/templates/aiven.io_databases.yaml b/charts/aiven-operator-crds/templates/aiven.io_databases.yaml index 6bdd0b9..a6116af 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_databases.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_databases.yaml @@ -16,12 +16,12 @@ spec: scope: Namespaced versions: - additionalPrinterColumns: - - jsonPath: .spec.serviceName - name: Service Name - type: string - jsonPath: .spec.project name: Project type: string + - jsonPath: .spec.serviceName + name: Service Name + type: string name: v1alpha1 schema: openAPIV3Schema: @@ -78,15 +78,18 @@ spec: - message: Value is immutable rule: self == oldSelf project: - description: Project to link the database to - format: ^[a-zA-Z0-9_-]*$ + description: Identifies the project this resource belongs to + format: ^[a-zA-Z0-9_-]+$ maxLength: 63 type: string x-kubernetes-validations: - message: Value is immutable rule: self == oldSelf serviceName: - description: PostgreSQL service to link the database to + description: + Specifies the name of the service that this resource + belongs to + format: ^[a-z][-a-z0-9]+$ maxLength: 63 type: string x-kubernetes-validations: diff --git a/charts/aiven-operator-crds/templates/aiven.io_grafanas.yaml b/charts/aiven-operator-crds/templates/aiven.io_grafanas.yaml index 2898ab2..0cd27fa 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_grafanas.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_grafanas.yaml @@ -139,8 +139,8 @@ spec: maxLength: 128 type: string project: - description: Target project. - format: ^[a-zA-Z0-9_-]*$ + description: Identifies the project this resource belongs to + format: ^[a-zA-Z0-9_-]+$ maxLength: 63 type: string x-kubernetes-validations: @@ -221,7 +221,7 @@ spec: description: Cassandra specific user configuration options properties: additional_backup_regions: - description: Deprecated. Additional Cloud Regions for Backup Replication + description: Additional Cloud Regions for Backup Replication items: type: string maxItems: 1 diff --git a/charts/aiven-operator-crds/templates/aiven.io_kafkaacls.yaml b/charts/aiven-operator-crds/templates/aiven.io_kafkaacls.yaml index 6f03147..cfe4c1c 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_kafkaacls.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_kafkaacls.yaml @@ -75,14 +75,23 @@ spec: - write type: string project: - description: Project to link the Kafka ACL to - format: ^[a-zA-Z0-9_-]*$ + description: Identifies the project this resource belongs to + format: ^[a-zA-Z0-9_-]+$ maxLength: 63 type: string + x-kubernetes-validations: + - message: Value is immutable + rule: self == oldSelf serviceName: - description: Service to link the Kafka ACL to + description: + Specifies the name of the service that this resource + belongs to + format: ^[a-z][-a-z0-9]+$ maxLength: 63 type: string + x-kubernetes-validations: + - message: Value is immutable + rule: self == oldSelf topic: description: Topic name pattern for the ACL entry type: string diff --git a/charts/aiven-operator-crds/templates/aiven.io_kafkaconnectors.yaml b/charts/aiven-operator-crds/templates/aiven.io_kafkaconnectors.yaml index 91871b0..e81824b 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_kafkaconnectors.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_kafkaconnectors.yaml @@ -74,14 +74,23 @@ spec: maxLength: 1024 type: string project: - description: Target project. - format: ^[a-zA-Z0-9_-]*$ + description: Identifies the project this resource belongs to + format: ^[a-zA-Z0-9_-]+$ maxLength: 63 type: string + x-kubernetes-validations: + - message: Value is immutable + rule: self == oldSelf serviceName: - description: Service name. + description: + Specifies the name of the service that this resource + belongs to + format: ^[a-z][-a-z0-9]+$ maxLength: 63 type: string + x-kubernetes-validations: + - message: Value is immutable + rule: self == oldSelf userConfig: additionalProperties: type: string diff --git a/charts/aiven-operator-crds/templates/aiven.io_kafkaconnects.yaml b/charts/aiven-operator-crds/templates/aiven.io_kafkaconnects.yaml index a3b5670..a1289d1 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_kafkaconnects.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_kafkaconnects.yaml @@ -82,8 +82,8 @@ spec: maxLength: 128 type: string project: - description: Target project. - format: ^[a-zA-Z0-9_-]*$ + description: Identifies the project this resource belongs to + format: ^[a-zA-Z0-9_-]+$ maxLength: 63 type: string x-kubernetes-validations: diff --git a/charts/aiven-operator-crds/templates/aiven.io_kafkas.yaml b/charts/aiven-operator-crds/templates/aiven.io_kafkas.yaml index 2b3df0a..e9c3e4c 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_kafkas.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_kafkas.yaml @@ -146,8 +146,8 @@ spec: maxLength: 128 type: string project: - description: Target project. - format: ^[a-zA-Z0-9_-]*$ + description: Identifies the project this resource belongs to + format: ^[a-zA-Z0-9_-]+$ maxLength: 63 type: string x-kubernetes-validations: diff --git a/charts/aiven-operator-crds/templates/aiven.io_kafkaschemaregistryacls.yaml b/charts/aiven-operator-crds/templates/aiven.io_kafkaschemaregistryacls.yaml index 7eea930..7d47c21 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_kafkaschemaregistryacls.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_kafkaschemaregistryacls.yaml @@ -15,7 +15,23 @@ spec: singular: kafkaschemaregistryacl scope: Namespaced versions: - - name: v1alpha1 + - additionalPrinterColumns: + - jsonPath: .spec.project + name: Project + type: string + - jsonPath: .spec.serviceName + name: Service Name + type: string + - jsonPath: .spec.resource + name: Resource + type: string + - jsonPath: .spec.username + name: Username + type: string + - jsonPath: .status.state + name: State + type: string + name: v1alpha1 schema: openAPIV3Schema: description: @@ -62,7 +78,7 @@ spec: rule: self == oldSelf project: description: Identifies the project this resource belongs to - format: ^[a-zA-Z0-9_-]*$ + format: ^[a-zA-Z0-9_-]+$ maxLength: 63 type: string x-kubernetes-validations: @@ -79,6 +95,7 @@ spec: description: Specifies the name of the service that this resource belongs to + format: ^[a-z][-a-z0-9]+$ maxLength: 63 type: string x-kubernetes-validations: diff --git a/charts/aiven-operator-crds/templates/aiven.io_kafkaschemas.yaml b/charts/aiven-operator-crds/templates/aiven.io_kafkaschemas.yaml index ffb7aa2..d2b449d 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_kafkaschemas.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_kafkaschemas.yaml @@ -78,19 +78,28 @@ spec: - NONE type: string project: - description: Project to link the Kafka Schema to - format: ^[a-zA-Z0-9_-]*$ + description: Identifies the project this resource belongs to + format: ^[a-zA-Z0-9_-]+$ maxLength: 63 type: string + x-kubernetes-validations: + - message: Value is immutable + rule: self == oldSelf schema: description: Kafka Schema configuration should be a valid Avro Schema JSON format type: string serviceName: - description: Service to link the Kafka Schema to + description: + Specifies the name of the service that this resource + belongs to + format: ^[a-z][-a-z0-9]+$ maxLength: 63 type: string + x-kubernetes-validations: + - message: Value is immutable + rule: self == oldSelf subjectName: description: Kafka Schema Subject name maxLength: 63 diff --git a/charts/aiven-operator-crds/templates/aiven.io_kafkatopics.yaml b/charts/aiven-operator-crds/templates/aiven.io_kafkatopics.yaml index b20b8d6..5c8ccc9 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_kafkatopics.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_kafkatopics.yaml @@ -169,18 +169,27 @@ spec: minimum: 1 type: integer project: - description: Target project. - format: ^[a-zA-Z0-9_-]*$ + description: Identifies the project this resource belongs to + format: ^[a-zA-Z0-9_-]+$ maxLength: 63 type: string + x-kubernetes-validations: + - message: Value is immutable + rule: self == oldSelf replication: description: Replication factor for the topic minimum: 2 type: integer serviceName: - description: Service name. + description: + Specifies the name of the service that this resource + belongs to + format: ^[a-z][-a-z0-9]+$ maxLength: 63 type: string + x-kubernetes-validations: + - message: Value is immutable + rule: self == oldSelf tags: description: Kafka topic tags items: diff --git a/charts/aiven-operator-crds/templates/aiven.io_mysqls.yaml b/charts/aiven-operator-crds/templates/aiven.io_mysqls.yaml index a578b08..8bb028b 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_mysqls.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_mysqls.yaml @@ -139,8 +139,8 @@ spec: maxLength: 128 type: string project: - description: Target project. - format: ^[a-zA-Z0-9_-]*$ + description: Identifies the project this resource belongs to + format: ^[a-zA-Z0-9_-]+$ maxLength: 63 type: string x-kubernetes-validations: diff --git a/charts/aiven-operator-crds/templates/aiven.io_opensearches.yaml b/charts/aiven-operator-crds/templates/aiven.io_opensearches.yaml index 9fab2c3..ee3cb5c 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_opensearches.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_opensearches.yaml @@ -126,8 +126,8 @@ spec: maxLength: 128 type: string project: - description: Target project. - format: ^[a-zA-Z0-9_-]*$ + description: Identifies the project this resource belongs to + format: ^[a-zA-Z0-9_-]+$ maxLength: 63 type: string x-kubernetes-validations: @@ -208,7 +208,7 @@ spec: description: OpenSearch specific user configuration options properties: additional_backup_regions: - description: Deprecated. Additional Cloud Regions for Backup Replication + description: Additional Cloud Regions for Backup Replication items: type: string maxItems: 1 diff --git a/charts/aiven-operator-crds/templates/aiven.io_postgresqls.yaml b/charts/aiven-operator-crds/templates/aiven.io_postgresqls.yaml index 19f1a16..8c696ab 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_postgresqls.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_postgresqls.yaml @@ -140,8 +140,8 @@ spec: maxLength: 128 type: string project: - description: Target project. - format: ^[a-zA-Z0-9_-]*$ + description: Identifies the project this resource belongs to + format: ^[a-zA-Z0-9_-]+$ maxLength: 63 type: string x-kubernetes-validations: diff --git a/charts/aiven-operator-crds/templates/aiven.io_projectvpcs.yaml b/charts/aiven-operator-crds/templates/aiven.io_projectvpcs.yaml index f6b08d0..d8383a9 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_projectvpcs.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_projectvpcs.yaml @@ -78,8 +78,8 @@ spec: - message: Value is immutable rule: self == oldSelf project: - description: The project the VPC belongs to - format: ^[a-zA-Z0-9_-]*$ + description: Identifies the project this resource belongs to + format: ^[a-zA-Z0-9_-]+$ maxLength: 63 type: string x-kubernetes-validations: diff --git a/charts/aiven-operator-crds/templates/aiven.io_redis.yaml b/charts/aiven-operator-crds/templates/aiven.io_redis.yaml index e54a7c0..73c6b69 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_redis.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_redis.yaml @@ -125,8 +125,8 @@ spec: maxLength: 128 type: string project: - description: Target project. - format: ^[a-zA-Z0-9_-]*$ + description: Identifies the project this resource belongs to + format: ^[a-zA-Z0-9_-]+$ maxLength: 63 type: string x-kubernetes-validations: @@ -207,7 +207,7 @@ spec: description: Redis specific user configuration options properties: additional_backup_regions: - description: Deprecated. Additional Cloud Regions for Backup Replication + description: Additional Cloud Regions for Backup Replication items: type: string maxItems: 1 diff --git a/charts/aiven-operator-crds/templates/aiven.io_serviceintegrations.yaml b/charts/aiven-operator-crds/templates/aiven.io_serviceintegrations.yaml index 95d41d1..9cfd537 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_serviceintegrations.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_serviceintegrations.yaml @@ -681,8 +681,8 @@ spec: type: string type: object project: - description: Project the integration belongs to - format: ^[a-zA-Z0-9_-]*$ + description: Identifies the project this resource belongs to + format: ^[a-zA-Z0-9_-]+$ maxLength: 63 type: string x-kubernetes-validations: diff --git a/charts/aiven-operator-crds/templates/aiven.io_serviceusers.yaml b/charts/aiven-operator-crds/templates/aiven.io_serviceusers.yaml index 1859de9..535a1e3 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_serviceusers.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_serviceusers.yaml @@ -109,14 +109,23 @@ spec: - message: connInfoSecretTargetDisabled is immutable. rule: self == oldSelf project: - description: Project to link the user to - format: ^[a-zA-Z0-9_-]*$ + description: Identifies the project this resource belongs to + format: ^[a-zA-Z0-9_-]+$ maxLength: 63 type: string + x-kubernetes-validations: + - message: Value is immutable + rule: self == oldSelf serviceName: - description: Service to link the user to + description: + Specifies the name of the service that this resource + belongs to + format: ^[a-z][-a-z0-9]+$ maxLength: 63 type: string + x-kubernetes-validations: + - message: Value is immutable + rule: self == oldSelf required: - project - serviceName diff --git a/charts/aiven-operator/Chart.yaml b/charts/aiven-operator/Chart.yaml index c5ddf32..8d245d7 100644 --- a/charts/aiven-operator/Chart.yaml +++ b/charts/aiven-operator/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: aiven-operator description: A Helm chart to deploy the aiven operator type: application -version: v0.18.1 -appVersion: v0.18.1 +version: v0.19.0 +appVersion: v0.19.0 maintainers: - name: byashimov url: https://www.aiven.io diff --git a/charts/aiven-operator/templates/cluster_role.yaml b/charts/aiven-operator/templates/cluster_role.yaml index d4f67fb..088c881 100644 --- a/charts/aiven-operator/templates/cluster_role.yaml +++ b/charts/aiven-operator/templates/cluster_role.yaml @@ -44,12 +44,8 @@ rules: - cassandras/finalizers verbs: - create - - delete - get - - list - - patch - update - - watch - apiGroups: - aiven.io resources: @@ -70,6 +66,14 @@ rules: - patch - update - watch + - apiGroups: + - aiven.io + resources: + - clickhousedatabases/finalizers + verbs: + - create + - get + - update - apiGroups: - aiven.io resources: @@ -81,7 +85,7 @@ rules: - apiGroups: - aiven.io resources: - - clickhouses + - clickhouseroles verbs: - create - delete @@ -93,7 +97,23 @@ rules: - apiGroups: - aiven.io resources: - - clickhouses/finalizers + - clickhouseroles/finalizers + verbs: + - create + - get + - update + - apiGroups: + - aiven.io + resources: + - clickhouseroles/status + verbs: + - get + - patch + - update + - apiGroups: + - aiven.io + resources: + - clickhouses verbs: - create - delete @@ -102,6 +122,14 @@ rules: - patch - update - watch + - apiGroups: + - aiven.io + resources: + - clickhouses/finalizers + verbs: + - create + - get + - update - apiGroups: - aiven.io resources: @@ -128,12 +156,8 @@ rules: - clickhouseusers/finalizers verbs: - create - - delete - get - - list - - patch - update - - watch - apiGroups: - aiven.io resources: @@ -160,12 +184,8 @@ rules: - connectionpools/finalizers verbs: - create - - delete - get - - list - - patch - update - - watch - apiGroups: - aiven.io resources: @@ -186,6 +206,14 @@ rules: - patch - update - watch + - apiGroups: + - aiven.io + resources: + - databases/finalizers + verbs: + - create + - get + - update - apiGroups: - aiven.io resources: @@ -212,12 +240,8 @@ rules: - grafanas/finalizers verbs: - create - - delete - get - - list - - patch - update - - watch - apiGroups: - aiven.io resources: @@ -241,13 +265,19 @@ rules: - apiGroups: - aiven.io resources: - - kafkaacls/status + - kafkaacls/finalizers verbs: - create - - delete - get - - list - - watch + - update + - apiGroups: + - aiven.io + resources: + - kafkaacls/status + verbs: + - get + - patch + - update - apiGroups: - aiven.io resources: @@ -266,12 +296,8 @@ rules: - kafkaconnectors/finalizers verbs: - create - - delete - get - - list - - patch - update - - watch - apiGroups: - aiven.io resources: @@ -298,12 +324,8 @@ rules: - kafkaconnects/finalizers verbs: - create - - delete - get - - list - - patch - update - - watch - apiGroups: - aiven.io resources: @@ -330,12 +352,8 @@ rules: - kafkas/finalizers verbs: - create - - delete - get - - list - - patch - update - - watch - apiGroups: - aiven.io resources: @@ -361,6 +379,8 @@ rules: resources: - kafkaschemaregistryacls/finalizers verbs: + - create + - get - update - apiGroups: - aiven.io @@ -382,6 +402,14 @@ rules: - patch - update - watch + - apiGroups: + - aiven.io + resources: + - kafkaschemas/finalizers + verbs: + - create + - get + - update - apiGroups: - aiven.io resources: @@ -402,6 +430,14 @@ rules: - patch - update - watch + - apiGroups: + - aiven.io + resources: + - kafkatopics/finalizers + verbs: + - create + - get + - update - apiGroups: - aiven.io resources: @@ -428,12 +464,8 @@ rules: - mysqls/finalizers verbs: - create - - delete - get - - list - - patch - update - - watch - apiGroups: - aiven.io resources: @@ -460,12 +492,8 @@ rules: - opensearches/finalizers verbs: - create - - delete - get - - list - - patch - update - - watch - apiGroups: - aiven.io resources: @@ -492,12 +520,8 @@ rules: - postgresqls/finalizers verbs: - create - - delete - get - - list - - patch - update - - watch - apiGroups: - aiven.io resources: @@ -524,12 +548,8 @@ rules: - projects/finalizers verbs: - create - - delete - get - - list - - patch - update - - watch - apiGroups: - aiven.io resources: @@ -550,6 +570,14 @@ rules: - patch - update - watch + - apiGroups: + - aiven.io + resources: + - projectvpcs/finalizers + verbs: + - create + - get + - update - apiGroups: - aiven.io resources: @@ -576,12 +604,8 @@ rules: - redis/finalizers verbs: - create - - delete - get - - list - - patch - update - - watch - apiGroups: - aiven.io resources: @@ -602,6 +626,14 @@ rules: - patch - update - watch + - apiGroups: + - aiven.io + resources: + - serviceintegrations/finalizers + verbs: + - create + - get + - update - apiGroups: - aiven.io resources: @@ -627,18 +659,15 @@ rules: - serviceusers/finalizers verbs: - create - - delete - get - - list - - patch - update - - watch - apiGroups: - aiven.io resources: - serviceusers/status verbs: - get + - patch - update - apiGroups: - coordination.k8s.io