74 Commits
Author SHA1 Message Date
Matt FarinaandGitHub 4a04b6f964 Removed old owners files (#24416)
Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-11-13 17:06:05 -05:00
James H. LinderandGitHub e7a091fd0e [stable/cockroachdb] deprecating this cockroachdb chart repository (#23000)
* [stable/cockroachdb] deprecating this cockroachdb chart repository

Given the deprecation of `stable`, future CockroachDB Helm charts are
now located at:

  code repository: https://github.com/cockroachdb/helm-charts
  charts repository: https://charts.cockroachdb.com

Update this repository to point users to the new locations.

Signed-off-by: James H. Linder <jamesl@cockroachlabs.com>

* Complete the deprecation steps as described in PROCESSES.md

Signed-off-by: James H. Linder <jamesl@cockroachlabs.com>
2020-07-08 13:54:08 -04:00
Daniel HarrisonandGitHub 4d2c85a224 [stable/cockroachdb]: Update version to v19.2.5 (#21584)
Signed-off-by: Daniel Harrison <daniel.harrison@gmail.com>
2020-03-23 12:43:26 -07:00
Daniel HarrisonandGitHub 35c0c3d992 [stable/cockroachdb]: Update version to v19.2.4 (#20698)
Signed-off-by: Dan Harrison <dan@cockroachlabs.com>
2020-02-14 10:02:17 -08:00
Ryan KuoandGitHub 3fe2b4fe07 [stable/cockroachdb]: correct and update README (#20201)
* Correct and update README

Signed-off-by: taroface <ryankuo@gmail.com>

* update chart version

Signed-off-by: taroface <ryankuo@gmail.com>

* incorporate reviewer feedback

Signed-off-by: taroface <ryankuo@gmail.com>
2020-02-10 13:25:53 -08:00
Nathan StilwellandGitHub 626dca1e31 [stable/cockroachdb]: Update version to v19.2.3 (#20567)
Signed-off-by: Nathan Stilwell <nathanstilwell@cockroachlabs.com>
2020-02-05 13:27:54 -08:00
1c71165c52 [stable/cockroachdb] Allow TLS secrets for certificates (#20425)
* "bring-your-own-certs" scenario
bump cockroachdb version to 19.2.1->19.2.2

Signed-off-by: Artur <artur@upbound.io>

* version bump 3.0.2 -> 3.0.3

Signed-off-by: Artur <artur@upbound.io>

* [stable/cockroachdb] Allow tls secrets as certificate source

This allows usage of cert-manager:
https://github.com/jetstack/cert-manager

Signed-off-by: Joachim Mathes <jmathes@contargo.net>

* [stable/cockroachdb] Align table fields in documentation

Signed-off-by: Joachim Mathes <jmathes@contargo.net>

* [stable/cockroachdb] Update documentation

Signed-off-by: Joachim Mathes <jmathes@contargo.net>

Co-authored-by: arturrez <56270896+arturrez@users.noreply.github.com>
2020-02-05 11:39:55 -08:00
Jesse SeldessandKubernetes Prow Robot dfea2ba119 [stable/cockroachdb]: Update version to v19.2.2 (#19990)
Signed-off-by: Jesse Seldess <j_seldess@hotmail.com>
2020-01-09 11:04:38 -08:00
Joel KennyandKubernetes Prow Robot f4fcf44ce4 [stable/cockroachdb] Fix statefulset resource templating (#19342)
An accidental use of `indent` instead of `nindent` caused us to not be able
to create statefulsets with resource requests or limits, due to a YAML
templating error.

Signed-off-by: Joel Kenny <joel@cockroachlabs.com>
2019-12-03 11:02:58 -08:00
Kai RenandKubernetes Prow Robot b5af62f491 [stable/cockroachdb] Complete refactor and capabilities extension (#18993)
- refactor chart values to be more idiomatic and document them more precisely
- rename k8s labels to namespaced ones
- refactor template names and make them more readable
- support 'nameOverride' and 'fullnameOverride' values
- make StatefulSet 'replicas' configurable
- make affinity, tolerations and nodeSelector configurable for StatefulSet and init Job
- make labels and annotations configurable for Pods of StatefulSet and init Job
- make init Job idempotent for already initialized clusters
- add ability to persist data in hostPath and emptyDir
- add ability to configure NetworkPolicy with custom ingress rules
- add ability to specify credentials for private registries of Docker images
- support running in standalone mode (start-single-node)
- provide more configuration parameters in chart values
- reuse entrypoint of the used Docker image instead of overwriting it
- bump chart's version to 3.0.0
- update README and add upgrading instructions for 3.0.0

Signed-off-by: tyranron <tyranron@gmail.com>
2019-12-03 09:56:58 -08:00
Lucy ZhangandKubernetes Prow Robot fe6c09b96b [stable/cockroachdb]: update version to v19.1.5 (#19126)
Signed-off-by: Lucy Zhang <lucy-zhang@users.noreply.github.com>
2019-11-25 10:57:25 -08:00
Tobias PaepkeandKubernetes Prow Robot be4c085ce6 [stable/cockroachdb] labels for cockroachdb service (#18233)
* Add labels to cockroachdb service and servicediscovery-service
Signed-off-by: Tobias Paepke <tobias.paepke@paepke.net>

Signed-off-by: Tobias Paepke <tobias.paepke@paepke.net>

* update README.md to cover new values
Signed-off-by: Tobias Paepke <tobias.paepke@paepke.net>

Signed-off-by: Tobias Paepke <tobias.paepke@paepke.net>

* Chart version bump
Signed-off-by: Tobias Paepke <tobias.paepke@paepke.net>

Signed-off-by: Tobias Paepke <tobias.paepke@paepke.net>
2019-10-23 11:06:58 -07:00
Joel KennyandKubernetes Prow Robot 4b8330c36d [stable/cockroachdb] Fix for compatibiliy with Kubernetes 1.16 (#17837)
In Kubernetes 1.16, all resources under `apps/v1beta1` are now only available
under `apps/v1`:
https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.16.md#deprecations-and-removals

This updates our StatefulSet apiVersion, while maintaining compatibility with
old versions of Kubernetes where StatefulSets are not available under the
`apps/v1` APIVersion.

Signed-off-by: Joel Kenny <joel@cockroachlabs.com>
2019-10-11 09:49:40 -07:00
ajwernerandKubernetes Prow Robot da43366052 [stable/cockroachdb]: Update version to v19.1.5 (#17567)
Signed-off-by: Andrew Werner <awerner32@gmail.com>
2019-10-01 07:25:35 -07:00
Paul FarverandKubernetes Prow Robot 8180c3ffcf [stable/cockroachdb] Split template into multiple files (#17242)
* [Stable/Cockroachdb] Split manifest into files

Signed-off-by: Paul Farver <paulfarver@gmail.com>

* [Stable/Cockroachdb] Clean pr

Signed-off-by: Paul Farver <paulfarver@gmail.com>

* [Stable/Cockroachdb] Bump chart version

Signed-off-by: Paul Farver <paulfarver@gmail.com>
2019-09-24 11:31:28 -07:00
Rebecca TaftandKubernetes Prow Robot 2c00a333ea stable/cockroachdb: bump to 19.1.3 (#15539)
Signed-off-by: Rebecca Taft <becca@cockroachlabs.com>
2019-07-17 11:26:11 -07:00
Joel KennyandKubernetes Prow Robot d0fc388575 [stable/cockroachdb] adds resources stanza to cockroach init pod (#14921)
Previously, this chart was not deployable in a Kubernetes namespace with
[Resource Quotas](https://kubernetes.io/docs/concepts/policy/resource-quotas/)
enabled. A user could set resource limits on the CRDB pods, but not on the
short-lived pod that is part of the cockroachdb-init job. This adds an
additional resource configuration to that pod spec to allow this chart to be
deployed when Resource Quotas are enabled.

Signed-off-by: Joel Kenny <joel@cockroachlabs.com>
2019-06-19 13:04:20 -07:00
Andrei MateiandKubernetes Prow Robot a733274596 cockroachdb: bump to 19.1.2 (#14864)
Signed-off-by: Andrei Matei <andrei@cockroachlabs.com>
2019-06-17 15:18:27 -07:00
keith-mcclellanandKubernetes Prow Robot 5e39bf5d5b bump chart to 19.1.1 (#14449)
Signed-off-by: Keith McClellan <keith.mcclellan@gmail.com>
2019-06-04 07:39:13 -07:00
keith-mcclellanandKubernetes Prow Robot a09be94d88 stable/cockroachdb Updated README.md w/ upgrade instructions (#14029)
Updated README to direct to CockroachDB documentation on the Helm chart, and to provide updated upgrade guidance.

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

Signed-off-by: Keith McClellan <keith.mcclellan@gmail.com>

	modified:   Chart.yaml

Signed-off-by: Keith McClellan <keith.mcclellan@gmail.com>
2019-05-21 16:18:05 -07:00
Alex RobinsonandKubernetes Prow Robot e0ca5d137f [stable/cockroachdb]: Add more OWNERS to cockroachdb chart (#13889)
These three all have good knowledge of CockroachDB and experience
running it in production on Kubernetes.

Signed-off-by: Alex Robinson <alexdwanerobinson@gmail.com>
2019-05-20 22:58:41 -07:00
Carlos Tadeu Panato JuniorandKubernetes Prow Robot 1945219b16 add apiVersion (#13773)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2019-05-14 13:57:38 -07:00
Christian HüningandKubernetes Prow Robot 8055bd2893 Add ExtraInitAnnotations (#13519)
Signed-off-by: Christian Hüning <christian.huening@figo.io>
2019-05-05 17:31:36 -07:00
Christian HüningandKubernetes Prow Robot 8ae73a4fd9 Add an option for ExtraAnnotations for the StatefulSet (#13400)
Signed-off-by: Christian Hüning <christian.huening@figo.io>
2019-05-01 21:28:17 -07:00
SolonandKubernetes Prow Robot 9329c44517 cockroachdb: Update version to 19.1.0 (#13408)
Signed-off-by: Solon Gordon <solon@cockroachlabs.com>
2019-04-30 12:06:57 -07:00
Christian HüningandKubernetes Prow Robot f4bb13e508 allow to set COCKROACH_ENGINE_MAX_SYNC_DURATION (#13244)
* allow to set COCKROACH_ENGINE_MAX_SYNC_DURATION

Signed-off-by: Christian Hüning <christian.huening@figo.io>

* switched to ExtraEnvArgs

Signed-off-by: Christian Hüning <christian.huening@figo.io>

* Bumped App and Tag version to 2.1.6

Signed-off-by: Christian Hüning <christian.huening@figo.io>

* added example to comment in values.yaml

Signed-off-by: Christian Hüning <christian.huening@figo.io>
2019-04-25 21:54:25 -07:00
Jonas EckerströmandKubernetes Prow Robot 8b0c27790d [cockroachdb] Document that windows hostpath provisioner is not supported (#11928)
Signed-off-by: Jonas Eckerström <jonaseck@gmail.com>
2019-03-07 12:48:05 -08:00
Nik VossandKubernetes Prow Robot fbc9f1d365 [stable/cockroachdb] Additional parameters for cockroachdb (#11747)
* Add ExtraArgs and ExtraSecretMounts for additional configurability.

Signed-off-by: Niklas Voss <niklas.voss@gmail.com>

* Bump version.

Signed-off-by: Niklas Voss <niklas.voss@gmail.com>

* Updated README to include new values.

Signed-off-by: Niklas Voss <niklas.voss@gmail.com>

* Removed blank line to avoid linting errors.

Signed-off-by: Niklas Voss <niklas.voss@gmail.com>
2019-02-27 16:31:15 -08:00
RaduBerindeandKubernetes Prow Robot 87a1489cb7 cockroachdb: Update version to 2.1.5 (#11540)
Signed-off-by: Radu Berinde <radu@cockroachlabs.com>
2019-02-19 12:26:35 -08:00
Bob VawterandKubernetes Prow Robot bb5b5ab85c cockroachdb: Update to 2.1.4 (#10810)
* cockroachdb: Update to 2.1.4

Signed-off-by: Bob Vawter <bob@cockroachlabs.com>

* Update Chart.yaml

Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
2019-01-21 14:20:38 -08:00
Ben DarnellandKubernetes Prow Robot 23f8f3f9fb cockroachdb: Update to 2.1.3 (#10086)
Signed-off-by: Ben Darnell <ben@cockroachlabs.com>
2018-12-18 18:51:29 -08:00
schantaraudandKubernetes Prow Robot 901997c06c CockroachDB: allow init job to connect with network policies (#9943)
Sets client label on init job when NetworkPolicy.Enabled and !NetworkPolicy.AllowExternal

Signed-off-by: Samuel Chantaraud <samuel.chantaraud@messagepoint.com>
2018-12-13 01:00:45 -08:00
Nathan VanBenschotenandKubernetes Prow Robot 8038ea7a49 [stable/cockroachdb] Upgrade CockroachDB version to v2.1.2 (#9876)
Signed-off-by: Nathan VanBenschoten <nvanbenschoten@gmail.com>
2018-12-10 14:30:49 -08:00
Bram Gruneirandk8s-ci-robot 80d163ee36 [stable/cockroachdb] Increase the default disk size to 100GB (#9423)
In the past there had problems with Minikube not accepting large disk sizes,
but it no longer seems to be a problem on more recent versions, so let's
default to something a little more reasonable here.

Signed-off-by: Bram Gruneir <bram@cockroachlabs.com>
2018-11-20 10:19:11 -08:00
Bram Gruneirandk8s-ci-robot 345ba98772 [stable/cockroachdb] Upgrade CockroachDB version to v2.1.1 (#9388)
Signed-off-by: Bram Gruneir <bram@cockroachlabs.com>
2018-11-19 15:16:59 -08:00
Alex Robinsonandk8s-ci-robot 17294c1906 [stable/cockroachdb] Bump default RequestCertsImageTag (#8345)
To include the fix added by https://github.com/cockroachdb/k8s/pull/14

Signed-off-by: Alex Robinson <alexdwanerobinson@gmail.com>
2018-11-04 13:06:14 -08:00
Alex Robinsonandk8s-ci-robot bc6db0d51a [stable/cockroachdb] Warn about default disk size, improve NOTES format (#7828)
The default disk size of 1 GiB can cause mistakes (e.g.
https://stackoverflow.com/q/52245811/1925481), but is needed in
order to work in environments like Minikube.

And I don't know what's going on with the way that line breaks work in
NOTES.txt, but this is what makes it render properly.

Signed-off-by: Alex Robinson <alexdwanerobinson@gmail.com>
2018-10-18 10:50:12 -07:00
Alex Robinsonandk8s-ci-robot 7ee583b4a3 [stable/cockroachdb] Clean up parameter list in README (#8022)
* Add missing NodeSelector option
* Replace obsolete Cpu and Memory options with Resources option
* Touch up a couple descriptions and defaults, reorder to better match
  values in values.yaml

Signed-off-by: Alex Robinson <alexdwanerobinson@gmail.com>
2018-10-14 14:26:53 -07:00
Rio Kierkelsandk8s-ci-robot 85cddea40f fix(stable/cockroachdb): Add an explicit selector to the StatefulSet (#8109)
This was preventing any upgrades because kubernetes made the selector
immutable and the chart version changes between upgrades of charts.

fix #8102

Signed-off-by: Rio Kierkels <riokierkels@gmail.com>
2018-10-04 13:41:55 -07:00
Nikhil Beneschandk8s-ci-robot d8bdbe1353 [stable/cockroachdb]: Update version to v2.0.6 (#8081)
Signed-off-by: Nikhil Benesch <nikhil.benesch@gmail.com>
2018-10-01 08:48:40 -07:00
Oliverandk8s-ci-robot a8cb0377d1 Added functionality to let us join an already existing cluster. (#7582)
* Added functionality to let us join an already existing cluster.

Signed-off-by: Oliver Isaac <oisaac@gmail.com>

* Added locality to values.yaml and README. Version bump.

Signed-off-by: Oliver Isaac <oisaac@gmail.com>

* Cleaned up trailing whitespace

Signed-off-by: Oliver Isaac <oisaac@gmail.com>

* Typo and join bug-fix

Signed-off-by: Oliver Isaac <oisaac@gmail.com>
2018-09-06 14:07:13 -07:00
Brandon Harperandk8s-ci-robot adb3bc965a Added a Tolerations option which is applied to the pods in the stateful set (#7369) 2018-08-27 12:10:18 -07:00
Oliverandk8s-ci-robot 4bcf57dc66 [stable/cockroachdb] Breakout ports to support Istio (#7269)
* [stable/cockroachdb] Added support for node selector

* Merge with charts/stable

* [stable/cockroachdb] Added support for node selector

* [stable/cockroachdb] Added support for node selector

new chart stable/mysqldump (#4069)

* new chart stable/mysqldump

Helps the user backup mysql databases to a persistent volume

* use chart.name from tpl, add app label

* add app/chart fixes to mysqldump-cron.yaml

* fix backoffLimit in wrong place.

* exit gracefully if db host not specified

Merge with charts/stable

* Chart version bump

* Added external and internal GRPC port as options. Also added options to customize service annotations. Need these for istio config.

* Updated README to include values I added. Reformatted the table so it reads pretty in plaintext

* cockroach chart version bump for istio work
2018-08-22 11:04:04 -07:00
Oliverandk8s-ci-robot aa93707cad Add NodeSelector to CockroachDB Pods (#7196)
* [stable/cockroachdb] Added support for node selector

* Merge with charts/stable

* [stable/cockroachdb] Added support for node selector

* [stable/cockroachdb] Added support for node selector

new chart stable/mysqldump (#4069)

* new chart stable/mysqldump

Helps the user backup mysql databases to a persistent volume

* use chart.name from tpl, add app label

* add app/chart fixes to mysqldump-cron.yaml

* fix backoffLimit in wrong place.

* exit gracefully if db host not specified

Merge with charts/stable

* Chart version bump
2018-08-15 10:15:00 -07:00
Alex Robinsonandk8s-ci-robot c1611a941a [stable/cockroachdb]: Update version and fix typos in README (#7176) 2018-08-14 09:01:56 -07:00
Alex Robinsonandk8s-ci-robot 5c8e924545 Make cockroachdb chart work with --wait flag on helm install (#6964)
We had a deadlock of sorts. --wait waits until all pods are ready.
postinstall hooks don't run until after --wait is done waiting. The pods
won't be ready until the `init` job runs, which was a postinstall hook.

This gets around that by making the init command run as part of the
chart rather than as a postinstall hook. I added a bash retry loop for
the init command to get around the lack of ability to configure pod
restart backoffs in Kubernetes.
2018-08-12 11:25:53 -07:00
Matt McNaughtonandk8s-ci-robot b2c9f8514d Fix cockroachdb not abiding by resources reqs (#5629)
The containers in the stateful set were ignoring the resource requests
when specified in `values.yaml`. Comment out the resources requests
in `values.yaml`, so we only set requests if the user specifically
enables them.

I verified this is working by running `kubectl describe pod POD | grep
cpu` on one of the created pods on the fix branch. It returned `cpu:
"100m"`. On the master branch, the same command returned nothing.
2018-05-18 06:24:51 -07:00
Alex Robinsonandk8s-ci-robot 13c704cac8 cockroachdb: Various improvements (#4876)
* cockroachdb: Add readiness/liveness probes

* cockroachdb: Switch from unready-endpoints annotation to proper field

This works as far back as Kubernetes 1.8, which means we're still
supporting the 3 most recently release versions of Kubernetes, more than
the 2 required by the README of this repo.

However, I'm leaving the annotation in because the field itself doesn't
work on 1.9.x: https://github.com/kubernetes/kubernetes/issues/58662

* cockroachdb: Add podManagementPolicy and UpdateStrategy
2018-04-19 02:49:59 -07:00
Alex Robinsonandk8s-ci-robot a126777002 Bump cockroachdb chart to version 2.0.0 (#4745) 2018-04-06 00:08:08 -07:00
Matt Farinaandk8s-ci-robot 74a23f7efb Include pre-releases in the semver ranges (#4634)
This is important when testing against alpha and beta builds of
Kubernetes along with environments that use pre-releases to denote
things other than pre-releases (e.g., gke denotes the environment
with a pre-releases)
2018-04-03 07:39:07 -07:00