chore: Update manifests after change
This commit is contained in:
@@ -31,7 +31,7 @@ data:
|
|||||||
enable-webhook: true
|
enable-webhook: true
|
||||||
webhook-name: elastic-operator.elastic-operator.k8s.elastic.co
|
webhook-name: elastic-operator.elastic-operator.k8s.elastic.co
|
||||||
webhook-port: 9443
|
webhook-port: 9443
|
||||||
namespaces: [postiz,stalwart,tubearchivist]
|
namespaces: [stalwart,tubearchivist]
|
||||||
operator-namespace: elastic-operator
|
operator-namespace: elastic-operator
|
||||||
enable-leader-election: true
|
enable-leader-election: true
|
||||||
elasticsearch-observation-interval: 10s
|
elasticsearch-observation-interval: 10s
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ spec:
|
|||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
"co.elastic.logs/raw": "[{\"type\":\"filestream\",\"enabled\":true,\"id\":\"eck-container-logs-${data.kubernetes.container.id}\",\"paths\":[\"/var/log/containers/*${data.kubernetes.container.id}.log\"],\"parsers\":[{\"container\":{}},{\"ndjson\":{\"keys_under_root\":true}}],\"prospector.scanner.symlinks\":true,\"processors\":[{\"convert\":{\"mode\":\"rename\",\"ignore_missing\":true,\"fields\":[{\"from\":\"error\",\"to\":\"_error\"}]}},{\"convert\":{\"mode\":\"rename\",\"ignore_missing\":true,\"fields\":[{\"from\":\"_error\",\"to\":\"error.message\"}]}},{\"convert\":{\"mode\":\"rename\",\"ignore_missing\":true,\"fields\":[{\"from\":\"source\",\"to\":\"_source\"}]}},{\"convert\":{\"mode\":\"rename\",\"ignore_missing\":true,\"fields\":[{\"from\":\"_source\",\"to\":\"event.source\"}]}}]}]"
|
"co.elastic.logs/raw": "[{\"type\":\"filestream\",\"enabled\":true,\"id\":\"eck-container-logs-${data.kubernetes.container.id}\",\"paths\":[\"/var/log/containers/*${data.kubernetes.container.id}.log\"],\"parsers\":[{\"container\":{}},{\"ndjson\":{\"keys_under_root\":true}}],\"prospector.scanner.symlinks\":true,\"processors\":[{\"convert\":{\"mode\":\"rename\",\"ignore_missing\":true,\"fields\":[{\"from\":\"error\",\"to\":\"_error\"}]}},{\"convert\":{\"mode\":\"rename\",\"ignore_missing\":true,\"fields\":[{\"from\":\"_error\",\"to\":\"error.message\"}]}},{\"convert\":{\"mode\":\"rename\",\"ignore_missing\":true,\"fields\":[{\"from\":\"source\",\"to\":\"_source\"}]}},{\"convert\":{\"mode\":\"rename\",\"ignore_missing\":true,\"fields\":[{\"from\":\"_source\",\"to\":\"event.source\"}]}}]}]"
|
||||||
"checksum/config": e71295ba781ca3bc6d4f99145aa7b103c25227a320eb2f5914eb9d60dc0f51c2
|
"checksum/config": 15d5acbaf534c61de655db1042d2c8a173621b080c443dbc5e0e6566bab0ac63
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: elastic-operator
|
app.kubernetes.io/name: elastic-operator
|
||||||
app.kubernetes.io/instance: elastic-operator
|
app.kubernetes.io/instance: elastic-operator
|
||||||
|
|||||||
@@ -30,16 +30,16 @@ data:
|
|||||||
enabled: false
|
enabled: false
|
||||||
user: postgres
|
user: postgres
|
||||||
visibility:
|
visibility:
|
||||||
elasticsearch:
|
sql:
|
||||||
indices:
|
connectAddr: postiz-postgresql-18-cluster-rw.postiz:5432
|
||||||
visibility: temporal_visibility_v1
|
connectProtocol: tcp
|
||||||
logLevel: error
|
databaseName: temporal_visibility
|
||||||
|
driverName: postgres12
|
||||||
|
password: {{ env "TEMPORAL_VISIBILITY_STORE_PASSWORD" | quote }}
|
||||||
|
pluginName: postgres12
|
||||||
tls:
|
tls:
|
||||||
enabled: false
|
enabled: false
|
||||||
url:
|
user: postgres
|
||||||
host: elasticsearch-postiz-es-http.postiz:9200
|
|
||||||
scheme: https
|
|
||||||
version: v8
|
|
||||||
defaultStore: default
|
defaultStore: default
|
||||||
numHistoryShards: 512
|
numHistoryShards: 512
|
||||||
visibilityStore: visibility
|
visibilityStore: visibility
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
apiVersion: postgresql.cnpg.io/v1
|
||||||
|
kind: Database
|
||||||
|
metadata:
|
||||||
|
name: postiz-postgresql-18-database-temporal-visibility
|
||||||
|
namespace: postiz
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: postiz-postgresql-18-database-temporal-visibility
|
||||||
|
helm.sh/chart: postgres-18-cluster-7.11.2
|
||||||
|
app.kubernetes.io/instance: postiz
|
||||||
|
app.kubernetes.io/part-of: postiz
|
||||||
|
app.kubernetes.io/version: "7.11.2"
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
|
spec:
|
||||||
|
name: temporal_visibility
|
||||||
|
cluster:
|
||||||
|
name: postiz-postgresql-18-cluster
|
||||||
|
ensure: present
|
||||||
|
owner: app
|
||||||
|
template: template1
|
||||||
|
encoding: UTF8
|
||||||
|
databaseReclaimPolicy: retain
|
||||||
@@ -21,7 +21,7 @@ spec:
|
|||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
checksum/config: db197bc57bee0176e47d826ee5b8be299b1725da9be2d33c9ef7b35dd0f2ebf6
|
checksum/config: d82ae4d31b0737e766e03b0b67a03c687f4e6a36d874bac5f02ecad33eade5fb
|
||||||
prometheus.io/job: temporal-frontend
|
prometheus.io/job: temporal-frontend
|
||||||
prometheus.io/scrape: 'true'
|
prometheus.io/scrape: 'true'
|
||||||
prometheus.io/scheme: http
|
prometheus.io/scheme: http
|
||||||
@@ -62,7 +62,7 @@ spec:
|
|||||||
- name: TEMPORAL_VISIBILITY_STORE_PASSWORD
|
- name: TEMPORAL_VISIBILITY_STORE_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: postiz-temporal-visibility-store
|
name: postiz-postgresql-18-cluster-superuser
|
||||||
key: password
|
key: password
|
||||||
ports:
|
ports:
|
||||||
- name: rpc
|
- name: rpc
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ spec:
|
|||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
checksum/config: db197bc57bee0176e47d826ee5b8be299b1725da9be2d33c9ef7b35dd0f2ebf6
|
checksum/config: d82ae4d31b0737e766e03b0b67a03c687f4e6a36d874bac5f02ecad33eade5fb
|
||||||
prometheus.io/job: temporal-history
|
prometheus.io/job: temporal-history
|
||||||
prometheus.io/scrape: 'true'
|
prometheus.io/scrape: 'true'
|
||||||
prometheus.io/scheme: http
|
prometheus.io/scheme: http
|
||||||
@@ -62,7 +62,7 @@ spec:
|
|||||||
- name: TEMPORAL_VISIBILITY_STORE_PASSWORD
|
- name: TEMPORAL_VISIBILITY_STORE_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: postiz-temporal-visibility-store
|
name: postiz-postgresql-18-cluster-superuser
|
||||||
key: password
|
key: password
|
||||||
ports:
|
ports:
|
||||||
- name: rpc
|
- name: rpc
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ spec:
|
|||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
checksum/config: db197bc57bee0176e47d826ee5b8be299b1725da9be2d33c9ef7b35dd0f2ebf6
|
checksum/config: d82ae4d31b0737e766e03b0b67a03c687f4e6a36d874bac5f02ecad33eade5fb
|
||||||
prometheus.io/job: temporal-matching
|
prometheus.io/job: temporal-matching
|
||||||
prometheus.io/scrape: 'true'
|
prometheus.io/scrape: 'true'
|
||||||
prometheus.io/scheme: http
|
prometheus.io/scheme: http
|
||||||
@@ -62,7 +62,7 @@ spec:
|
|||||||
- name: TEMPORAL_VISIBILITY_STORE_PASSWORD
|
- name: TEMPORAL_VISIBILITY_STORE_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: postiz-temporal-visibility-store
|
name: postiz-postgresql-18-cluster-superuser
|
||||||
key: password
|
key: password
|
||||||
ports:
|
ports:
|
||||||
- name: rpc
|
- name: rpc
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ spec:
|
|||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
checksum/config: db197bc57bee0176e47d826ee5b8be299b1725da9be2d33c9ef7b35dd0f2ebf6
|
checksum/config: d82ae4d31b0737e766e03b0b67a03c687f4e6a36d874bac5f02ecad33eade5fb
|
||||||
prometheus.io/job: temporal-worker
|
prometheus.io/job: temporal-worker
|
||||||
prometheus.io/scrape: 'true'
|
prometheus.io/scrape: 'true'
|
||||||
prometheus.io/scheme: http
|
prometheus.io/scheme: http
|
||||||
@@ -62,7 +62,7 @@ spec:
|
|||||||
- name: TEMPORAL_VISIBILITY_STORE_PASSWORD
|
- name: TEMPORAL_VISIBILITY_STORE_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: postiz-temporal-visibility-store
|
name: postiz-postgresql-18-cluster-superuser
|
||||||
key: password
|
key: password
|
||||||
ports:
|
ports:
|
||||||
- name: membership
|
- name: membership
|
||||||
|
|||||||
@@ -1,29 +0,0 @@
|
|||||||
apiVersion: elasticsearch.k8s.elastic.co/v1
|
|
||||||
kind: Elasticsearch
|
|
||||||
metadata:
|
|
||||||
name: elasticsearch-postiz
|
|
||||||
namespace: postiz
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: elasticsearch-postiz
|
|
||||||
app.kubernetes.io/instance: postiz
|
|
||||||
app.kubernetes.io/part-of: postiz
|
|
||||||
spec:
|
|
||||||
version: 8.19.8
|
|
||||||
auth:
|
|
||||||
fileRealm:
|
|
||||||
- secretName: postiz-elasticsearch-secret
|
|
||||||
nodeSets:
|
|
||||||
- name: default
|
|
||||||
count: 2
|
|
||||||
config:
|
|
||||||
node.store.allow_mmap: false
|
|
||||||
volumeClaimTemplates:
|
|
||||||
- metadata:
|
|
||||||
name: elasticsearch-data
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 5Gi
|
|
||||||
storageClassName: ceph-block
|
|
||||||
@@ -78,33 +78,51 @@ spec:
|
|||||||
- name: shims
|
- name: shims
|
||||||
mountPath: /usr/local/sbin/temporal-elasticsearch-tool
|
mountPath: /usr/local/sbin/temporal-elasticsearch-tool
|
||||||
subPath: temporal-elasticsearch-tool
|
subPath: temporal-elasticsearch-tool
|
||||||
|
- name: create-visibility-store
|
||||||
|
image: "temporalio/admin-tools:1.30.3@sha256:2c2272b008f1af295b3719963e6feeef64f838d1105d895cf6acfcf96dd31741"
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
command: ['temporal-sql-tool', 'create-database']
|
||||||
|
env:
|
||||||
|
- name: SQL_PLUGIN
|
||||||
|
value: postgres12
|
||||||
|
- name: SQL_HOST
|
||||||
|
value: postiz-postgresql-18-cluster-rw.postiz
|
||||||
|
- name: SQL_PORT
|
||||||
|
value: "5432"
|
||||||
|
- name: SQL_DATABASE
|
||||||
|
value: temporal_visibility
|
||||||
|
- name: SQL_USER
|
||||||
|
value: "postgres"
|
||||||
|
- name: SQL_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: postiz-postgresql-18-cluster-superuser
|
||||||
|
key: password
|
||||||
|
- name: SQL_TLS
|
||||||
|
value: "false"
|
||||||
- name: manage-schema-visibility-store
|
- name: manage-schema-visibility-store
|
||||||
image: "temporalio/admin-tools:1.30.3@sha256:2c2272b008f1af295b3719963e6feeef64f838d1105d895cf6acfcf96dd31741"
|
image: "temporalio/admin-tools:1.30.3@sha256:2c2272b008f1af295b3719963e6feeef64f838d1105d895cf6acfcf96dd31741"
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command: ['sh', '-c']
|
command: ['sh', '-c']
|
||||||
args:
|
args:
|
||||||
- temporal-elasticsearch-tool setup-schema && temporal-elasticsearch-tool create-index && temporal-elasticsearch-tool update-schema --index "$ES_VISIBILITY_INDEX"
|
- temporal-sql-tool setup-schema -v 0.0 && temporal-sql-tool update-schema --schema-dir /etc/temporal/schema/postgresql/v12/visibility/versioned
|
||||||
env:
|
env:
|
||||||
- name: ES_SCHEME
|
- name: SQL_PLUGIN
|
||||||
value: https
|
value: postgres12
|
||||||
- name: ES_HOST
|
- name: SQL_HOST
|
||||||
value: elasticsearch-postiz-es-http.postiz
|
value: postiz-postgresql-18-cluster-rw.postiz
|
||||||
- name: ES_PORT
|
- name: SQL_PORT
|
||||||
value: "9200"
|
value: "5432"
|
||||||
- name: ES_SERVER
|
- name: SQL_DATABASE
|
||||||
value: https://elasticsearch-postiz-es-http.postiz:9200
|
value: temporal_visibility
|
||||||
- name: ES_USER
|
- name: SQL_USER
|
||||||
value:
|
value: "postgres"
|
||||||
- name: ES_PWD
|
- name: SQL_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: postiz-temporal-visibility-store
|
name: postiz-postgresql-18-cluster-superuser
|
||||||
key: password
|
key: password
|
||||||
- name: ES_VERSION
|
- name: SQL_TLS
|
||||||
value: v8
|
|
||||||
- name: ES_VISIBILITY_INDEX
|
|
||||||
value: temporal_visibility_v1
|
|
||||||
- name: ES_TLS
|
|
||||||
value: "false"
|
value: "false"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: shims
|
- name: shims
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
name: postiz-temporal-visibility-store
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: temporal
|
|
||||||
helm.sh/chart: temporal-1.0.0-rc.3
|
|
||||||
app.kubernetes.io/managed-by: Helm
|
|
||||||
app.kubernetes.io/instance: postiz
|
|
||||||
app.kubernetes.io/version: "1.30.2"
|
|
||||||
app.kubernetes.io/part-of: temporal
|
|
||||||
type: Opaque
|
|
||||||
data:
|
|
||||||
password: ""
|
|
||||||
Reference in New Issue
Block a user