diff --git a/operatorversions.json b/operatorversions.json index 3ab9e14..17f5612 100644 --- a/operatorversions.json +++ b/operatorversions.json @@ -6,7 +6,7 @@ "clusterrolebinding": "radondb-postgres-operator-rolebinding-cluster", "rolebinding": "radondb-postgres-operator-rolebinding-role", "name": "radondb-postgres-operator", - "image": "radondb/radondb-postgres-operator:v1.3.3", + "image": "radondb/radondb-postgres-operator:v1.3.4", "datapath": "/data", "imageRegistry": "", "namespaceOverride": "" diff --git a/platforms/kubernetes/postgres-operator/deploy/postgres-operator.yaml b/platforms/kubernetes/postgres-operator/deploy/postgres-operator.yaml index 07484bb..9575cd3 100644 --- a/platforms/kubernetes/postgres-operator/deploy/postgres-operator.yaml +++ b/platforms/kubernetes/postgres-operator/deploy/postgres-operator.yaml @@ -723,7 +723,7 @@ spec: priorityClassName: system-cluster-critical containers: - name: radondb-postgres-operator - image: radondb/radondb-postgres-operator:v1.3.3 + image: radondb/radondb-postgres-operator:v1.3.4 imagePullPolicy: IfNotPresent resources: requests: diff --git a/platforms/kubernetes/postgres-operator/postgres/pgsqlclusters/create.py b/platforms/kubernetes/postgres-operator/postgres/pgsqlclusters/create.py index 3eed581..45718d2 100644 --- a/platforms/kubernetes/postgres-operator/postgres/pgsqlclusters/create.py +++ b/platforms/kubernetes/postgres-operator/postgres/pgsqlclusters/create.py @@ -303,7 +303,7 @@ def create_postgresql( if container[ CONTAINER_NAME] == PODSPEC_CONTAINERS_POSTGRESQL_CONTAINER: postgresql_image = container[IMAGE] - postgresql_image_version = postgresql_image.split(':')[1].split( + postgresql_image_version = postgresql_image.split(':')[-1].split( '-')[1] if container[CONTAINER_NAME] == PODSPEC_CONTAINERS_EXPORTER_CONTAINER: exporter_image = container[IMAGE] @@ -669,7 +669,7 @@ def create_postgresql( create_log_table( logger, tmpconn, int( - postgresql_image.split(':')[1].split('-')[0].split( + postgresql_image.split(':')[-1].split('-')[0].split( '.')[0])) create_users(meta, spec, patch, status, logger, tmpconns) create_ssl_key(meta,