Skip to content

Commit

Permalink
merge(#1299): released chart 0.22.0, server 0.22.3
Browse files Browse the repository at this point in the history
Prepared Cadence chart release 0.22.0 with server 0.22.3
#1299
  • Loading branch information
pregnor committed Nov 10, 2021
2 parents 71eeb39 + ed8decd commit 5a6e2e2
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 13 deletions.
4 changes: 2 additions & 2 deletions cadence/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: cadence
version: 0.21.3
appVersion: 0.21.3
version: 0.22.0
appVersion: 0.22.3
description: Cadence is a distributed, scalable, durable, and highly available orchestration engine to execute asynchronous long-running business logic in a scalable and resilient way.
icon: https://raw.githubusercontent.com/uber/cadence-web/master/client/assets/logo.svg
apiVersion: v1
Expand Down
6 changes: 3 additions & 3 deletions cadence/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This chart bootstraps a [Cadence](https://github.com/uber/cadence) and a [Cadenc
## Prerequisites

- Kubernetes 1.7+ with Beta APIs enabled
- Cadence 0.21.0+
- Cadence 0.22.0+


## Installing the Chart
Expand Down Expand Up @@ -328,7 +328,7 @@ Global options overridable per service are marked with an asterisk.
| `nameOverride` | Override name of the application | `` |
| `fullnameOverride` | Override full name of the application | `` |
| `server.image.repository` | Server image repository | `ubercadence/server` |
| `server.image.tag` | Server image tag | `0.21.3` |
| `server.image.tag` | Server image tag | `0.22.3` |
| `server.image.pullPolicy` | Server image pull policy | `IfNotPresent` |
| `server.replicaCount`* | Server replica count | `1` |
| `server.metrics.annotations.enabled`* | Annotate pods with Prometheus annotations | `false` |
Expand Down Expand Up @@ -365,7 +365,7 @@ Global options overridable per service are marked with an asterisk.
| `web.enabled` | Enable WebUI service | `true` |
| `web.replicaCount` | Number of WebUI service Replicas | `1` |
| `web.image.repository` | WebUI image repository | `ubercadence/web` |
| `web.image.tag` | WebUI image tag | `3.28.4` |
| `web.image.tag` | WebUI image tag | `3.28.7` |
| `web.image.pullPolicy` | WebUI image pull policy | `IfNotPresent` |
| `web.service.annotations` | WebUI service annotations | `{}` |
| `web.service.type` | WebUI service type | `ClusterIP` |
Expand Down
6 changes: 4 additions & 2 deletions cadence/templates/server-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ data:
datastores:
default:
{{- if eq (include "cadence.persistence.driver" (list . "default")) "cassandra" }}
cassandra:
nosql:
pluginName: cassandra
hosts: {{ include "cadence.persistence.cassandra.hosts" (list . "default") }}
port: {{ include "cadence.persistence.cassandra.port" (list . "default") }}
password: {{ `{{ .Env.CADENCE_STORE_PASSWORD }}` }}
Expand All @@ -45,7 +46,8 @@ data:
{{- end }}
visibility:
{{- if eq (include "cadence.persistence.driver" (list . "visibility")) "cassandra" }}
cassandra:
nosql:
pluginName: cassandra
hosts: {{ include "cadence.persistence.cassandra.hosts" (list . "visibility") }}
port: {{ include "cadence.persistence.cassandra.port" (list . "visibility") }}
password: {{ `{{ .Env.CADENCE_VISIBILITY_STORE_PASSWORD }}` }}
Expand Down
4 changes: 4 additions & 0 deletions cadence/templates/server-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ spec:
value: {{ first (splitList "," (include "cadence.persistence.cassandra.hosts" (list $ $store))) }}
- name: CASSANDRA_DB_PORT
value: {{ include "cadence.persistence.cassandra.port" (list $ $store) | quote }}
{{- if $storeConfig.cassandra.protoVersion }}
- name: CASSANDRA_PROTOCOL_VERSION
value: {{ $storeConfig.cassandra.protoVersion }}
{{- end }}
- name: CASSANDRA_KEYSPACE
value: {{ $storeConfig.cassandra.keyspace }}
{{- if $storeConfig.cassandra.user }}
Expand Down
14 changes: 8 additions & 6 deletions cadence/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ debug: false
server:
image:
repository: ubercadence/server
tag: 0.21.3
tag: 0.22.3
pullPolicy: IfNotPresent

# Global default settings (can be overridden per service)
Expand Down Expand Up @@ -159,9 +159,11 @@ server:
existingSecret: ""
consistency: One
# datacenter: "us-east-1a"
# maxQPS: 1000
# maxConns: 2

# protoVersion is the protocol Version to connect to cassandra host.
# protoVersion: 4

sql:
pluginName: "" # mysql
host: ""
Expand All @@ -173,7 +175,6 @@ server:
# maxConns: 20
# maxIdleConns: 20
# maxConnLifetime: "1h"
# maxQPS: 1000
# connectAttributes:
# tx_isolation: "READ-COMMITTED"

Expand All @@ -189,9 +190,11 @@ server:
existingSecret: ""
consistency: One
# datacenter: "us-east-1a"
# maxQPS: 1000
# maxConns: 2

# protoVersion is the protocol Version to connect to cassandra host.
# protoVersion: 4

sql:
pluginName: "" # mysql
host: ""
Expand All @@ -203,7 +206,6 @@ server:
# maxConns: 20
# maxIdleConns: 20
# maxConnLifetime: "1h"
# maxQPS: 1000
# connectAttributes:
# tx_isolation: "READ-COMMITTED"

Expand Down Expand Up @@ -309,7 +311,7 @@ web:

image:
repository: ubercadence/web
tag: v3.28.4
tag: v3.28.7
pullPolicy: IfNotPresent

tcheck:
Expand Down
6 changes: 6 additions & 0 deletions cadence/values/values.cassandra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ server:
keyspace: "cadence"
consistency: "One"

# protoVersion is the protocol Version to connect to cassandra host.
# protoVersion: 4

# Authentication
# user: ""
# password: ""
Expand All @@ -23,6 +26,9 @@ server:
keyspace: "cadence_visibility"
consistency: "One"

# protoVersion is the protocol Version to connect to cassandra host.
# protoVersion: 4

# Authentication
# user: ""
# password: ""
Expand Down

0 comments on commit 5a6e2e2

Please sign in to comment.