36 Commits
Author SHA1 Message Date
Matt Farina 36ef70058a [stable/stolon] deprecating chart (#24400)
Signed-off-by: Matt Farina <matt@mattfarina.com>
2020-11-13 15:40:14 -05:00
Scott Rigby ec28c0d288 [stable/stolon] add repo archive notice (#24200)
Signed-off-by: Scott Rigby <scott@r6by.com>
2020-11-09 14:34:26 -08:00
samene deb9ad692e [stable/stolon] Make STKEEPER_PG_LISTEN_ADDRESS configurable (#23920)
* Make STKEEPER_PG_LISTEN_ADDRESS configurable

Signed-off-by: Sameer Mene <samene@gmail.com>

* Bump chart version
Signed-off-by: Sameer Mene <samene@gmail.com>
2020-10-19 10:44:14 -07:00
Patrick Kolze 95845921e1 [stable/stolon] support secrets for initdb pod (#23367)
* Add persistence support

Signed-off-by: Patrick Kolze <patrick.kolze@doublecheck-it.de>

* fix linting issue

Signed-off-by: Patrick Kolze <patrick.kolze@doublecheck-it.de>

* Update Chart version

Signed-off-by: Patrick Kolze <patrick.kolze@doublecheck-it.de>

* Avoid breaking existing behaviour

Signed-off-by: Patrick Kolze <patrick.kolze@doublecheck-it.de>

* [stable/prometheus-pushgateway] Bump version (#16040)

Signed-off-by: Patrick Kolze <patrick.kolze@doublecheck-it.de>

* [stable/prometheus-pushgateway] Fix persistence support

Signed-off-by: Patrick Kolze <patrick.kolze@doublecheck-it.de>

* Change back default persistence path

Signed-off-by: Patrick Kolze <patrick.kolze@doublecheck-it.de>

* Support secrets for initdb hook

Signed-off-by: Patrick Kolze <patrick.kolze@doublecheck-it.de>

* Bump Chart version of stolon

Signed-off-by: Patrick Kolze <patrick.kolze@doublecheck-it.de>

* removed additional secrets

as discussed in #23367

Signed-off-by: Patrick Kolze <patrick.kolze@doublecheck-it.de>
2020-08-09 10:30:19 -07:00
Tiago Posse 6b94992096 [stable/stolon] Allow password files to be used (#22544)
* Allow password files to be used for stolon.

Signed-off-by: Tiago Posse <tiagoposse@gmail.com>

* fix docs for replicationPassword

Signed-off-by: Tiago Posse <tiagoposse@gmail.com>

* bump minor chart version according to review guidelines

Signed-off-by: Tiago Posse <tiagoposse@gmail.com>
2020-06-04 10:25:16 -07:00
Oliver 6c7638eef1 stable/stolon: fix clustername usage (#22115)
* [stable/stolon]: changed from using fullname to clustername in the *_CLUSTER_NAME env vars for each of the deployments/statefuslets. The switch to using clusterName was made for the init of the cluster but not for these env vars so a cluster with a custom clusterName which did not match the fullName would fail to init.

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

* [stable/stolon] bumped chart version

Signed-off-by: Oliver Isaac <oisaac@gmail.com>
2020-04-30 07:44:18 -07:00
Andrei Kvapil d8b89f5478 update stolon version (#22184)
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2020-04-29 12:24:18 -07:00
emrah 3cae659574 [stable/stolon] Add annotation support for jobs (#21894)
* Add annotation support for jobs

Signed-off-by: Emrah Çetiner <emrah.cetiner@loodos.com>

* Bump the version

Signed-off-by: Emrah Çetiner <emrah.cetiner@loodos.com>
Signed-off-by: Emrah Çetiner <emrah.cetiner@loodos.com>

* Wrap job.annotations with if statement

Signed-off-by: Emrah Çetiner <emrah.cetiner@loodos.com>
Signed-off-by: Emrah Çetiner <emrah.cetiner@loodos.com>
2020-04-26 03:21:28 -07:00
emrah e3a5a7ee1f [stable/stolon] Fix sentinel annotations (#21892)
* Fix sentinel annotations

Signed-off-by: Emrah Çetiner <emrah.cetiner@loodos.com>

* Bump the version

Signed-off-by: Emrah Çetiner <emrah.cetiner@loodos.com>
2020-04-14 03:31:10 -07:00
marcos-monteiro 0b64349aeb Added fullname as prefix for init-scripts configmap name. (#21110)
* Added fullname as prefix for init-scripts configmap name.

Signed-off-by: Marcos Monteiro <marcos.monteiro@greenbricklabs.com>

* Update Chart.yaml

Signed-off-by: Marcos Monteiro <marcos.monteiro@greenbricklabs.com>
2020-03-01 04:56:41 -08:00
jmvizcainoio 7ac3412dd5 [stable/stolon]Add support to create a shm volume to increase the size of this (#20416)
* Add support to create a shm volume  to increase the size of this

Signed-off-by: Juan Manuel Vizcaino <juanmanuel.vizcaino@iomed.health>

* Add support to create a shm volume  to increase the size of this

Signed-off-by: Juan Manuel Vizcaino <juanmanuel.vizcaino@iomed.health>

* Signed-off-by: Juan Manuel Vizcaino <juanmanuel.vizcaino@iomed.health>

Fix Readme, by default is disabled.
2020-02-21 05:58:32 -08:00
rolandg d9d7fcb43a [stolon/stable] fixed image pull secrets (#20161)
* [stable/stolon] add image.pullSecrets

Signed-off-by: Roland Gritzer <gritzer.roland@gmail.com>

* bumped chart version

Signed-off-by: Roland Gritzer <gritzer.roland@gmail.com>

* fixed image.pullSecrets

Signed-off-by: Roland Gritzer <gritzer.roland@gmail.com>
2020-01-15 04:45:32 -08:00
rolandg eedbdbb830 [stable/stolon] add image.pullSecrets (#20088)
* [stable/stolon] add image.pullSecrets

Signed-off-by: Roland Gritzer <gritzer.roland@gmail.com>

* bumped chart version

Signed-off-by: Roland Gritzer <gritzer.roland@gmail.com>
2020-01-13 06:17:39 -08:00
Raj Perera ee6973c7d6 [stable/stolon] Make fsgroup optional for keeper security context for pg9-10 compat (#19648)
Signed-off-by: Raj Perera <rajiteh@gmail.com>
2019-12-17 10:11:57 -08:00
Raj Perera 2ef9c1ea20 [stable/stolon] Add custom labels support for servicemonitor (#19543)
* [stable/stolon] Add custom labels support for servicemonitor

Signed-off-by: Raj Perera <rajiteh@gmail.com>

* [stable/stolon] Document custom labels support for servicemonitor

Signed-off-by: Raj Perera <rajiteh@gmail.com>

* [stable/stolon] Bump chart version

Signed-off-by: Raj Perera <rajiteh@gmail.com>
2019-12-17 08:19:59 -08:00
Marcin Żbik cd0e3ecdad [stable/stolon] Fix initialisation of cluster when SSL is disabled (#18915)
* Change from string null to nil

Signed-off-by: Marcin Zbik <zbikmarc+github@gmail.com>

* Bump version

Signed-off-by: Marcin Zbik <zbikmarc+github@gmail.com>

* set ssl off

Signed-off-by: Marcin Zbik <zbikmarc+github@gmail.com>
2019-12-12 10:20:32 -08:00
Yujun Zhang 2177bef95e [stable/stolon] upgrade api version for kubernetes 1.16+ (#19289)
The v1.16 release will stop serving the following deprecated API versions in favor of newer and more stable API versions:

* DaemonSet, Deployment, StatefulSet, and ReplicaSet (in the extensions/v1beta1 and apps/v1beta2 API groups)
  * Migrate to use the apps/v1 API, available since v1.9. Existing persisted data can be retrieved/updated via the apps/v1 API.

See https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/

Signed-off-by: Yujun Zhang <yujunz@nvidia.com>
2019-12-10 13:58:06 -08:00
aligthart 69db007e34 [stable/stolon] add prometheus service monitor (#18212)
* add service monitor

Signed-off-by: arjan.ligthart <arjan.ligthart@gmail.com>

* update chart version

Signed-off-by: arjan.ligthart <arjan.ligthart@gmail.com>

* improved explanation (including fix for max_connections)

Signed-off-by: arjan.ligthart <arjan.ligthart@gmail.com>

* avoid duplicate endpoints being scraped

Signed-off-by: arjan.ligthart <arjan.ligthart@gmail.com>

* remove hardcoded 8080 ports

Signed-off-by: arjan.ligthart <arjan.ligthart@gmail.com>
2019-12-01 22:51:04 -08:00
Sergey Nuzhdin 5f9f3c2ba2 [stable/stolon] Add OWNERS file (#18175)
* [stable/stolon] Add OWNERS file

Signed-off-by: Sergey Nuzhdin <ipaq.lw@gmail.com>

* [stable/stolon] bump version

Signed-off-by: Sergey Nuzhdin <ipaq.lw@gmail.com>

* [stable/stolon] bump version

Signed-off-by: Sergey Nuzhdin <ipaq.lw@gmail.com>
2019-12-01 10:41:03 -08:00
jmvizcainoio 3545af37b2 [stable/stolon] Stolon ssl (#17036)
* Add support to ssl

Signed-off-by: Juan Manuel <juanmanuel.vizcaino@iomed.es>

* version bumped

Signed-off-by: Juan Manuel <juanmanuel.vizcaino@iomed.es>

* updated readme

Signed-off-by: Juan Manuel <juanmanuel.vizcaino@iomed.es>

* fix pgParameters in values

Signed-off-by: Juan Manuel <juanmanuel.vizcaino@iomed.es>

* bump version

Signed-off-by: Juan Manuel <juanmanuel.vizcaino@iomed.es>

* Some typo

fix some typo and add `tls.existingSecret` info

Signed-off-by: Juan Manuel <juanmanuel.vizcaino@iomed.es>

* Update Chart.yaml

Signed-off-by: Juan Manuel <juanmanuel.vizcaino@iomed.es>
2019-11-12 03:30:08 -08:00
aligthart 8bbcf62d1e #17684 add extraEnv vars (#17963)
Signed-off-by: arjan.ligthart <arjan.ligthart@gmail.com>
2019-10-21 23:37:22 -07:00
Fiore Mario Vitale 19601be66c [stable/stolon] Init script support (#15990)
* Add initScript and postStartScript feature

Signed-off-by: Fiore Mario Vitale <mvitale86@gmail.com>

* Increase chart version

Signed-off-by: Fiore Mario Vitale <mvitale86@gmail.com>

* Add new line at the end of file

Signed-off-by: Fiore Mario Vitale <mvitale86@gmail.com>

* Remove trailing whitespace

Signed-off-by: Fiore Mario Vitale <mvitale86@gmail.com>

* Bump version to 1.2.0
Minor syntax fix

Signed-off-by: Fiore Mario Vitale <mvitale86@gmail.com>

* Fix minor syntax issues

Signed-off-by: Fiore Mario Vitale <mvitale86@gmail.com>
2019-09-28 14:43:38 -07:00
Negash 769806a390 [stable/stolon] Use custome names for stolon keeper in different namespace (#14839)
* Use custome names for stolon keeper

Signed-off-by: Negash <i@negash.ru>

* Use keeper by default

Signed-off-by: Negash <i@negash.ru>

* Fix STKEEPER_UID

Signed-off-by: Negash <i@negash.ru>

* Add custome cluster name

Signed-off-by: Negash <i@negash.ru>

* Update define stolon.clusterName

Signed-off-by: Negash <i@negash.ru>

* Remove trailing spaces

Signed-off-by: Negash <i@negash.ru>

* Update fix cluster name

Signed-off-by: Negash <i@negash.ru>
2019-06-17 03:56:09 -07:00
Carlos Tadeu Panato Junior aa54ddb716 add apiVersion (#13835)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2019-05-14 22:40:19 -07:00
Taehyun Kim e26b7ee873 [stable/stolon] external secret, auto cluster spec update, pdb (#9739)
* add support for external stolon secret

Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com>

* fix version

Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com>

* fix rbac

Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com>

* fix Chart.yaml

Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com>

* add pdb

Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com>

* update README.md

Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com>

* auto update cluster spec

Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com>

* disable pdb by default

Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com>

* add failKeeper hook

Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com>

* add sentinel pod checksum annotation

Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com>

* remove podDisruptionBudget.enabled

Signed-off-by: Taehyun Kim <kgyoo8232@gmail.com>
2019-01-22 01:54:37 -08:00
Mehran Kholdi 3bb879d020 Fix typo in stolon chart configuration (#8951)
* Fix typo in chart configuration

Signed-off-by: Mehran Kholdi <semekh@hamravesh.com>

* bump version to 1.0.0 since its stable

Signed-off-by: Paul Czarkowski <username.taken@gmail.com>
2018-12-17 11:01:16 -08:00
Alexander Awitin 488720b0f8 [stable/stolon] Add support for mounting custom volumes to the keeper container. (#9189)
* Add support for mounting custom volumes to the keeper container.

Useful for situations like adding custom script files to `docker-entrypoint-initdb.d` directory.

Signed-off-by: Alexander Awitin Jr <alexanderawitin@gmail.com>

* Bump Chart Version.

Signed-off-by: Alexander Awitin Jr <alexanderawitin@gmail.com>
2018-11-17 13:29:31 -08:00
Anton Patsev 68867e13a0 Up version sorintlab/stolon to v0.12.0-pg10, etcd-amd64 to 2.3.7 (#8625)
* Up version sorintlab/stolon to v0.12.0-pg10, etcd-amd64 to 2.3.7

Signed-off-by: Anton Patsev <patsev.anton@gmail.com>

* Up version in Stolon version: 0.4.3, appVersion: 0.12.0

Signed-off-by: Anton Patsev <patsev.anton@gmail.com>
2018-10-23 09:52:31 -07:00
Tommy Kindmark 88513169ac [stable/stolon] Updated README (#7257)
* Updated README 

Since passwords are not autogenerated anymore.

* Update Chart.yaml
2018-09-04 13:22:31 -07:00
AdamDang bd114999c8 [stable/stolon] Typo fix: perisistent->persistent (#6457)
* [stable/stolon] Add version 0.2.3

[stable/stolon] Add version 0.2.3

* [stable/stolon] Typo fix: perisistent->persistent

[stable/stolon] Typo fix: perisistent->persistent
2018-08-14 09:49:38 -07:00
David Wang f09b546b9d [stable/stolon] Add option to force-disable stolon auto-cluster-creation (#6990)
* In some cases, when upgrading an existing stolon installation with
  existing postgres data, the cluster-creation job may trigger
  resulting in the resetting of the postgres db within the
  stolon-keepers.  This happens most notably when upgrading this
  stolon chart in conjunction with the consul/etcd chart, when the
  consul/etcd chart renames PVCs resulting in empty stolon state,
  which in turn triggers auto-cluster-creation which clears all
  postgresdb data.  Adding an optional safety mechanism to prevent
  this from happening.
2018-08-13 13:11:46 -07:00
Ryan Luckie 91cb70f0ab [stable/stolon] Add support for priorityClasses (#6607)
- add support for priorityClasses
2018-07-15 09:40:32 -07:00
Sergey Nuzhdin f858ef41f2 Fix issues in stolon chart, introduced during the migration (#6284)
* Add missing emptyDir volume, required to run with disabled persistence
* Add missing serviceAccountName
* Update Readme
* Bump chart version
2018-06-27 11:34:18 -07:00
Raffael Schmid b8ecad55b7 [stable/stolon] Fix support for storageClassName (#6078)
* [stable/stolon] Fix support for storageClassName

* [stable/stolon] Bump Chart version to 0.1.1
2018-06-17 12:53:29 -07:00
Ryan Luckie 15ec2d2347 [stable/stolon] Fix issue with secret deletion during helm upgrade (#5903)
* Fix issue with secret deletion during helm upgrade

- fix issue with secret deletion during helm update
- add link to inspiration chart
- add lwolf as chart maintainer

* Add port definition to sentinel deployment manifest

- fix for prometheus scraping

* requested changes

* Suggested changes

- remove `"helm.sh/resource-policy": keep` annotation
- require `superuserPassword` and `replicationPassword`

* Requested changes

- make `superuserPassword` and `replicationPassword` values required
- add CI specific values files
- bump to latest tagged image of stolon

* Update values.yaml

* Update Chart.yaml

* Update README.md
2018-06-13 13:18:30 -07:00
Ryan Luckie 75e341de7b [stable/stolon] add stolon chart (#5490)
* [stable/stolon] add stolon chart

* Requested changes from reviewers

- update image.pullPolicy
- update backend to use consul by default
- remove resource specs
- remove unused partials
- update apiVersion
- remove obsolete annotation
- update persistence spec to align with best practices
- fix case in values.yaml

* don't install etcd by default

* Refactor service and port definitions

- refactor service manifests to allow more granular configuration
- update port definitions in values.yaml

* Numerous fixes for issues found during testing

- remove stolon.clusterName partial from _helpers.tpl and change manifests accordingly
- fix create-secrets-job
- refactor labels and selectors in all manifests to align with best practices
- add keeper-headless-service for statefulset

* Changes to fix kubernetes as backend store

- update label.app to support stolon requirements
  - see https://github.com/sorintlab/stolon/commit/38ae6b13b5e161a5bfe0fbe01084ca060eaf2e76#diff-95cdd374e9440fde010ff35d65f8cf3fR54
- add .Values.store.kubeResourceKind
- make kubernetes default store in Values.yaml
- remove subcharts for consul and etcd
- add nodeSelector, affinity and toleration for keeper-statefulset
- clean up values.yaml
- update README to reflect changes

* Requsted changes, cleanup, misc fixes

- update image to latest version of stolon
- remove create-secrets-job and use native secrets w/ {{ if .Release.IsInstall }} to avoid overwriting secrets
- remove unnecessary keeper service
- remove unused template
- cleanup labels and selectors
- add component and stolon-cluster labels to support discovery in latest version of stolon
- add annotations to services, deployment and statefulset
- enable stolon metrics

* Add pgParameters option

- add ability to add postgresql.conf config options
- update create-cluster-job to use new config options
- remove deprecated config options
- update README and values.yaml
- move to master-pg10 image tag

* Requested changes

- revert to use stable stolon image
- add etcdImage to values
- fix indent
- remove initContainer annotation and replace with proper spec
- add component label to selector specs

* Fix resource definitions
2018-05-25 03:20:33 -07:00