diff --git a/cadence/Chart.yaml b/cadence/Chart.yaml index ca8ac6b6..715a011c 100644 --- a/cadence/Chart.yaml +++ b/cadence/Chart.yaml @@ -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 diff --git a/cadence/README.md b/cadence/README.md index ee2c2f39..8f443635 100644 --- a/cadence/README.md +++ b/cadence/README.md @@ -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 @@ -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` | @@ -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` | diff --git a/cadence/templates/server-configmap.yaml b/cadence/templates/server-configmap.yaml index 9229f290..590c583d 100644 --- a/cadence/templates/server-configmap.yaml +++ b/cadence/templates/server-configmap.yaml @@ -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 }}` }} @@ -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 }}` }} diff --git a/cadence/templates/server-job.yaml b/cadence/templates/server-job.yaml index b0706ab5..85318873 100644 --- a/cadence/templates/server-job.yaml +++ b/cadence/templates/server-job.yaml @@ -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 }} diff --git a/cadence/values.yaml b/cadence/values.yaml index fdb3281a..460ce0e3 100644 --- a/cadence/values.yaml +++ b/cadence/values.yaml @@ -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) @@ -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: "" @@ -173,7 +175,6 @@ server: # maxConns: 20 # maxIdleConns: 20 # maxConnLifetime: "1h" - # maxQPS: 1000 # connectAttributes: # tx_isolation: "READ-COMMITTED" @@ -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: "" @@ -203,7 +206,6 @@ server: # maxConns: 20 # maxIdleConns: 20 # maxConnLifetime: "1h" - # maxQPS: 1000 # connectAttributes: # tx_isolation: "READ-COMMITTED" @@ -309,7 +311,7 @@ web: image: repository: ubercadence/web - tag: v3.28.4 + tag: v3.28.7 pullPolicy: IfNotPresent tcheck: diff --git a/cadence/values/values.cassandra.yaml b/cadence/values/values.cassandra.yaml index ba623092..a669619c 100644 --- a/cadence/values/values.cassandra.yaml +++ b/cadence/values/values.cassandra.yaml @@ -10,6 +10,9 @@ server: keyspace: "cadence" consistency: "One" + # protoVersion is the protocol Version to connect to cassandra host. + # protoVersion: 4 + # Authentication # user: "" # password: "" @@ -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: ""