Files
deprecated-helm-charts/stable/stolon/values.yaml
T
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

105 lines
2.0 KiB
YAML

image:
repository: sorintlab/stolon
tag: v0.11.0-pg10
pullPolicy: IfNotPresent
# used by create-cluster-job when store.backend is etcd
etcdImage:
repository: k8s.gcr.io/etcd-amd64
tag: 2.2.5
pullPolicy: IfNotPresent
debug: false
persistence:
enabled: true
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
##
storageClassName: ""
accessModes:
- ReadWriteOnce
size: 10Gi
rbac:
create: true
serviceAccount:
create: true
# The name of the ServiceAccount to use. If not set and create is true, a name is generated using the fullname template
name:
superuserUsername: "stolon"
## password for the superuser (REQUIRED)
superuserPassword:
replicationUsername: "repluser"
## password for the replication user (REQUIRED)
replicationPassword:
## backend could be one of the following: consul, etcdv2, etcdv3 or kubernetes
store:
backend: kubernetes
# endpoints: "http://stolon-consul:8500"
kubeResourceKind: configmap
pgParameters: {}
ports:
stolon:
containerPort: 5432
metrics:
containerPort: 8080
job:
autoCreateCluster: true
keeper:
replicaCount: 2
annotations: {}
resources: {}
priorityClassName: ""
service:
type: ClusterIP
annotations: {}
ports:
keeper:
port: 5432
targetPort: 5432
protocol: TCP
nodeSelector: {}
affinity: {}
tolerations: []
proxy:
replicaCount: 2
annotations: {}
resources: {}
priorityClassName: ""
service:
type: ClusterIP
# loadBalancerIP: ""
annotations: {}
ports:
proxy:
port: 5432
targetPort: 5432
protocol: TCP
nodeSelector: {}
affinity: {}
tolerations: []
sentinel:
replicaCount: 2
annotations: {}
resources: {}
priorityClassName: ""
nodeSelector: {}
affinity: {}
tolerations: []