mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* 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>
135 lines
2.7 KiB
YAML
135 lines
2.7 KiB
YAML
# clusterName:
|
|
image:
|
|
repository: sorintlab/stolon
|
|
tag: v0.13.0-pg10
|
|
pullPolicy: IfNotPresent
|
|
|
|
# used by create-cluster-job when store.backend is etcd
|
|
etcdImage:
|
|
repository: k8s.gcr.io/etcd-amd64
|
|
tag: 2.3.7
|
|
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:
|
|
|
|
superuserSecret:
|
|
name: ""
|
|
usernameKey: pg_su_username
|
|
passwordKey: pg_su_password
|
|
|
|
replicationSecret:
|
|
name: ""
|
|
usernameKey: pg_repl_username
|
|
passwordKey: pg_repl_password
|
|
|
|
superuserUsername: "stolon"
|
|
## password for the superuser (REQUIRED if superuserSecret is not set)
|
|
superuserPassword:
|
|
|
|
replicationUsername: "repluser"
|
|
## password for the replication user (REQUIRED if replicationSecret is not set)
|
|
replicationPassword:
|
|
|
|
## backend could be one of the following: consul, etcdv2, etcdv3 or kubernetes
|
|
store:
|
|
backend: kubernetes
|
|
# endpoints: "http://stolon-consul:8500"
|
|
kubeResourceKind: configmap
|
|
|
|
pgParameters: {}
|
|
# maxConnections: 1000
|
|
|
|
ports:
|
|
stolon:
|
|
containerPort: 5432
|
|
metrics:
|
|
containerPort: 8080
|
|
|
|
job:
|
|
autoCreateCluster: true
|
|
autoUpdateClusterSpec: true
|
|
|
|
clusterSpec: {}
|
|
# sleepInterval: 1s
|
|
# maxStandbys: 5
|
|
|
|
keeper:
|
|
uid_prefix: "keeper"
|
|
replicaCount: 2
|
|
annotations: {}
|
|
resources: {}
|
|
priorityClassName: ""
|
|
service:
|
|
type: ClusterIP
|
|
annotations: {}
|
|
ports:
|
|
keeper:
|
|
port: 5432
|
|
targetPort: 5432
|
|
protocol: TCP
|
|
nodeSelector: {}
|
|
affinity: {}
|
|
tolerations: []
|
|
volumes: []
|
|
volumeMounts: []
|
|
hooks:
|
|
failKeeper:
|
|
enabled: false
|
|
podDisruptionBudget:
|
|
# minAvailable: 1
|
|
# maxUnavailable: 1
|
|
|
|
proxy:
|
|
replicaCount: 2
|
|
annotations: {}
|
|
resources: {}
|
|
priorityClassName: ""
|
|
service:
|
|
type: ClusterIP
|
|
# loadBalancerIP: ""
|
|
annotations: {}
|
|
ports:
|
|
proxy:
|
|
port: 5432
|
|
targetPort: 5432
|
|
protocol: TCP
|
|
nodeSelector: {}
|
|
affinity: {}
|
|
tolerations: []
|
|
podDisruptionBudget:
|
|
# minAvailable: 1
|
|
# maxUnavailable: 1
|
|
|
|
sentinel:
|
|
replicaCount: 2
|
|
annotations: {}
|
|
resources: {}
|
|
priorityClassName: ""
|
|
nodeSelector: {}
|
|
affinity: {}
|
|
tolerations: []
|
|
podDisruptionBudget:
|
|
# minAvailable: 1
|
|
# maxUnavailable: 1
|