Skip to content

Commit c6f1025

Browse files
Pin cadence web image to v3.35.6 (#19)
1 parent 03c93ab commit c6f1025

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
cadencechart-*.tgz
1+
cadence-*.tgz
22
.DS_Store
33
template_out.yaml

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
```
66
helm package ./charts/cadence
7-
helm template cadence-release cadencechart-0.1.0.tgz > template_out.yaml
7+
helm template cadence-release cadence-0.1.3.tgz > template_out.yaml
88
```
99

1010
## Build and deploy to a k8s cluster
1111

1212
```
1313
helm package ./charts/cadence
14-
helm upgrade --install cadence-release cadencechart-0.1.0.tgz \
14+
helm upgrade --install cadence-release cadence-0.1.3.tgz \
1515
-n cadencetest \
1616
--create-namespace
1717
```

charts/cadence/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.2
18+
version: 0.1.3
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/cadence/templates/cadence-web-deployment.yaml

+7-3
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,17 @@ spec:
1717
spec:
1818
containers:
1919
- name: cadence-web
20-
image: ubercadence/web:latest
20+
image: {{ $.Values.web.image.repository }}:{{ $.Values.web.image.tag }}
2121
imagePullPolicy: Always
2222
ports:
2323
- containerPort: 8088
2424
env:
25-
- name: CADENCE_GRPC_PEERS
26-
value: cadence-frontend.{{ .Release.Namespace }}.svc.cluster.local:{{ $.Values.frontend.grpcPort }}
25+
- name: CADENCE_TCHANNEL_PEERS
26+
value: cadence-frontend.{{ .Release.Namespace }}.svc.cluster.local:{{ $.Values.frontend.port }}
27+
# TODO: Switch image version to v4.0.0 and uncomment below after the port forwarding issue is fixed
28+
# Something must have changed in the way the web service is started in > v3.35.6 which prevents localhost:8088 port forwarding
29+
# - name: CADENCE_GRPC_PEERS
30+
# value: cadence-frontend.{{ .Release.Namespace }}.svc.cluster.local:{{ $.Values.frontend.grpcPort }}
2731
resources:
2832
limits:
2933
cpu: {{ $.Values.web.cpu.limit }}

charts/cadence/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ web:
108108
# -- Docker image repository to use for the Cadence Web UI
109109
repository: "docker.io/ubercadence/web"
110110
# -- Docker image tag to use for the Cadence Web UI
111-
tag: "latest"
111+
tag: "v3.35.6"
112112
cpu:
113113
limit: "500m"
114114
request: "500m"

0 commit comments

Comments
 (0)