* 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>
* [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>
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>
* 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>
* 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>
* 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>
* 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>
* 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.
* [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