Commit Graph
15 Commits
Author SHA1 Message Date
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