Skip to content

Commit 2dd218d

Browse files
committed
Merge branch 'master' into scottcrossen/node-locality
2 parents 0b0665d + a595ad6 commit 2dd218d

File tree

4 files changed

+19
-13
lines changed

4 files changed

+19
-13
lines changed

cockroachdb/Chart.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ apiVersion: v1
22
name: cockroachdb
33
home: https://www.cockroachlabs.com
44
version: 6.1.0
5-
appVersion: 21.1.5
5+
appVersion: 21.1.6
66
description: CockroachDB is a scalable, survivable, strongly-consistent SQL database.
77
icon: https://raw.githubusercontent.com/cockroachdb/cockroach/master/docs/media/cockroach_db.png
88
sources:
9-
- https://github.com/cockroachdb/cockroach
9+
- https://github.com/cockroachdb/cockroach
1010
maintainers:
11-
- name: cockroachlabs
12-
email: helm-charts@cockroachlabs.com
11+
- name: cockroachlabs
12+
email: helm-charts@cockroachlabs.com

cockroachdb/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,10 @@ kubectl get pods \
221221
```
222222

223223
```
224-
my-release-cockroachdb-0 cockroachdb/cockroach:v21.1.5
225-
my-release-cockroachdb-1 cockroachdb/cockroach:v21.1.5
226-
my-release-cockroachdb-2 cockroachdb/cockroach:v21.1.5
227-
my-release-cockroachdb-3 cockroachdb/cockroach:v21.1.5
224+
my-release-cockroachdb-0 cockroachdb/cockroach:v21.1.6
225+
my-release-cockroachdb-1 cockroachdb/cockroach:v21.1.6
226+
my-release-cockroachdb-2 cockroachdb/cockroach:v21.1.6
227+
my-release-cockroachdb-3 cockroachdb/cockroach:v21.1.6
228228
```
229229

230230
Resume normal operations. Once you are comfortable that the stability and performance of the cluster is what you'd expect post-upgrade, finalize the upgrade:
@@ -279,7 +279,7 @@ Verify that no pod is deleted and then upgrade as normal. A new StatefulSet will
279279

280280
For more information about upgrading a cluster to the latest major release of CockroachDB, see [Upgrade to CockroachDB v21.1](https://www.cockroachlabs.com/docs/stable/upgrade-cockroach-version.html).
281281

282-
Note that there are some backward-incompatible changes to SQL features between versions 20.2 and 21.1. For details, see the [CockroachDB v21.1.5 release notes](https://www.cockroachlabs.com/docs/releases/v21.1.5.html#backward-incompatible-changes).
282+
Note that there are some backward-incompatible changes to SQL features between versions 20.2 and 21.1. For details, see the [CockroachDB v21.1.6 release notes](https://www.cockroachlabs.com/docs/releases/v21.1.6.html#backward-incompatible-changes).
283283

284284
## Configuration
285285

@@ -311,7 +311,7 @@ For details see the [`values.yaml`](values.yaml) file.
311311
| `conf.store.size` | CockroachDB storage size | `""` |
312312
| `conf.store.attrs` | CockroachDB storage attributes | `""` |
313313
| `image.repository` | Container image name | `cockroachdb/cockroach` |
314-
| `image.tag` | Container image tag | `v21.1.5` |
314+
| `image.tag` | Container image tag | `v21.1.6` |
315315
| `image.pullPolicy` | Container pull policy | `IfNotPresent` |
316316
| `image.credentials` | `registry`, `user` and `pass` credentials to pull private image | `{}` |
317317
| `statefulset.replicas` | StatefulSet replicas number | `3` |

cockroachdb/templates/job.init.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ metadata:
1515
{{- with .Values.labels }}
1616
{{- toYaml . | nindent 4 }}
1717
{{- end }}
18+
{{- with .Values.init.jobAnnotations }}
1819
annotations:
19-
helm.sh/hook: post-install,post-upgrade
20-
helm.sh/hook-delete-policy: hook-succeeded,before-hook-creation
20+
{{ . | toYaml | nindent 4 }}
21+
{{- end }}
2122
spec:
2223
template:
2324
metadata:

cockroachdb/values.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
image:
22
repository: cockroachdb/cockroach
3-
tag: v21.1.5
3+
tag: v21.1.6
44
pullPolicy: IfNotPresent
55
credentials: {}
66
# registry: docker.io
@@ -362,6 +362,11 @@ init:
362362
labels:
363363
app.kubernetes.io/component: init
364364

365+
# Annotations to add to the job resource
366+
jobAnnotations:
367+
helm.sh/hook: post-install,post-upgrade
368+
helm.sh/hook-delete-policy: hook-succeeded,before-hook-creation
369+
365370
# Additional annotations to apply to the Pod of this Job.
366371
annotations: {}
367372

0 commit comments

Comments
 (0)