Skip to content

Commit

Permalink
image support port
Browse files Browse the repository at this point in the history
  • Loading branch information
zlianzhuang committed Dec 5, 2023
1 parent daa4635 commit a781b7e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion operatorversions.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit a781b7e

Please sign in to comment.