Skip to content

Commit

Permalink
chore: synced file(s) with aiven/aiven-operator (#48)
Browse files Browse the repository at this point in the history
Co-authored-by: rriski <null>
  • Loading branch information
rriski authored Jun 6, 2024
1 parent 30e0bbb commit d3c0f19
Show file tree
Hide file tree
Showing 29 changed files with 927 additions and 191 deletions.
4 changes: 2 additions & 2 deletions charts/aiven-operator-crds/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.19.0
appVersion: v0.19.0
version: v0.20.0
appVersion: v0.20.0
maintainers:
- name: byashimov
url: https://www.aiven.io
Expand Down
24 changes: 14 additions & 10 deletions charts/aiven-operator-crds/templates/aiven.io_cassandras.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
name: cassandras.aiven.io
spec:
Expand Down Expand Up @@ -31,7 +31,10 @@ spec:
name: v1alpha1
schema:
openAPIV3Schema:
description: Cassandra is the Schema for the cassandras API
description:
'Cassandra is the Schema for the cassandras API. Info "Exposes
secret keys": `CASSANDRA_HOST`, `CASSANDRA_PORT`, `CASSANDRA_USER`, `CASSANDRA_PASSWORD`,
`CASSANDRA_URI`, `CASSANDRA_HOSTS`, `CASSANDRA_CA_CERT`'
properties:
apiVersion:
description:
Expand Down Expand Up @@ -68,10 +71,7 @@ spec:
maxLength: 256
type: string
connInfoSecretTarget:
description:
"Information regarding secret creation. Exposed keys:
`CASSANDRA_HOST`, `CASSANDRA_PORT`, `CASSANDRA_USER`, `CASSANDRA_PASSWORD`,
`CASSANDRA_URI`, `CASSANDRA_HOSTS`, `CASSANDRA_CA_CERT`"
description: Secret configuration.
properties:
annotations:
additionalProperties:
Expand All @@ -90,6 +90,9 @@ spec:
Name of the secret resource to be created. By default,
it is equal to the resource name
type: string
x-kubernetes-validations:
- message: Value is immutable
rule: self == oldSelf
prefix:
description:
Prefix for the secret's keys. Added "as is" without
Expand All @@ -112,8 +115,9 @@ spec:
description:
The disk space of the service, possible values depend
on the service type, the cloud provider and the project. Reducing
will result in the service re-balancing.
format: ^[1-9][0-9]*(GiB|G)*
will result in the service re-balancing. The removal of this field
does not change the value.
pattern: (?i)^[1-9][0-9]*(GiB|G)?$
type: string
maintenanceWindowDow:
description:
Expand All @@ -140,8 +144,8 @@ spec:
type: string
project:
description: Identifies the project this resource belongs to
format: ^[a-zA-Z0-9_-]+$
maxLength: 63
pattern: ^[a-zA-Z0-9_-]+$
type: string
x-kubernetes-validations:
- message: Value is immutable
Expand Down Expand Up @@ -205,7 +209,7 @@ spec:
properties:
email:
description: Email address.
format: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
pattern: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
type: string
required:
- email
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
name: clickhousedatabases.aiven.io
spec:
Expand Down Expand Up @@ -59,8 +59,8 @@ spec:
type: object
project:
description: Identifies the project this resource belongs to
format: ^[a-zA-Z0-9_-]+$
maxLength: 63
pattern: ^[a-zA-Z0-9_-]+$
type: string
x-kubernetes-validations:
- message: Value is immutable
Expand All @@ -69,8 +69,8 @@ spec:
description:
Specifies the name of the service that this resource
belongs to
format: ^[a-z][-a-z0-9]+$
maxLength: 63
pattern: ^[a-z][-a-z0-9]+$
type: string
x-kubernetes-validations:
- message: Value is immutable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
name: clickhouseroles.aiven.io
spec:
Expand Down Expand Up @@ -62,16 +62,16 @@ spec:
type: object
project:
description: Identifies the project this resource belongs to
format: ^[a-zA-Z0-9_-]+$
maxLength: 63
pattern: ^[a-zA-Z0-9_-]+$
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
pattern: ^[a-zA-Z_][0-9a-zA-Z_]*$
type: string
x-kubernetes-validations:
- message: Value is immutable
Expand All @@ -80,8 +80,8 @@ spec:
description:
Specifies the name of the service that this resource
belongs to
format: ^[a-z][-a-z0-9]+$
maxLength: 63
pattern: ^[a-z][-a-z0-9]+$
type: string
x-kubernetes-validations:
- message: Value is immutable
Expand Down
23 changes: 13 additions & 10 deletions charts/aiven-operator-crds/templates/aiven.io_clickhouses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
name: clickhouses.aiven.io
spec:
Expand All @@ -18,7 +18,9 @@ spec:
- name: v1alpha1
schema:
openAPIV3Schema:
description: Clickhouse is the Schema for the clickhouses API
description:
'Clickhouse is the Schema for the clickhouses API. Info "Exposes
secret keys": `CLICKHOUSE_HOST`, `CLICKHOUSE_PORT`, `CLICKHOUSE_USER`, `CLICKHOUSE_PASSWORD`'
properties:
apiVersion:
description:
Expand Down Expand Up @@ -55,10 +57,7 @@ spec:
maxLength: 256
type: string
connInfoSecretTarget:
description:
"Information regarding secret creation. Exposed keys:
`CLICKHOUSE_HOST`, `CLICKHOUSE_PORT`, `CLICKHOUSE_USER`, `CLICKHOUSE_PASSWORD`,
`CLICKHOUSE_CA_CERT`"
description: Secret configuration.
properties:
annotations:
additionalProperties:
Expand All @@ -77,6 +76,9 @@ spec:
Name of the secret resource to be created. By default,
it is equal to the resource name
type: string
x-kubernetes-validations:
- message: Value is immutable
rule: self == oldSelf
prefix:
description:
Prefix for the secret's keys. Added "as is" without
Expand All @@ -99,8 +101,9 @@ spec:
description:
The disk space of the service, possible values depend
on the service type, the cloud provider and the project. Reducing
will result in the service re-balancing.
format: ^[1-9][0-9]*(GiB|G)*
will result in the service re-balancing. The removal of this field
does not change the value.
pattern: (?i)^[1-9][0-9]*(GiB|G)?$
type: string
maintenanceWindowDow:
description:
Expand All @@ -127,8 +130,8 @@ spec:
type: string
project:
description: Identifies the project this resource belongs to
format: ^[a-zA-Z0-9_-]+$
maxLength: 63
pattern: ^[a-zA-Z0-9_-]+$
type: string
x-kubernetes-validations:
- message: Value is immutable
Expand Down Expand Up @@ -192,7 +195,7 @@ spec:
properties:
email:
description: Email address.
format: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
pattern: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
type: string
required:
- email
Expand Down
19 changes: 11 additions & 8 deletions charts/aiven-operator-crds/templates/aiven.io_clickhouseusers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
name: clickhouseusers.aiven.io
spec:
Expand All @@ -28,7 +28,10 @@ spec:
name: v1alpha1
schema:
openAPIV3Schema:
description: ClickhouseUser is the Schema for the clickhouseusers API
description:
'ClickhouseUser is the Schema for the clickhouseusers API. Info
"Exposes secret keys": `CLICKHOUSEUSER_HOST`, `CLICKHOUSEUSER_PORT`, `CLICKHOUSEUSER_USER`,
`CLICKHOUSEUSER_PASSWORD`'
properties:
apiVersion:
description:
Expand Down Expand Up @@ -61,10 +64,7 @@ spec:
- name
type: object
connInfoSecretTarget:
description:
"Information regarding secret creation. Exposed keys:
`CLICKHOUSEUSER_HOST`, `CLICKHOUSEUSER_PORT`, `CLICKHOUSEUSER_USER`,
`CLICKHOUSEUSER_PASSWORD`"
description: Secret configuration.
properties:
annotations:
additionalProperties:
Expand All @@ -83,6 +83,9 @@ spec:
Name of the secret resource to be created. By default,
it is equal to the resource name
type: string
x-kubernetes-validations:
- message: Value is immutable
rule: self == oldSelf
prefix:
description:
Prefix for the secret's keys. Added "as is" without
Expand All @@ -103,8 +106,8 @@ spec:
rule: self == oldSelf
project:
description: Identifies the project this resource belongs to
format: ^[a-zA-Z0-9_-]+$
maxLength: 63
pattern: ^[a-zA-Z0-9_-]+$
type: string
x-kubernetes-validations:
- message: Value is immutable
Expand All @@ -113,8 +116,8 @@ spec:
description:
Specifies the name of the service that this resource
belongs to
format: ^[a-z][-a-z0-9]+$
maxLength: 63
pattern: ^[a-z][-a-z0-9]+$
type: string
x-kubernetes-validations:
- message: Value is immutable
Expand Down
21 changes: 12 additions & 9 deletions charts/aiven-operator-crds/templates/aiven.io_connectionpools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
name: connectionpools.aiven.io
spec:
Expand Down Expand Up @@ -37,7 +37,11 @@ spec:
name: v1alpha1
schema:
openAPIV3Schema:
description: ConnectionPool is the Schema for the connectionpools API
description:
'ConnectionPool is the Schema for the connectionpools API. Info
"Exposes secret keys": `CONNECTIONPOOL_NAME`, `CONNECTIONPOOL_HOST`, `CONNECTIONPOOL_PORT`,
`CONNECTIONPOOL_DATABASE`, `CONNECTIONPOOL_USER`, `CONNECTIONPOOL_PASSWORD`,
`CONNECTIONPOOL_SSLMODE`, `CONNECTIONPOOL_DATABASE_URI`, `CONNECTIONPOOL_CA_CERT`'
properties:
apiVersion:
description:
Expand Down Expand Up @@ -70,11 +74,7 @@ spec:
- name
type: object
connInfoSecretTarget:
description:
"Information regarding secret creation. Exposed keys:
`CONNECTIONPOOL_NAME`, `CONNECTIONPOOL_HOST`, `CONNECTIONPOOL_PORT`,
`CONNECTIONPOOL_DATABASE`, `CONNECTIONPOOL_USER`, `CONNECTIONPOOL_PASSWORD`,
`CONNECTIONPOOL_SSLMODE`, `CONNECTIONPOOL_DATABASE_URI`, `CONNECTIONPOOL_CA_CERT`"
description: Secret configuration.
properties:
annotations:
additionalProperties:
Expand All @@ -93,6 +93,9 @@ spec:
Name of the secret resource to be created. By default,
it is equal to the resource name
type: string
x-kubernetes-validations:
- message: Value is immutable
rule: self == oldSelf
prefix:
description:
Prefix for the secret's keys. Added "as is" without
Expand Down Expand Up @@ -129,8 +132,8 @@ spec:
type: integer
project:
description: Identifies the project this resource belongs to
format: ^[a-zA-Z0-9_-]+$
maxLength: 63
pattern: ^[a-zA-Z0-9_-]+$
type: string
x-kubernetes-validations:
- message: Value is immutable
Expand All @@ -139,8 +142,8 @@ spec:
description:
Specifies the name of the service that this resource
belongs to
format: ^[a-z][-a-z0-9]+$
maxLength: 63
pattern: ^[a-z][-a-z0-9]+$
type: string
x-kubernetes-validations:
- message: Value is immutable
Expand Down
6 changes: 3 additions & 3 deletions charts/aiven-operator-crds/templates/aiven.io_databases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
name: databases.aiven.io
spec:
Expand Down Expand Up @@ -79,8 +79,8 @@ spec:
rule: self == oldSelf
project:
description: Identifies the project this resource belongs to
format: ^[a-zA-Z0-9_-]+$
maxLength: 63
pattern: ^[a-zA-Z0-9_-]+$
type: string
x-kubernetes-validations:
- message: Value is immutable
Expand All @@ -89,8 +89,8 @@ spec:
description:
Specifies the name of the service that this resource
belongs to
format: ^[a-z][-a-z0-9]+$
maxLength: 63
pattern: ^[a-z][-a-z0-9]+$
type: string
x-kubernetes-validations:
- message: Value is immutable
Expand Down
Loading

0 comments on commit d3c0f19

Please sign in to comment.