|
|
|
|
@@ -29,7 +29,7 @@ spec:
|
|
|
|
|
restartPolicy: OnFailure
|
|
|
|
|
initContainers:
|
|
|
|
|
- name: create-default-store
|
|
|
|
|
image: "temporalio/admin-tools:1.30.3@sha256:2c2272b008f1af295b3719963e6feeef64f838d1105d895cf6acfcf96dd31741"
|
|
|
|
|
image: "temporalio/admin-tools:1.30.4@sha256:9ac15d500f4020f7cc694ecc17085dfcfc2d4b1d0d2020dbe83b6f3d49e156e0"
|
|
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
|
command: ['temporal-sql-tool', 'create-database']
|
|
|
|
|
env:
|
|
|
|
|
@@ -51,7 +51,7 @@ spec:
|
|
|
|
|
- name: SQL_TLS
|
|
|
|
|
value: "false"
|
|
|
|
|
- name: manage-schema-default-store
|
|
|
|
|
image: "temporalio/admin-tools:1.30.3@sha256:2c2272b008f1af295b3719963e6feeef64f838d1105d895cf6acfcf96dd31741"
|
|
|
|
|
image: "temporalio/admin-tools:1.30.4@sha256:9ac15d500f4020f7cc694ecc17085dfcfc2d4b1d0d2020dbe83b6f3d49e156e0"
|
|
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
|
command: ['sh', '-c']
|
|
|
|
|
args:
|
|
|
|
|
@@ -79,7 +79,7 @@ spec:
|
|
|
|
|
mountPath: /usr/local/sbin/temporal-elasticsearch-tool
|
|
|
|
|
subPath: temporal-elasticsearch-tool
|
|
|
|
|
- name: create-visibility-store
|
|
|
|
|
image: "temporalio/admin-tools:1.30.3@sha256:2c2272b008f1af295b3719963e6feeef64f838d1105d895cf6acfcf96dd31741"
|
|
|
|
|
image: "temporalio/admin-tools:1.30.4@sha256:9ac15d500f4020f7cc694ecc17085dfcfc2d4b1d0d2020dbe83b6f3d49e156e0"
|
|
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
|
command: ['temporal-sql-tool', 'create-database']
|
|
|
|
|
env:
|
|
|
|
|
@@ -101,7 +101,7 @@ spec:
|
|
|
|
|
- name: SQL_TLS
|
|
|
|
|
value: "false"
|
|
|
|
|
- name: manage-schema-visibility-store
|
|
|
|
|
image: "temporalio/admin-tools:1.30.3@sha256:2c2272b008f1af295b3719963e6feeef64f838d1105d895cf6acfcf96dd31741"
|
|
|
|
|
image: "temporalio/admin-tools:1.30.4@sha256:9ac15d500f4020f7cc694ecc17085dfcfc2d4b1d0d2020dbe83b6f3d49e156e0"
|
|
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
|
command: ['sh', '-c']
|
|
|
|
|
args:
|
|
|
|
|
@@ -129,7 +129,7 @@ spec:
|
|
|
|
|
mountPath: /usr/local/sbin/temporal-elasticsearch-tool
|
|
|
|
|
subPath: temporal-elasticsearch-tool
|
|
|
|
|
- name: create-default-namespace
|
|
|
|
|
image: "temporalio/admin-tools:1.30.3@sha256:2c2272b008f1af295b3719963e6feeef64f838d1105d895cf6acfcf96dd31741"
|
|
|
|
|
image: "temporalio/admin-tools:1.30.4@sha256:9ac15d500f4020f7cc694ecc17085dfcfc2d4b1d0d2020dbe83b6f3d49e156e0"
|
|
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
|
command: ['/bin/sh', '-c']
|
|
|
|
|
args: ['temporal operator namespace describe -n default || temporal operator namespace create -n default --retention 30d']
|
|
|
|
|
@@ -138,7 +138,7 @@ spec:
|
|
|
|
|
value: "postiz-temporal-frontend.postiz.svc:7233"
|
|
|
|
|
containers:
|
|
|
|
|
- name: done
|
|
|
|
|
image: "temporalio/admin-tools:1.30.3@sha256:2c2272b008f1af295b3719963e6feeef64f838d1105d895cf6acfcf96dd31741"
|
|
|
|
|
image: "temporalio/admin-tools:1.30.4@sha256:9ac15d500f4020f7cc694ecc17085dfcfc2d4b1d0d2020dbe83b6f3d49e156e0"
|
|
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
|
command: ['sh', '-c', 'echo "Store setup completed"']
|
|
|
|
|
volumes:
|
|
|
|
|
|