Skip to content

Commit c4ff836

Browse files
committed
helm: Update readyset to 0.3.1
- Adds a new/old database.type key to values.yaml that needs to be either "mysql" or "psql". We will eventually remove this as we phase out older version support but until then it shall remain. - Update values.yaml to add a image.tag key to readyset.adapter and readyset.server allowing users to specify the specific container version. The default for now is latest, but we will adjust that in the near-term to follow a release cadence once we've established it. - Update chart version to 0.3.1 Change-Id: I79935c8fe097d4113d95f89aa68a2dbab8343a1e Reviewed-on: https://gerrit.readyset.name/c/readyset/+/5015 Tested-by: Buildkite CI Reviewed-by: David Kim <[email protected]> Reviewed-by: Alana Marzoev <[email protected]>
1 parent 931d0b9 commit c4ff836

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

helm/readyset/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ annotations:
77
type: application
88

99
# Versions are expected to follow Semantic Versioning (https://semver.org/)
10-
version: 0.3.0
10+
version: 0.3.1
1111

1212
# appVersion is not expected to follow Semantic Versioning (https://semver.org)
1313
appVersion: "latest"

helm/readyset/templates/readyset-adapter-deployment.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ spec:
7878
curl http://127.0.0.1:8500/v1/health/node/$(hostname) \
7979
2>/dev/null | grep -E '".+"'
8080
- name: readyset-adapter
81-
image: {{ .Values.readyset.adapter.image.repository | default "public.ecr.aws/readyset" }}/readyset:latest
81+
image: {{ .Values.readyset.adapter.image.repository | default "public.ecr.aws/readyset" }}/readyset:{{ .Values.readyset.adapter.image.tag | default "latest"}}
8282
imagePullPolicy: Always
8383
securityContext:
8484
runAsGroup: 1000
@@ -100,6 +100,8 @@ spec:
100100
# Identify this as a Helm deployment to TelemetryReporter
101101
- name: DEPLOYMENT_ENV
102102
value: "helm"
103+
- name: DATABASE_TYPE
104+
value: "{{ .Values.readyset.database.type | default "mysql" }}"
103105
- name: AUTHORITY_ADDRESS
104106
value: "readyset-consul-server:8500"
105107
- name: AUTHORITY

helm/readyset/templates/readyset-server-statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ spec:
8787
curl http://127.0.0.1:8500/v1/health/node/$(hostname) \
8888
2>/dev/null | grep -E '".+"'
8989
- name: readyset-server
90-
image: public.ecr.aws/readyset/readyset-server:latest
90+
image: {{ .Values.readyset.server.image.repository | default "public.ecr.aws/readyset" }}/readyset-server:{{ .Values.readyset.server.image.tag | default "latest"}}
9191
env:
9292
# ReadySet Deployment Name (Unique per Consul Cluster)
9393
- name: DEPLOYMENT

helm/readyset/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@
44
# Disclaimer: Removing any of the following items from the list
55
# will likely break things in unspectacular ways.
66
readyset:
7+
database:
8+
type: mysql # or psql; Necessary to work with older versions of ReadySet
79
adapter:
810
ingress:
911
enabled: true
1012
httpPort: 6034
1113
image:
1214
repository: # "public.ecr.aws/readyset" # No trailing slash
15+
tag: "latest"
1316
port: 3306 # Or 5432
1417
resources:
1518
requests:
@@ -24,6 +27,10 @@ readyset:
2427
storage: "50Gi"
2528
cpu: 500m
2629
memory: "1Gi"
30+
image:
31+
repository: # "public.ecr.aws/readyset" # No trailing slash
32+
tag: "latest"
33+
2734

2835
kubernetes:
2936
storageClass: # Leave empty to use default provisioner

0 commit comments

Comments
 (0)