Skip to content

Commit

Permalink
feat(temporal): switch to chart from upstream repo (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
kosmoz authored Oct 15, 2024
1 parent fe81e3a commit 2066513
Show file tree
Hide file tree
Showing 5 changed files with 135 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ packages:
name: sealed-secrets
shortDescription: A Kubernetes controller and tool for one-way encrypted Secrets
- iconUrl: https://temporal.io/favicon.svg
latestVersion: v1.25.0+1
latestVersion: v1.25.0+2
name: temporal
scope: Namespaced
- iconUrl: https://avatars.githubusercontent.com/u/47359
Expand Down
2 changes: 1 addition & 1 deletion packages/temporal/v1.25.0+1/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ valueDefinitions:
- chartName: temporal
patch:
op: replace
path: /server/config/defaultNamespaces/namespaces/0/retention
path: /server/config/defaultNamespaces/namespace/0/retention
transformations:
- source:
path: "{ $.metadata.name }"
Expand Down
1 change: 1 addition & 0 deletions packages/temporal/v1.25.0+2/.test/config-values.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"temporal" --value "defaultNamespace=default"
130 changes: 130 additions & 0 deletions packages/temporal/v1.25.0+2/package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
# yaml-language-server: $schema=https://glasskube.dev/schemas/v1/package-manifest.json

name: temporal
scope: Namespaced
defaultNamespace: default
iconUrl: https://temporal.io/favicon.svg
helm:
repositoryUrl: https://go.temporal.io/helm-charts
chartName: temporal
chartVersion: "0.47.0"
values:
server:
config:
persistence:
default:
driver: "sql"
sql:
driver: "postgres12"
host: temporal-db-rw
port: 5432
database: temporal
user: postgres
existingSecret: temporal-db-superuser
maxConns: 20
maxConnLifetime: "1h"
visibility:
driver: "sql"
sql:
driver: "postgres12"
host: temporal-db-rw
port: 5432
database: temporal_visibility
user: postgres
existingSecret: temporal-db-superuser
maxConns: 20
maxConnLifetime: "1h"
namespaces:
enabled: true
namespace:
- name: default
retention: 3d
cassandra:
enabled: false
mysql:
enabled: false
postgresql:
enabled: true
prometheus:
enabled: false
grafana:
enabled: false
elasticsearch:
enabled: false
schema:
createDatabase:
enabled: true
setup:
enabled: true
update:
enabled: true
components:
- name: postgresql
installedName: db
values:
enableSuperuserAccess:
value: "true"
databaseName:
value: "temporal"
storageSize:
value: "10Gi"
valueDefinitions:
defaultNamespace:
type: text
metadata:
label: Default Namespace
description: Leave empty to skip namespace creation
defaultValue: default
targets:
- chartName: temporal
patch:
op: replace
path: /server/config/namespaces/namespace/0/name
- chartName: temporal
patch:
op: replace
path: /server/config/namespaces/enabled
valueTemplate: |-
{{ if . }}true{{ else }}false{{ end }}
defaultNamespaceRetention:
type: text
metadata:
label: Retention of the Default Namespace
description: Only takes effect if defaultNamespace is set
defaultValue: 3d
targets:
- chartName: temporal
patch:
op: replace
path: /server/config/namespaces/namespace/0/retention
transformations:
- source:
path: "{ $.metadata.name }"
targets:
- chartName: temporal
valueTemplate: '"{{.}}-db-cluster-superuser"'
patch:
op: add
path: /server/config/persistence/default/sql/existingSecret
- chartName: temporal
valueTemplate: '"{{.}}-db-cluster-superuser"'
patch:
op: add
path: /server/config/persistence/visibility/sql/existingSecret
- chartName: temporal
valueTemplate: '"{{.}}-db-cluster-rw"'
patch:
op: add
path: /server/config/persistence/default/sql/host
- chartName: temporal
valueTemplate: '"{{.}}-db-cluster-rw"'
patch:
op: add
path: /server/config/persistence/visibility/sql/host
references:
- label: Website
url: https://temporal.io/
entrypoints:
- serviceName: temporal-web
port: 8080
localPort: 8448
3 changes: 2 additions & 1 deletion packages/temporal/versions.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
latestVersion: v1.25.0+1
latestVersion: v1.25.0+2
versions:
- version: v1.25.0+1
- version: v1.25.0+2

0 comments on commit 2066513

Please sign in to comment.