Skip to content

Commit 5a6e2e2

Browse files
authored
merge(#1299): released chart 0.22.0, server 0.22.3
Prepared Cadence chart release 0.22.0 with server 0.22.3 #1299
2 parents 71eeb39 + ed8decd commit 5a6e2e2

File tree

6 files changed

+27
-13
lines changed

6 files changed

+27
-13
lines changed

cadence/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: cadence
2-
version: 0.21.3
3-
appVersion: 0.21.3
2+
version: 0.22.0
3+
appVersion: 0.22.3
44
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.
55
icon: https://raw.githubusercontent.com/uber/cadence-web/master/client/assets/logo.svg
66
apiVersion: v1

cadence/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This chart bootstraps a [Cadence](https://github.com/uber/cadence) and a [Cadenc
1919
## Prerequisites
2020

2121
- Kubernetes 1.7+ with Beta APIs enabled
22-
- Cadence 0.21.0+
22+
- Cadence 0.22.0+
2323

2424

2525
## Installing the Chart
@@ -328,7 +328,7 @@ Global options overridable per service are marked with an asterisk.
328328
| `nameOverride` | Override name of the application | `` |
329329
| `fullnameOverride` | Override full name of the application | `` |
330330
| `server.image.repository` | Server image repository | `ubercadence/server` |
331-
| `server.image.tag` | Server image tag | `0.21.3` |
331+
| `server.image.tag` | Server image tag | `0.22.3` |
332332
| `server.image.pullPolicy` | Server image pull policy | `IfNotPresent` |
333333
| `server.replicaCount`* | Server replica count | `1` |
334334
| `server.metrics.annotations.enabled`* | Annotate pods with Prometheus annotations | `false` |
@@ -365,7 +365,7 @@ Global options overridable per service are marked with an asterisk.
365365
| `web.enabled` | Enable WebUI service | `true` |
366366
| `web.replicaCount` | Number of WebUI service Replicas | `1` |
367367
| `web.image.repository` | WebUI image repository | `ubercadence/web` |
368-
| `web.image.tag` | WebUI image tag | `3.28.4` |
368+
| `web.image.tag` | WebUI image tag | `3.28.7` |
369369
| `web.image.pullPolicy` | WebUI image pull policy | `IfNotPresent` |
370370
| `web.service.annotations` | WebUI service annotations | `{}` |
371371
| `web.service.type` | WebUI service type | `ClusterIP` |

cadence/templates/server-configmap.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ data:
2323
datastores:
2424
default:
2525
{{- if eq (include "cadence.persistence.driver" (list . "default")) "cassandra" }}
26-
cassandra:
26+
nosql:
27+
pluginName: cassandra
2728
hosts: {{ include "cadence.persistence.cassandra.hosts" (list . "default") }}
2829
port: {{ include "cadence.persistence.cassandra.port" (list . "default") }}
2930
password: {{ `{{ .Env.CADENCE_STORE_PASSWORD }}` }}
@@ -45,7 +46,8 @@ data:
4546
{{- end }}
4647
visibility:
4748
{{- if eq (include "cadence.persistence.driver" (list . "visibility")) "cassandra" }}
48-
cassandra:
49+
nosql:
50+
pluginName: cassandra
4951
hosts: {{ include "cadence.persistence.cassandra.hosts" (list . "visibility") }}
5052
port: {{ include "cadence.persistence.cassandra.port" (list . "visibility") }}
5153
password: {{ `{{ .Env.CADENCE_VISIBILITY_STORE_PASSWORD }}` }}

cadence/templates/server-job.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ spec:
8787
value: {{ first (splitList "," (include "cadence.persistence.cassandra.hosts" (list $ $store))) }}
8888
- name: CASSANDRA_DB_PORT
8989
value: {{ include "cadence.persistence.cassandra.port" (list $ $store) | quote }}
90+
{{- if $storeConfig.cassandra.protoVersion }}
91+
- name: CASSANDRA_PROTOCOL_VERSION
92+
value: {{ $storeConfig.cassandra.protoVersion }}
93+
{{- end }}
9094
- name: CASSANDRA_KEYSPACE
9195
value: {{ $storeConfig.cassandra.keyspace }}
9296
{{- if $storeConfig.cassandra.user }}

cadence/values.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ debug: false
88
server:
99
image:
1010
repository: ubercadence/server
11-
tag: 0.21.3
11+
tag: 0.22.3
1212
pullPolicy: IfNotPresent
1313

1414
# Global default settings (can be overridden per service)
@@ -159,9 +159,11 @@ server:
159159
existingSecret: ""
160160
consistency: One
161161
# datacenter: "us-east-1a"
162-
# maxQPS: 1000
163162
# maxConns: 2
164163

164+
# protoVersion is the protocol Version to connect to cassandra host.
165+
# protoVersion: 4
166+
165167
sql:
166168
pluginName: "" # mysql
167169
host: ""
@@ -173,7 +175,6 @@ server:
173175
# maxConns: 20
174176
# maxIdleConns: 20
175177
# maxConnLifetime: "1h"
176-
# maxQPS: 1000
177178
# connectAttributes:
178179
# tx_isolation: "READ-COMMITTED"
179180

@@ -189,9 +190,11 @@ server:
189190
existingSecret: ""
190191
consistency: One
191192
# datacenter: "us-east-1a"
192-
# maxQPS: 1000
193193
# maxConns: 2
194194

195+
# protoVersion is the protocol Version to connect to cassandra host.
196+
# protoVersion: 4
197+
195198
sql:
196199
pluginName: "" # mysql
197200
host: ""
@@ -203,7 +206,6 @@ server:
203206
# maxConns: 20
204207
# maxIdleConns: 20
205208
# maxConnLifetime: "1h"
206-
# maxQPS: 1000
207209
# connectAttributes:
208210
# tx_isolation: "READ-COMMITTED"
209211

@@ -309,7 +311,7 @@ web:
309311

310312
image:
311313
repository: ubercadence/web
312-
tag: v3.28.4
314+
tag: v3.28.7
313315
pullPolicy: IfNotPresent
314316

315317
tcheck:

cadence/values/values.cassandra.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ server:
1010
keyspace: "cadence"
1111
consistency: "One"
1212

13+
# protoVersion is the protocol Version to connect to cassandra host.
14+
# protoVersion: 4
15+
1316
# Authentication
1417
# user: ""
1518
# password: ""
@@ -23,6 +26,9 @@ server:
2326
keyspace: "cadence_visibility"
2427
consistency: "One"
2528

29+
# protoVersion is the protocol Version to connect to cassandra host.
30+
# protoVersion: 4
31+
2632
# Authentication
2733
# user: ""
2834
# password: ""

0 commit comments

Comments
 (0)