diff --git a/charts/operator/Chart.yaml b/charts/operator/Chart.yaml index b9d36fc..300a74f 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.8 +version: 0.1.9 # 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.4" +appVersion: "0.1.5" diff --git a/charts/operator/crds/clusters.instaclustr.com_cadences.yaml b/charts/operator/crds/clusters.instaclustr.com_cadences.yaml index 80e094b..d7a0cac 100644 --- a/charts/operator/crds/clusters.instaclustr.com_cadences.yaml +++ b/charts/operator/crds/clusters.instaclustr.com_cadences.yaml @@ -140,6 +140,8 @@ spec: type: object dataDiskSize: type: string + enableAutomation: + type: boolean nodeCPU: format: int64 type: integer @@ -159,6 +161,7 @@ spec: required: - cloudInitScriptRef - dataDiskSize + - enableAutomation - nodeCPU - nodeMemory - osDiskSize diff --git a/charts/operator/crds/clusters.instaclustr.com_cassandras.yaml b/charts/operator/crds/clusters.instaclustr.com_cassandras.yaml index e393d6d..abcd7c6 100644 --- a/charts/operator/crds/clusters.instaclustr.com_cassandras.yaml +++ b/charts/operator/crds/clusters.instaclustr.com_cassandras.yaml @@ -156,6 +156,8 @@ spec: type: object dataDiskSize: type: string + enableAutomation: + type: boolean nodeCPU: format: int64 type: integer @@ -175,6 +177,7 @@ spec: required: - cloudInitScriptRef - dataDiskSize + - enableAutomation - nodeCPU - nodeMemory - osDiskSize diff --git a/charts/operator/crds/clusters.instaclustr.com_kafkaconnects.yaml b/charts/operator/crds/clusters.instaclustr.com_kafkaconnects.yaml index 4d7245a..ef55deb 100644 --- a/charts/operator/crds/clusters.instaclustr.com_kafkaconnects.yaml +++ b/charts/operator/crds/clusters.instaclustr.com_kafkaconnects.yaml @@ -194,6 +194,8 @@ spec: type: object dataDiskSize: type: string + enableAutomation: + type: boolean nodeCPU: format: int64 type: integer @@ -213,6 +215,7 @@ spec: required: - cloudInitScriptRef - dataDiskSize + - enableAutomation - nodeCPU - nodeMemory - osDiskSize diff --git a/charts/operator/crds/clusters.instaclustr.com_kafkas.yaml b/charts/operator/crds/clusters.instaclustr.com_kafkas.yaml index 025541c..25acb7c 100644 --- a/charts/operator/crds/clusters.instaclustr.com_kafkas.yaml +++ b/charts/operator/crds/clusters.instaclustr.com_kafkas.yaml @@ -180,6 +180,8 @@ spec: type: object dataDiskSize: type: string + enableAutomation: + type: boolean nodeCPU: format: int64 type: integer @@ -199,6 +201,7 @@ spec: required: - cloudInitScriptRef - dataDiskSize + - enableAutomation - nodeCPU - nodeMemory - osDiskSize diff --git a/charts/operator/crds/clusters.instaclustr.com_postgresqls.yaml b/charts/operator/crds/clusters.instaclustr.com_postgresqls.yaml index f65b1fd..a666752 100644 --- a/charts/operator/crds/clusters.instaclustr.com_postgresqls.yaml +++ b/charts/operator/crds/clusters.instaclustr.com_postgresqls.yaml @@ -129,6 +129,23 @@ spec: type: array description: type: string + extensions: + description: PgExtensions defines desired state of extensions + items: + description: PgExtension defines desired state of an extension + properties: + enabled: + type: boolean + name: + type: string + required: + - enabled + - name + type: object + type: array + x-kubernetes-validations: + - message: extensions cannot be changed after it is set + rule: self == oldSelf name: description: Name [ 3 .. 32 ] characters. type: string @@ -147,6 +164,8 @@ spec: type: object dataDiskSize: type: string + enableAutomation: + type: boolean nodeCPU: format: int64 type: integer @@ -166,6 +185,7 @@ spec: required: - cloudInitScriptRef - dataDiskSize + - enableAutomation - nodeCPU - nodeMemory - osDiskSize @@ -268,6 +288,9 @@ spec: version: type: string type: object + x-kubernetes-validations: + - message: extensions cannot be changed after it is set + rule: has(self.extensions) == has(oldSelf.extensions) status: description: PgStatus defines the observed state of PostgreSQL properties: diff --git a/charts/operator/crds/clusters.instaclustr.com_redis.yaml b/charts/operator/crds/clusters.instaclustr.com_redis.yaml index 069ca79..82b64ba 100644 --- a/charts/operator/crds/clusters.instaclustr.com_redis.yaml +++ b/charts/operator/crds/clusters.instaclustr.com_redis.yaml @@ -130,6 +130,8 @@ spec: type: object dataDiskSize: type: string + enableAutomation: + type: boolean nodeCPU: format: int64 type: integer @@ -149,6 +151,7 @@ spec: required: - cloudInitScriptRef - dataDiskSize + - enableAutomation - nodeCPU - nodeMemory - osDiskSize diff --git a/charts/operator/values.yaml b/charts/operator/values.yaml index a44dc35..56333bf 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.4 + tag: v0.1.5 port: 8080 @@ -62,6 +62,14 @@ rbac: verbs: - create - patch + - apiGroups: + - "" + resources: + - namespaces + verbs: + - get + - list + - watch - apiGroups: - "" resources: @@ -121,6 +129,14 @@ rbac: - patch - update - watch + - apiGroups: + - apps + resources: + - deployments + verbs: + - get + - list + - watch - apiGroups: - cdi.kubevirt.io resources: diff --git a/docs/operator-0.1.9.tgz b/docs/operator-0.1.9.tgz new file mode 100644 index 0000000..d7d7593 Binary files /dev/null and b/docs/operator-0.1.9.tgz differ diff --git a/index.yaml b/index.yaml index 34de960..10119a7 100644 --- a/index.yaml +++ b/index.yaml @@ -1,6 +1,16 @@ apiVersion: v1 entries: operator: + - apiVersion: v2 + appVersion: 0.1.5 + created: "2024-01-24T21:36:22.736963958+02:00" + description: Operator helm chart + digest: 9b65ee99bf860b8ed793b0d031ae7d111f0815e6a8cae828da0d1f9b7742046d + name: operator + type: application + urls: + - https://instaclustr.github.io/operator-helm/docs/operator-0.1.9.tgz + version: 0.1.9 - apiVersion: v2 appVersion: 0.1.4 created: "2024-01-04T17:19:20.699027276+02:00" @@ -91,4 +101,4 @@ entries: urls: - https://instaclustr.github.io/operator-helm/docs/operator-0.1.0.tgz version: 0.1.0 -generated: "2024-01-04T17:19:20.641856865+02:00" +generated: "2024-01-24T21:36:22.703613228+02:00"