Skip to content

Commit

Permalink
feat: exposing temporal ui and supporting temporal connecting to ssl …
Browse files Browse the repository at this point in the history
…db (#17)

* feat: exposing temporal-ui

* feat: added flag to suppor temporal connecting to ssl db

* chore: upgraded chart version
  • Loading branch information
RafaelOAiSquared authored May 7, 2024
1 parent 64890b5 commit a74be7c
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/multiwoven/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: multiwoven
description: Open-source reverse ETL, an alternative to Hightouch, Census etc. 🔥
type: application
version: 0.8.0
appVersion: "0.8.0"
version: 0.9.0
appVersion: "0.9.0"
maintainers:
- name: subintp
- name: RafaelOAiSquared
Expand Down
17 changes: 16 additions & 1 deletion charts/multiwoven/templates/multiwoven-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ spec:
- hosts:
- {{ .Values.multiwovenConfig.uiHost }}
- {{ .Values.multiwovenConfig.apiHost }}
{{ if .Values.temporal.enabled }}
- {{ .Values.multiwovenConfig.temporalUiHost }}
{{ end }}
secretName: mw-tls-cert
rules:
- host: {{ .Values.multiwovenConfig.uiHost }}
Expand All @@ -38,4 +41,16 @@ spec:
port:
number: 3000
path: /(.*)
pathType: Prefix
pathType: Prefix
{{ if .Values.temporal.enabled }}
- host: {{ .Values.multiwovenConfig.temporalUiHost }}
http:
paths:
- backend:
service:
name: '{{ include "chart.fullname" . }}-temporal-ui'
port:
number: 8080
path: /(.*)
pathType: Prefix
{{ end }}
12 changes: 12 additions & 0 deletions charts/multiwoven/templates/temporal-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,18 @@ spec:
configMapKeyRef:
key: DB_USERNAME
name: {{ include "chart.fullname" . }}-config
{{ if .Values.multiwovenConfig.temporalPostgresSsl }}
- name: TEMPORAL_TLS_REQUIRE_CLIENT_AUTH
value: 'true'
- name: SQL_TLS
value: 'true'
- name: SQL_TLS_ENABLED
value: 'true'
- name: SQL_TLS_DISABLE_HOST_VERIFICATION
value: 'true'
- name: SQL_HOST_VERIFICATION
value: 'false'
{{ end }}
- name: KUBERNETES_CLUSTER_DOMAIN
value: {{ quote .Values.kubernetesClusterDomain }}
image: {{ .Values.temporal.temporal.image.repository }}:{{ .Values.temporal.temporal.image.tag | default .Chart.AppVersion }}
Expand Down
2 changes: 2 additions & 0 deletions charts/multiwoven/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ multiwovenConfig:
temporalPort: "7233"
temporalPostgresDefaultPort: "5432"
temporalPostgresPassword: password
temporalPostgresSsl: false
temporalPostgresUser: multiwoven
temporalPostgresqlVersion: "13"
temporalRootCert: /certs/temporal.pem
temporalTaskQueue: sync-dev
temporalUiHost: temporal.multiwoven.com
temporalUiVersion: 2.23.2
temporalVersion: 1.22.4
temporalWorkflowThreadPoolSize: "10"
Expand Down

0 comments on commit a74be7c

Please sign in to comment.