update postgres-operator to v1.7.1
This commit is contained in:
parent
cadb9dea7f
commit
7bce7d7d3e
@ -1,7 +1,7 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
name: postgres-operator
|
name: postgres-operator
|
||||||
version: 1.6.3
|
version: 1.7.1
|
||||||
appVersion: 1.6.3
|
appVersion: 1.7.1
|
||||||
home: https://github.com/zalando/postgres-operator
|
home: https://github.com/zalando/postgres-operator
|
||||||
description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes
|
description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -65,7 +65,7 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
docker_image:
|
docker_image:
|
||||||
type: string
|
type: string
|
||||||
default: "registry.opensource.zalan.do/acid/spilo-13:2.0-p7"
|
default: "registry.opensource.zalan.do/acid/spilo-14:2.1-p3"
|
||||||
enable_crd_validation:
|
enable_crd_validation:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
@ -135,10 +135,10 @@ spec:
|
|||||||
default: "off"
|
default: "off"
|
||||||
minimal_major_version:
|
minimal_major_version:
|
||||||
type: string
|
type: string
|
||||||
default: "9.5"
|
default: "9.6"
|
||||||
target_major_version:
|
target_major_version:
|
||||||
type: string
|
type: string
|
||||||
default: "13"
|
default: "14"
|
||||||
kubernetes:
|
kubernetes:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -173,6 +173,9 @@ spec:
|
|||||||
enable_init_containers:
|
enable_init_containers:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
|
enable_cross_namespace_secret:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
enable_pod_antiaffinity:
|
enable_pod_antiaffinity:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
@ -392,12 +395,14 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
wal_s3_bucket:
|
wal_s3_bucket:
|
||||||
type: string
|
type: string
|
||||||
|
wal_az_storage_account:
|
||||||
|
type: string
|
||||||
logical_backup:
|
logical_backup:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
logical_backup_docker_image:
|
logical_backup_docker_image:
|
||||||
type: string
|
type: string
|
||||||
default: "registry.opensource.zalan.do/acid/logical-backup:v1.6.3"
|
default: "registry.opensource.zalan.do/acid/logical-backup:v1.7.1"
|
||||||
logical_backup_google_application_credentials:
|
logical_backup_google_application_credentials:
|
||||||
type: string
|
type: string
|
||||||
logical_backup_job_prefix:
|
logical_backup_job_prefix:
|
||||||
@ -532,7 +537,7 @@ spec:
|
|||||||
default: "pooler"
|
default: "pooler"
|
||||||
connection_pooler_image:
|
connection_pooler_image:
|
||||||
type: string
|
type: string
|
||||||
default: "registry.opensource.zalan.do/acid/pgbouncer:master-16"
|
default: "registry.opensource.zalan.do/acid/pgbouncer:master-19"
|
||||||
connection_pooler_max_db_connections:
|
connection_pooler_max_db_connections:
|
||||||
type: integer
|
type: integer
|
||||||
default: 60
|
default: 60
|
||||||
|
@ -223,6 +223,97 @@ spec:
|
|||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
pattern: '^\ *((Mon|Tue|Wed|Thu|Fri|Sat|Sun):(2[0-3]|[01]?\d):([0-5]?\d)|(2[0-3]|[01]?\d):([0-5]?\d))-((Mon|Tue|Wed|Thu|Fri|Sat|Sun):(2[0-3]|[01]?\d):([0-5]?\d)|(2[0-3]|[01]?\d):([0-5]?\d))\ *$'
|
pattern: '^\ *((Mon|Tue|Wed|Thu|Fri|Sat|Sun):(2[0-3]|[01]?\d):([0-5]?\d)|(2[0-3]|[01]?\d):([0-5]?\d))-((Mon|Tue|Wed|Thu|Fri|Sat|Sun):(2[0-3]|[01]?\d):([0-5]?\d)|(2[0-3]|[01]?\d):([0-5]?\d))\ *$'
|
||||||
|
nodeAffinity:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- weight
|
||||||
|
- preference
|
||||||
|
properties:
|
||||||
|
preference:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
matchExpressions:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- key
|
||||||
|
- operator
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
type: string
|
||||||
|
operator:
|
||||||
|
type: string
|
||||||
|
values:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
matchFields:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- key
|
||||||
|
- operator
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
type: string
|
||||||
|
operator:
|
||||||
|
type: string
|
||||||
|
values:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
weight:
|
||||||
|
format: int32
|
||||||
|
type: integer
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- nodeSelectorTerms
|
||||||
|
properties:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
matchExpressions:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- key
|
||||||
|
- operator
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
type: string
|
||||||
|
operator:
|
||||||
|
type: string
|
||||||
|
values:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
matchFields:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- key
|
||||||
|
- operator
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
type: string
|
||||||
|
operator:
|
||||||
|
type: string
|
||||||
|
values:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
numberOfInstances:
|
numberOfInstances:
|
||||||
type: integer
|
type: integer
|
||||||
minimum: 0
|
minimum: 0
|
||||||
@ -271,14 +362,13 @@ spec:
|
|||||||
version:
|
version:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
- "9.3"
|
|
||||||
- "9.4"
|
|
||||||
- "9.5"
|
- "9.5"
|
||||||
- "9.6"
|
- "9.6"
|
||||||
- "10"
|
- "10"
|
||||||
- "11"
|
- "11"
|
||||||
- "12"
|
- "12"
|
||||||
- "13"
|
- "13"
|
||||||
|
- "14"
|
||||||
parameters:
|
parameters:
|
||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
@ -303,6 +393,8 @@ spec:
|
|||||||
type: boolean
|
type: boolean
|
||||||
defaultRoles:
|
defaultRoles:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
secretNamespace:
|
||||||
|
type: string
|
||||||
replicaLoadBalancer: # deprecated
|
replicaLoadBalancer: # deprecated
|
||||||
type: boolean
|
type: boolean
|
||||||
resources:
|
resources:
|
||||||
@ -396,97 +488,6 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
caSecretName:
|
caSecretName:
|
||||||
type: string
|
type: string
|
||||||
nodeAffinity:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- weight
|
|
||||||
- preference
|
|
||||||
properties:
|
|
||||||
preference:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
matchExpressions:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
- operator
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
type: string
|
|
||||||
operator:
|
|
||||||
type: string
|
|
||||||
values:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
matchFields:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
- operator
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
type: string
|
|
||||||
operator:
|
|
||||||
type: string
|
|
||||||
values:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
weight:
|
|
||||||
format: int32
|
|
||||||
type: integer
|
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- nodeSelectorTerms
|
|
||||||
properties:
|
|
||||||
nodeSelectorTerms:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
matchExpressions:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
- operator
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
type: string
|
|
||||||
operator:
|
|
||||||
type: string
|
|
||||||
values:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
matchFields:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
- operator
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
type: string
|
|
||||||
operator:
|
|
||||||
type: string
|
|
||||||
values:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
tolerations:
|
tolerations:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
@ -559,6 +560,24 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
iops:
|
iops:
|
||||||
type: integer
|
type: integer
|
||||||
|
selector:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
matchExpressions:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
type: string
|
||||||
|
operator:
|
||||||
|
type: string
|
||||||
|
values:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
matchLabels:
|
||||||
|
type: object
|
||||||
size:
|
size:
|
||||||
type: string
|
type: string
|
||||||
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
|
@ -1,10 +1,55 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
entries:
|
entries:
|
||||||
postgres-operator:
|
postgres-operator:
|
||||||
|
- apiVersion: v1
|
||||||
|
appVersion: 1.7.1
|
||||||
|
created: "2021-11-03T11:43:09.121092027+01:00"
|
||||||
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
|
in Kubernetes
|
||||||
|
digest: 7262563bec0b058e669ae6bcff0226e33fa9ece9c41ac46a53274046afe7700c
|
||||||
|
home: https://github.com/zalando/postgres-operator
|
||||||
|
keywords:
|
||||||
|
- postgres
|
||||||
|
- operator
|
||||||
|
- cloud-native
|
||||||
|
- patroni
|
||||||
|
- spilo
|
||||||
|
maintainers:
|
||||||
|
- email: opensource@zalando.de
|
||||||
|
name: Zalando
|
||||||
|
name: postgres-operator
|
||||||
|
sources:
|
||||||
|
- https://github.com/zalando/postgres-operator
|
||||||
|
urls:
|
||||||
|
- postgres-operator-1.7.1.tgz
|
||||||
|
version: 1.7.1
|
||||||
|
- apiVersion: v1
|
||||||
|
appVersion: 1.7.0
|
||||||
|
created: "2021-11-03T11:43:09.119630978+01:00"
|
||||||
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
|
in Kubernetes
|
||||||
|
digest: c3e99fb94305f81484b8b1af18eefb78681f3b5d057d5ad10565e4afb7c65ffe
|
||||||
|
home: https://github.com/zalando/postgres-operator
|
||||||
|
keywords:
|
||||||
|
- postgres
|
||||||
|
- operator
|
||||||
|
- cloud-native
|
||||||
|
- patroni
|
||||||
|
- spilo
|
||||||
|
maintainers:
|
||||||
|
- email: opensource@zalando.de
|
||||||
|
name: Zalando
|
||||||
|
name: postgres-operator
|
||||||
|
sources:
|
||||||
|
- https://github.com/zalando/postgres-operator
|
||||||
|
urls:
|
||||||
|
- postgres-operator-1.7.0.tgz
|
||||||
|
version: 1.7.0
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
appVersion: 1.6.3
|
appVersion: 1.6.3
|
||||||
created: "2021-05-27T19:04:25.199523943+02:00"
|
created: "2021-11-03T11:43:09.118146221+01:00"
|
||||||
description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
|
in Kubernetes
|
||||||
digest: ea08f991bf23c9ad114bca98ebcbe3e2fa15beab163061399394905eaee89b35
|
digest: ea08f991bf23c9ad114bca98ebcbe3e2fa15beab163061399394905eaee89b35
|
||||||
home: https://github.com/zalando/postgres-operator
|
home: https://github.com/zalando/postgres-operator
|
||||||
keywords:
|
keywords:
|
||||||
@ -24,8 +69,9 @@ entries:
|
|||||||
version: 1.6.3
|
version: 1.6.3
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
appVersion: 1.6.2
|
appVersion: 1.6.2
|
||||||
created: "2021-05-27T19:04:25.198182197+02:00"
|
created: "2021-11-03T11:43:09.115637274+01:00"
|
||||||
description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
|
in Kubernetes
|
||||||
digest: d886f8a0879ca07d1e5246ee7bc55710e1c872f3977280fe495db6fc2057a7f4
|
digest: d886f8a0879ca07d1e5246ee7bc55710e1c872f3977280fe495db6fc2057a7f4
|
||||||
home: https://github.com/zalando/postgres-operator
|
home: https://github.com/zalando/postgres-operator
|
||||||
keywords:
|
keywords:
|
||||||
@ -45,8 +91,9 @@ entries:
|
|||||||
version: 1.6.2
|
version: 1.6.2
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
appVersion: 1.6.1
|
appVersion: 1.6.1
|
||||||
created: "2021-05-27T19:04:25.19687586+02:00"
|
created: "2021-11-03T11:43:09.114107417+01:00"
|
||||||
description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
|
in Kubernetes
|
||||||
digest: 4ba5972cd486dcaa2d11c5613a6f97f6b7b831822e610fe9e10a57ea1db23556
|
digest: 4ba5972cd486dcaa2d11c5613a6f97f6b7b831822e610fe9e10a57ea1db23556
|
||||||
home: https://github.com/zalando/postgres-operator
|
home: https://github.com/zalando/postgres-operator
|
||||||
keywords:
|
keywords:
|
||||||
@ -66,8 +113,9 @@ entries:
|
|||||||
version: 1.6.1
|
version: 1.6.1
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
appVersion: 1.6.0
|
appVersion: 1.6.0
|
||||||
created: "2021-05-27T19:04:25.195600766+02:00"
|
created: "2021-11-03T11:43:09.112550808+01:00"
|
||||||
description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
|
in Kubernetes
|
||||||
digest: f52149718ea364f46b4b9eec9a65f6253ad182bb78df541d14cd5277b9c8a8c3
|
digest: f52149718ea364f46b4b9eec9a65f6253ad182bb78df541d14cd5277b9c8a8c3
|
||||||
home: https://github.com/zalando/postgres-operator
|
home: https://github.com/zalando/postgres-operator
|
||||||
keywords:
|
keywords:
|
||||||
@ -87,8 +135,9 @@ entries:
|
|||||||
version: 1.6.0
|
version: 1.6.0
|
||||||
- apiVersion: v1
|
- apiVersion: v1
|
||||||
appVersion: 1.5.0
|
appVersion: 1.5.0
|
||||||
created: "2021-05-27T19:04:25.193985032+02:00"
|
created: "2021-11-03T11:43:09.110907395+01:00"
|
||||||
description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
|
in Kubernetes
|
||||||
digest: 198351d5db52e65cdf383d6f3e1745d91ac1e2a01121f8476f8b1be728b09531
|
digest: 198351d5db52e65cdf383d6f3e1745d91ac1e2a01121f8476f8b1be728b09531
|
||||||
home: https://github.com/zalando/postgres-operator
|
home: https://github.com/zalando/postgres-operator
|
||||||
keywords:
|
keywords:
|
||||||
@ -106,4 +155,4 @@ entries:
|
|||||||
urls:
|
urls:
|
||||||
- postgres-operator-1.5.0.tgz
|
- postgres-operator-1.5.0.tgz
|
||||||
version: 1.5.0
|
version: 1.5.0
|
||||||
generated: "2021-05-27T19:04:25.191897769+02:00"
|
generated: "2021-11-03T11:43:09.109237601+01:00"
|
||||||
|
@ -51,3 +51,22 @@ Create chart name and version as used by the chart label.
|
|||||||
{{- define "postgres-operator.chart" -}}
|
{{- define "postgres-operator.chart" -}}
|
||||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Flatten nested config options when ConfigMap is used as ConfigTarget
|
||||||
|
*/}}
|
||||||
|
{{- define "flattenValuesForConfigMap" }}
|
||||||
|
{{- range $key, $value := . }}
|
||||||
|
{{- if kindIs "slice" $value }}
|
||||||
|
{{ $key }}: {{ join "," $value | quote }}
|
||||||
|
{{- else if kindIs "map" $value }}
|
||||||
|
{{- $list := list }}
|
||||||
|
{{- range $subKey, $subValue := $value }}
|
||||||
|
{{- $list = append $list (printf "%s:%s" $subKey $subValue) }}
|
||||||
|
{{ $key }}: {{ join "," $list | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- else }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
@ -3,6 +3,7 @@ apiVersion: v1
|
|||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "postgres-operator.fullname" . }}
|
name: {{ template "postgres-operator.fullname" . }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ template "postgres-operator.name" . }}
|
app.kubernetes.io/name: {{ template "postgres-operator.name" . }}
|
||||||
helm.sh/chart: {{ template "postgres-operator.chart" . }}
|
helm.sh/chart: {{ template "postgres-operator.chart" . }}
|
||||||
@ -13,16 +14,16 @@ data:
|
|||||||
pod_priority_class_name: {{ .Values.podPriorityClassName }}
|
pod_priority_class_name: {{ .Values.podPriorityClassName }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
pod_service_account_name: {{ include "postgres-pod.serviceAccountName" . }}
|
pod_service_account_name: {{ include "postgres-pod.serviceAccountName" . }}
|
||||||
{{ toYaml .Values.configGeneral | indent 2 }}
|
{{- include "flattenValuesForConfigMap" .Values.configGeneral | indent 2 }}
|
||||||
{{ toYaml .Values.configUsers | indent 2 }}
|
{{- include "flattenValuesForConfigMap" .Values.configUsers | indent 2 }}
|
||||||
{{ toYaml .Values.configMajorVersionUpgrade | indent 2 }}
|
{{- include "flattenValuesForConfigMap" .Values.configMajorVersionUpgrade | indent 2 }}
|
||||||
{{ toYaml .Values.configKubernetes | indent 2 }}
|
{{- include "flattenValuesForConfigMap" .Values.configKubernetes | indent 2 }}
|
||||||
{{ toYaml .Values.configTimeouts | indent 2 }}
|
{{- include "flattenValuesForConfigMap" .Values.configTimeouts | indent 2 }}
|
||||||
{{ toYaml .Values.configLoadBalancer | indent 2 }}
|
{{- include "flattenValuesForConfigMap" .Values.configLoadBalancer | indent 2 }}
|
||||||
{{ toYaml .Values.configAwsOrGcp | indent 2 }}
|
{{- include "flattenValuesForConfigMap" .Values.configAwsOrGcp | indent 2 }}
|
||||||
{{ toYaml .Values.configLogicalBackup | indent 2 }}
|
{{- include "flattenValuesForConfigMap" .Values.configLogicalBackup | indent 2 }}
|
||||||
{{ toYaml .Values.configDebug | indent 2 }}
|
{{- include "flattenValuesForConfigMap" .Values.configDebug | indent 2 }}
|
||||||
{{ toYaml .Values.configLoggingRestApi | indent 2 }}
|
{{- include "flattenValuesForConfigMap" .Values.configLoggingRestApi | indent 2 }}
|
||||||
{{ toYaml .Values.configTeamsApi | indent 2 }}
|
{{- include "flattenValuesForConfigMap" .Values.configTeamsApi | indent 2 }}
|
||||||
{{ toYaml .Values.configConnectionPooler | indent 2 }}
|
{{- include "flattenValuesForConfigMap" .Values.configConnectionPooler | indent 2 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -7,6 +7,7 @@ metadata:
|
|||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
name: {{ template "postgres-operator.fullname" . }}
|
name: {{ template "postgres-operator.fullname" . }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
|
@ -3,6 +3,7 @@ apiVersion: "acid.zalan.do/v1"
|
|||||||
kind: OperatorConfiguration
|
kind: OperatorConfiguration
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "postgres-operator.fullname" . }}
|
name: {{ template "postgres-operator.fullname" . }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ template "postgres-operator.name" . }}
|
app.kubernetes.io/name: {{ template "postgres-operator.name" . }}
|
||||||
helm.sh/chart: {{ template "postgres-operator.chart" . }}
|
helm.sh/chart: {{ template "postgres-operator.chart" . }}
|
||||||
|
@ -9,6 +9,7 @@ metadata:
|
|||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
name: {{ .Values.podPriorityClassName }}
|
name: {{ .Values.podPriorityClassName }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
preemptionPolicy: PreemptLowerPriority
|
preemptionPolicy: PreemptLowerPriority
|
||||||
globalDefault: false
|
globalDefault: false
|
||||||
value: 1000000
|
value: 1000000
|
||||||
|
@ -7,6 +7,7 @@ metadata:
|
|||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
name: {{ template "postgres-operator.fullname" . }}
|
name: {{ template "postgres-operator.fullname" . }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
ports:
|
ports:
|
||||||
|
@ -3,6 +3,7 @@ apiVersion: v1
|
|||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "postgres-operator.serviceAccountName" . }}
|
name: {{ include "postgres-operator.serviceAccountName" . }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ template "postgres-operator.name" . }}
|
app.kubernetes.io/name: {{ template "postgres-operator.name" . }}
|
||||||
helm.sh/chart: {{ template "postgres-operator.chart" . }}
|
helm.sh/chart: {{ template "postgres-operator.chart" . }}
|
||||||
|
@ -1,403 +0,0 @@
|
|||||||
image:
|
|
||||||
registry: registry.opensource.zalan.do
|
|
||||||
repository: acid/postgres-operator
|
|
||||||
tag: v1.6.3
|
|
||||||
pullPolicy: "IfNotPresent"
|
|
||||||
|
|
||||||
# Optionally specify an array of imagePullSecrets.
|
|
||||||
# Secrets must be manually created in the namespace.
|
|
||||||
# ref: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
|
|
||||||
# imagePullSecrets:
|
|
||||||
# - name: myRegistryKeySecretName
|
|
||||||
|
|
||||||
podAnnotations: {}
|
|
||||||
podLabels: {}
|
|
||||||
|
|
||||||
configTarget: "OperatorConfigurationCRD"
|
|
||||||
|
|
||||||
# general top-level configuration parameters
|
|
||||||
configGeneral:
|
|
||||||
# choose if deployment creates/updates CRDs with OpenAPIV3Validation
|
|
||||||
enable_crd_validation: true
|
|
||||||
# update only the statefulsets without immediately doing the rolling update
|
|
||||||
enable_lazy_spilo_upgrade: false
|
|
||||||
# set the PGVERSION env var instead of providing the version via postgresql.bin_dir in SPILO_CONFIGURATION
|
|
||||||
enable_pgversion_env_var: true
|
|
||||||
# start any new database pod without limitations on shm memory
|
|
||||||
enable_shm_volume: true
|
|
||||||
# enables backwards compatible path between Spilo 12 and Spilo 13 images
|
|
||||||
enable_spilo_wal_path_compat: false
|
|
||||||
# etcd connection string for Patroni. Empty uses K8s-native DCS.
|
|
||||||
etcd_host: ""
|
|
||||||
# Select if setup uses endpoints (default), or configmaps to manage leader (DCS=k8s)
|
|
||||||
# kubernetes_use_configmaps: false
|
|
||||||
# Spilo docker image
|
|
||||||
docker_image: registry.opensource.zalan.do/acid/spilo-13:2.0-p7
|
|
||||||
# min number of instances in Postgres cluster. -1 = no limit
|
|
||||||
min_instances: -1
|
|
||||||
# max number of instances in Postgres cluster. -1 = no limit
|
|
||||||
max_instances: -1
|
|
||||||
# period between consecutive repair requests
|
|
||||||
repair_period: 5m
|
|
||||||
# period between consecutive sync requests
|
|
||||||
resync_period: 30m
|
|
||||||
# can prevent certain cases of memory overcommitment
|
|
||||||
# set_memory_request_to_limit: false
|
|
||||||
|
|
||||||
# map of sidecar names to docker images
|
|
||||||
# sidecar_docker_images
|
|
||||||
# example: "exampleimage:exampletag"
|
|
||||||
|
|
||||||
# number of routines the operator spawns to process requests concurrently
|
|
||||||
workers: 8
|
|
||||||
|
|
||||||
# parameters describing Postgres users
|
|
||||||
configUsers:
|
|
||||||
# postgres username used for replication between instances
|
|
||||||
replication_username: standby
|
|
||||||
# postgres superuser name to be created by initdb
|
|
||||||
super_username: postgres
|
|
||||||
|
|
||||||
configMajorVersionUpgrade:
|
|
||||||
# "off": no upgrade, "manual": manifest triggers action, "full": minimal version violation triggers too
|
|
||||||
major_version_upgrade_mode: "off"
|
|
||||||
# minimal Postgres major version that will not automatically be upgraded
|
|
||||||
minimal_major_version: "9.5"
|
|
||||||
# target Postgres major version when upgrading clusters automatically
|
|
||||||
target_major_version: "13"
|
|
||||||
|
|
||||||
configKubernetes:
|
|
||||||
# list of additional capabilities for postgres container
|
|
||||||
# additional_pod_capabilities:
|
|
||||||
# - "SYS_NICE"
|
|
||||||
|
|
||||||
# default DNS domain of K8s cluster where operator is running
|
|
||||||
cluster_domain: cluster.local
|
|
||||||
# additional labels assigned to the cluster objects
|
|
||||||
cluster_labels:
|
|
||||||
application: spilo
|
|
||||||
# label assigned to Kubernetes objects created by the operator
|
|
||||||
cluster_name_label: cluster-name
|
|
||||||
# additional annotations to add to every database pod
|
|
||||||
# custom_pod_annotations:
|
|
||||||
# keya: valuea
|
|
||||||
# keyb: valueb
|
|
||||||
|
|
||||||
# key name for annotation that compares manifest value with current date
|
|
||||||
# delete_annotation_date_key: "delete-date"
|
|
||||||
|
|
||||||
# key name for annotation that compares manifest value with cluster name
|
|
||||||
# delete_annotation_name_key: "delete-clustername"
|
|
||||||
|
|
||||||
# list of annotations propagated from cluster manifest to statefulset and deployment
|
|
||||||
# downscaler_annotations:
|
|
||||||
# - deployment-time
|
|
||||||
# - downscaler/*
|
|
||||||
|
|
||||||
# enables initContainers to run actions before Spilo is started
|
|
||||||
enable_init_containers: true
|
|
||||||
# toggles pod anti affinity on the Postgres pods
|
|
||||||
enable_pod_antiaffinity: false
|
|
||||||
# toggles PDB to set to MinAvailabe 0 or 1
|
|
||||||
enable_pod_disruption_budget: true
|
|
||||||
# enables sidecar containers to run alongside Spilo in the same pod
|
|
||||||
enable_sidecars: true
|
|
||||||
# namespaced name of the secret containing infrastructure roles names and passwords
|
|
||||||
# infrastructure_roles_secret_name: postgresql-infrastructure-roles
|
|
||||||
|
|
||||||
# list of annotation keys that can be inherited from the cluster manifest
|
|
||||||
# inherited_annotations:
|
|
||||||
# - owned-by
|
|
||||||
|
|
||||||
# list of label keys that can be inherited from the cluster manifest
|
|
||||||
# inherited_labels:
|
|
||||||
# - application
|
|
||||||
# - environment
|
|
||||||
|
|
||||||
# timeout for successful migration of master pods from unschedulable node
|
|
||||||
# master_pod_move_timeout: 20m
|
|
||||||
|
|
||||||
# set of labels that a running and active node should possess to be considered ready
|
|
||||||
# node_readiness_label:
|
|
||||||
# status: ready
|
|
||||||
|
|
||||||
# namespaced name of the secret containing the OAuth2 token to pass to the teams API
|
|
||||||
# oauth_token_secret_name: postgresql-operator
|
|
||||||
|
|
||||||
# defines the template for PDB (Pod Disruption Budget) names
|
|
||||||
pdb_name_format: "postgres-{cluster}-pdb"
|
|
||||||
# override topology key for pod anti affinity
|
|
||||||
pod_antiaffinity_topology_key: "kubernetes.io/hostname"
|
|
||||||
# namespaced name of the ConfigMap with environment variables to populate on every pod
|
|
||||||
# pod_environment_configmap: "default/my-custom-config"
|
|
||||||
# name of the Secret (in cluster namespace) with environment variables to populate on every pod
|
|
||||||
# pod_environment_secret: "my-custom-secret"
|
|
||||||
|
|
||||||
# specify the pod management policy of stateful sets of Postgres clusters
|
|
||||||
pod_management_policy: "ordered_ready"
|
|
||||||
# label assigned to the Postgres pods (and services/endpoints)
|
|
||||||
pod_role_label: spilo-role
|
|
||||||
# service account definition as JSON/YAML string to be used by postgres cluster pods
|
|
||||||
# pod_service_account_definition: ""
|
|
||||||
|
|
||||||
# role binding definition as JSON/YAML string to be used by pod service account
|
|
||||||
# pod_service_account_role_binding_definition: ""
|
|
||||||
|
|
||||||
# Postgres pods are terminated forcefully after this timeout
|
|
||||||
pod_terminate_grace_period: 5m
|
|
||||||
# template for database user secrets generated by the operator
|
|
||||||
secret_name_template: "{username}.{cluster}.credentials.{tprkind}.{tprgroup}"
|
|
||||||
# set user and group for the spilo container (required to run Spilo as non-root process)
|
|
||||||
# spilo_runasuser: "101"
|
|
||||||
# spilo_runasgroup: "103"
|
|
||||||
# group ID with write-access to volumes (required to run Spilo as non-root process)
|
|
||||||
# spilo_fsgroup: 103
|
|
||||||
|
|
||||||
# whether the Spilo container should run in privileged mode
|
|
||||||
spilo_privileged: false
|
|
||||||
# whether the Spilo container should run with additional permissions other than parent.
|
|
||||||
# required by cron which needs setuid
|
|
||||||
spilo_allow_privilege_escalation: true
|
|
||||||
# storage resize strategy, available options are: ebs, pvc, off
|
|
||||||
storage_resize_mode: pvc
|
|
||||||
# operator watches for postgres objects in the given namespace
|
|
||||||
watched_namespace: "*" # listen to all namespaces
|
|
||||||
|
|
||||||
# configure resource requests for the Postgres pods
|
|
||||||
configPostgresPodResources:
|
|
||||||
# CPU limits for the postgres containers
|
|
||||||
default_cpu_limit: "1"
|
|
||||||
# CPU request value for the postgres containers
|
|
||||||
default_cpu_request: 100m
|
|
||||||
# memory limits for the postgres containers
|
|
||||||
default_memory_limit: 500Mi
|
|
||||||
# memory request value for the postgres containers
|
|
||||||
default_memory_request: 100Mi
|
|
||||||
# hard CPU minimum required to properly run a Postgres cluster
|
|
||||||
min_cpu_limit: 250m
|
|
||||||
# hard memory minimum required to properly run a Postgres cluster
|
|
||||||
min_memory_limit: 250Mi
|
|
||||||
|
|
||||||
# timeouts related to some operator actions
|
|
||||||
configTimeouts:
|
|
||||||
# timeout when waiting for the Postgres pods to be deleted
|
|
||||||
pod_deletion_wait_timeout: 10m
|
|
||||||
# timeout when waiting for pod role and cluster labels
|
|
||||||
pod_label_wait_timeout: 10m
|
|
||||||
# interval between consecutive attempts waiting for postgresql CRD to be created
|
|
||||||
ready_wait_interval: 3s
|
|
||||||
# timeout for the complete postgres CRD creation
|
|
||||||
ready_wait_timeout: 30s
|
|
||||||
# interval to wait between consecutive attempts to check for some K8s resources
|
|
||||||
resource_check_interval: 3s
|
|
||||||
# timeout when waiting for the presence of a certain K8s resource (e.g. Sts, PDB)
|
|
||||||
resource_check_timeout: 10m
|
|
||||||
|
|
||||||
# configure behavior of load balancers
|
|
||||||
configLoadBalancer:
|
|
||||||
# DNS zone for cluster DNS name when load balancer is configured for cluster
|
|
||||||
db_hosted_zone: db.example.com
|
|
||||||
# annotations to apply to service when load balancing is enabled
|
|
||||||
# custom_service_annotations:
|
|
||||||
# keyx: valuez
|
|
||||||
# keya: valuea
|
|
||||||
|
|
||||||
# toggles service type load balancer pointing to the master pod of the cluster
|
|
||||||
enable_master_load_balancer: false
|
|
||||||
# toggles service type load balancer pointing to the replica pod of the cluster
|
|
||||||
enable_replica_load_balancer: false
|
|
||||||
# define external traffic policy for the load balancer
|
|
||||||
external_traffic_policy: "Cluster"
|
|
||||||
# defines the DNS name string template for the master load balancer cluster
|
|
||||||
master_dns_name_format: "{cluster}.{team}.{hostedzone}"
|
|
||||||
# defines the DNS name string template for the replica load balancer cluster
|
|
||||||
replica_dns_name_format: "{cluster}-repl.{team}.{hostedzone}"
|
|
||||||
|
|
||||||
# options to aid debugging of the operator itself
|
|
||||||
configDebug:
|
|
||||||
# toggles verbose debug logs from the operator
|
|
||||||
debug_logging: true
|
|
||||||
# toggles operator functionality that require access to the postgres database
|
|
||||||
enable_database_access: true
|
|
||||||
|
|
||||||
# parameters affecting logging and REST API listener
|
|
||||||
configLoggingRestApi:
|
|
||||||
# REST API listener listens to this port
|
|
||||||
api_port: 8080
|
|
||||||
# number of entries in the cluster history ring buffer
|
|
||||||
cluster_history_entries: 1000
|
|
||||||
# number of lines in the ring buffer used to store cluster logs
|
|
||||||
ring_log_lines: 100
|
|
||||||
|
|
||||||
# configure interaction with non-Kubernetes objects from AWS or GCP
|
|
||||||
configAwsOrGcp:
|
|
||||||
# Additional Secret (aws or gcp credentials) to mount in the pod
|
|
||||||
# additional_secret_mount: "some-secret-name"
|
|
||||||
|
|
||||||
# Path to mount the above Secret in the filesystem of the container(s)
|
|
||||||
# additional_secret_mount_path: "/some/dir"
|
|
||||||
|
|
||||||
# AWS region used to store ESB volumes
|
|
||||||
aws_region: eu-central-1
|
|
||||||
|
|
||||||
# enable automatic migration on AWS from gp2 to gp3 volumes
|
|
||||||
enable_ebs_gp3_migration: false
|
|
||||||
# defines maximum volume size in GB until which auto migration happens
|
|
||||||
# enable_ebs_gp3_migration_max_size: 1000
|
|
||||||
|
|
||||||
# GCP credentials that will be used by the operator / pods
|
|
||||||
# gcp_credentials: ""
|
|
||||||
|
|
||||||
# AWS IAM role to supply in the iam.amazonaws.com/role annotation of Postgres pods
|
|
||||||
# kube_iam_role: ""
|
|
||||||
|
|
||||||
# S3 bucket to use for shipping postgres daily logs
|
|
||||||
# log_s3_bucket: ""
|
|
||||||
|
|
||||||
# GCS bucket to use for shipping WAL segments with WAL-E
|
|
||||||
# wal_gs_bucket: ""
|
|
||||||
|
|
||||||
# S3 bucket to use for shipping WAL segments with WAL-E
|
|
||||||
# wal_s3_bucket: ""
|
|
||||||
|
|
||||||
# configure K8s cron job managed by the operator
|
|
||||||
configLogicalBackup:
|
|
||||||
# image for pods of the logical backup job (example runs pg_dumpall)
|
|
||||||
logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.6.3"
|
|
||||||
# path of google cloud service account json file
|
|
||||||
# logical_backup_google_application_credentials: ""
|
|
||||||
|
|
||||||
# prefix for the backup job name
|
|
||||||
logical_backup_job_prefix: "logical-backup-"
|
|
||||||
# storage provider - either "s3" or "gcs"
|
|
||||||
logical_backup_provider: "s3"
|
|
||||||
# S3 Access Key ID
|
|
||||||
logical_backup_s3_access_key_id: ""
|
|
||||||
# S3 bucket to store backup results
|
|
||||||
logical_backup_s3_bucket: "my-bucket-url"
|
|
||||||
# S3 region of bucket
|
|
||||||
logical_backup_s3_region: ""
|
|
||||||
# S3 endpoint url when not using AWS
|
|
||||||
logical_backup_s3_endpoint: ""
|
|
||||||
# S3 Secret Access Key
|
|
||||||
logical_backup_s3_secret_access_key: ""
|
|
||||||
# S3 server side encryption
|
|
||||||
logical_backup_s3_sse: "AES256"
|
|
||||||
# backup schedule in the cron format
|
|
||||||
logical_backup_schedule: "30 00 * * *"
|
|
||||||
|
|
||||||
# automate creation of human users with teams API service
|
|
||||||
configTeamsApi:
|
|
||||||
# team_admin_role will have the rights to grant roles coming from PG manifests
|
|
||||||
enable_admin_role_for_users: true
|
|
||||||
# operator watches for PostgresTeam CRs to assign additional teams and members to clusters
|
|
||||||
enable_postgres_team_crd: false
|
|
||||||
# toogle to create additional superuser teams from PostgresTeam CRs
|
|
||||||
enable_postgres_team_crd_superusers: false
|
|
||||||
# toggle to automatically rename roles of former team members and deny LOGIN
|
|
||||||
enable_team_member_deprecation: false
|
|
||||||
# toggle to grant superuser to team members created from the Teams API
|
|
||||||
enable_team_superuser: false
|
|
||||||
# toggles usage of the Teams API by the operator
|
|
||||||
enable_teams_api: false
|
|
||||||
# should contain a URL to use for authentication (username and token)
|
|
||||||
# pam_configuration: ""
|
|
||||||
|
|
||||||
# operator will add all team member roles to this group and add a pg_hba line
|
|
||||||
pam_role_name: zalandos
|
|
||||||
# List of teams which members need the superuser role in each Postgres cluster
|
|
||||||
postgres_superuser_teams:
|
|
||||||
- postgres_superusers
|
|
||||||
# List of roles that cannot be overwritten by an application, team or infrastructure role
|
|
||||||
protected_role_names:
|
|
||||||
- admin
|
|
||||||
# Suffix to add if members are removed from TeamsAPI or PostgresTeam CRD
|
|
||||||
role_deletion_suffix: "_deleted"
|
|
||||||
# role name to grant to team members created from the Teams API
|
|
||||||
team_admin_role: admin
|
|
||||||
# postgres config parameters to apply to each team member role
|
|
||||||
team_api_role_configuration:
|
|
||||||
log_statement: all
|
|
||||||
# URL of the Teams API service
|
|
||||||
# teams_api_url: http://fake-teams-api.default.svc.cluster.local
|
|
||||||
|
|
||||||
configConnectionPooler:
|
|
||||||
# db schema to install lookup function into
|
|
||||||
connection_pooler_schema: "pooler"
|
|
||||||
# db user for pooler to use
|
|
||||||
connection_pooler_user: "pooler"
|
|
||||||
# docker image
|
|
||||||
connection_pooler_image: "registry.opensource.zalan.do/acid/pgbouncer:master-16"
|
|
||||||
# max db connections the pooler should hold
|
|
||||||
connection_pooler_max_db_connections: 60
|
|
||||||
# default pooling mode
|
|
||||||
connection_pooler_mode: "transaction"
|
|
||||||
# number of pooler instances
|
|
||||||
connection_pooler_number_of_instances: 2
|
|
||||||
# default resources
|
|
||||||
connection_pooler_default_cpu_request: 500m
|
|
||||||
connection_pooler_default_memory_request: 100Mi
|
|
||||||
connection_pooler_default_cpu_limit: "1"
|
|
||||||
connection_pooler_default_memory_limit: 100Mi
|
|
||||||
|
|
||||||
rbac:
|
|
||||||
# Specifies whether RBAC resources should be created
|
|
||||||
create: true
|
|
||||||
|
|
||||||
crd:
|
|
||||||
# Specifies whether custom resource definitions should be created
|
|
||||||
# When using helm3, this is ignored; instead use "--skip-crds" to skip.
|
|
||||||
create: true
|
|
||||||
|
|
||||||
serviceAccount:
|
|
||||||
# Specifies whether a ServiceAccount should be created
|
|
||||||
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:
|
|
||||||
|
|
||||||
podServiceAccount:
|
|
||||||
# The name of the ServiceAccount to be used by postgres cluster pods
|
|
||||||
# If not set a name is generated using the fullname template and "-pod" suffix
|
|
||||||
name: "postgres-pod"
|
|
||||||
|
|
||||||
# priority class for operator pod
|
|
||||||
priorityClassName: ""
|
|
||||||
|
|
||||||
# priority class for database pods
|
|
||||||
podPriorityClassName: ""
|
|
||||||
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
cpu: 500m
|
|
||||||
memory: 500Mi
|
|
||||||
requests:
|
|
||||||
cpu: 100m
|
|
||||||
memory: 250Mi
|
|
||||||
|
|
||||||
securityContext:
|
|
||||||
runAsUser: 1000
|
|
||||||
runAsNonRoot: true
|
|
||||||
readOnlyRootFilesystem: true
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
|
|
||||||
# Affinity for pod assignment
|
|
||||||
# Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
|
||||||
affinity: {}
|
|
||||||
|
|
||||||
# Node labels for pod assignment
|
|
||||||
# Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
|
||||||
nodeSelector: {}
|
|
||||||
|
|
||||||
# Tolerations for pod assignment
|
|
||||||
# Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
|
||||||
tolerations: []
|
|
||||||
|
|
||||||
controllerID:
|
|
||||||
# Specifies whether a controller ID should be defined for the operator
|
|
||||||
# Note, all postgres manifest must then contain the following annotation to be found by this operator
|
|
||||||
# "acid.zalan.do/controller": <controller-ID-of-the-operator>
|
|
||||||
create: false
|
|
||||||
# The name of the controller ID to use.
|
|
||||||
# If not set and create is true, a name is generated using the fullname template
|
|
||||||
name:
|
|
@ -1,19 +1,19 @@
|
|||||||
image:
|
image:
|
||||||
registry: registry.opensource.zalan.do
|
registry: registry.opensource.zalan.do
|
||||||
repository: acid/postgres-operator
|
repository: acid/postgres-operator
|
||||||
tag: v1.6.3
|
tag: v1.7.1
|
||||||
pullPolicy: "IfNotPresent"
|
pullPolicy: "IfNotPresent"
|
||||||
|
|
||||||
# Optionally specify an array of imagePullSecrets.
|
# Optionally specify an array of imagePullSecrets.
|
||||||
# Secrets must be manually created in the namespace.
|
# Secrets must be manually created in the namespace.
|
||||||
# ref: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
|
# ref: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
|
||||||
# imagePullSecrets:
|
# imagePullSecrets:
|
||||||
# - name: myRegistryKeySecretName
|
# - name: myRegistryKeySecretName
|
||||||
|
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
podLabels: {}
|
podLabels: {}
|
||||||
|
|
||||||
configTarget: "ConfigMap"
|
configTarget: "OperatorConfigurationCRD"
|
||||||
|
|
||||||
# JSON logging format
|
# JSON logging format
|
||||||
enableJsonLogging: false
|
enableJsonLogging: false
|
||||||
@ -21,37 +21,38 @@ enableJsonLogging: false
|
|||||||
# general configuration parameters
|
# general configuration parameters
|
||||||
configGeneral:
|
configGeneral:
|
||||||
# choose if deployment creates/updates CRDs with OpenAPIV3Validation
|
# choose if deployment creates/updates CRDs with OpenAPIV3Validation
|
||||||
enable_crd_validation: "true"
|
enable_crd_validation: true
|
||||||
# update only the statefulsets without immediately doing the rolling update
|
# update only the statefulsets without immediately doing the rolling update
|
||||||
enable_lazy_spilo_upgrade: "false"
|
enable_lazy_spilo_upgrade: false
|
||||||
# set the PGVERSION env var instead of providing the version via postgresql.bin_dir in SPILO_CONFIGURATION
|
# set the PGVERSION env var instead of providing the version via postgresql.bin_dir in SPILO_CONFIGURATION
|
||||||
enable_pgversion_env_var: "true"
|
enable_pgversion_env_var: true
|
||||||
# start any new database pod without limitations on shm memory
|
# start any new database pod without limitations on shm memory
|
||||||
enable_shm_volume: "true"
|
enable_shm_volume: true
|
||||||
# enables backwards compatible path between Spilo 12 and Spilo 13 images
|
# enables backwards compatible path between Spilo 12 and Spilo 13+ images
|
||||||
enable_spilo_wal_path_compat: "false"
|
enable_spilo_wal_path_compat: false
|
||||||
# etcd connection string for Patroni. Empty uses K8s-native DCS.
|
# etcd connection string for Patroni. Empty uses K8s-native DCS.
|
||||||
etcd_host: ""
|
etcd_host: ""
|
||||||
# Select if setup uses endpoints (default), or configmaps to manage leader (DCS=k8s)
|
# Select if setup uses endpoints (default), or configmaps to manage leader (DCS=k8s)
|
||||||
# kubernetes_use_configmaps: "false"
|
# kubernetes_use_configmaps: false
|
||||||
# Spilo docker image
|
# Spilo docker image
|
||||||
docker_image: registry.opensource.zalan.do/acid/spilo-13:2.0-p7
|
docker_image: registry.opensource.zalan.do/acid/spilo-14:2.1-p3
|
||||||
# min number of instances in Postgres cluster. -1 = no limit
|
# min number of instances in Postgres cluster. -1 = no limit
|
||||||
min_instances: "-1"
|
min_instances: -1
|
||||||
# max number of instances in Postgres cluster. -1 = no limit
|
# max number of instances in Postgres cluster. -1 = no limit
|
||||||
max_instances: "-1"
|
max_instances: -1
|
||||||
# period between consecutive repair requests
|
# period between consecutive repair requests
|
||||||
repair_period: 5m
|
repair_period: 5m
|
||||||
# period between consecutive sync requests
|
# period between consecutive sync requests
|
||||||
resync_period: 30m
|
resync_period: 30m
|
||||||
# can prevent certain cases of memory overcommitment
|
# can prevent certain cases of memory overcommitment
|
||||||
# set_memory_request_to_limit: "false"
|
# set_memory_request_to_limit: false
|
||||||
|
|
||||||
# map of sidecar names to docker images
|
# map of sidecar names to docker images
|
||||||
# sidecar_docker_images: ""
|
# sidecar_docker_images:
|
||||||
|
# example: "exampleimage:exampletag"
|
||||||
|
|
||||||
# number of routines the operator spawns to process requests concurrently
|
# number of routines the operator spawns to process requests concurrently
|
||||||
workers: "8"
|
workers: 8
|
||||||
|
|
||||||
# parameters describing Postgres users
|
# parameters describing Postgres users
|
||||||
configUsers:
|
configUsers:
|
||||||
@ -64,22 +65,26 @@ configMajorVersionUpgrade:
|
|||||||
# "off": no upgrade, "manual": manifest triggers action, "full": minimal version violation triggers too
|
# "off": no upgrade, "manual": manifest triggers action, "full": minimal version violation triggers too
|
||||||
major_version_upgrade_mode: "off"
|
major_version_upgrade_mode: "off"
|
||||||
# minimal Postgres major version that will not automatically be upgraded
|
# minimal Postgres major version that will not automatically be upgraded
|
||||||
minimal_major_version: "9.5"
|
minimal_major_version: "9.6"
|
||||||
# target Postgres major version when upgrading clusters automatically
|
# target Postgres major version when upgrading clusters automatically
|
||||||
target_major_version: "13"
|
target_major_version: "14"
|
||||||
|
|
||||||
configKubernetes:
|
configKubernetes:
|
||||||
# list of additional capabilities for postgres container
|
# list of additional capabilities for postgres container
|
||||||
# additional_pod_capabilities: "SYS_NICE"
|
# additional_pod_capabilities:
|
||||||
|
# - "SYS_NICE"
|
||||||
|
|
||||||
# default DNS domain of K8s cluster where operator is running
|
# default DNS domain of K8s cluster where operator is running
|
||||||
cluster_domain: cluster.local
|
cluster_domain: cluster.local
|
||||||
# additional labels assigned to the cluster objects
|
# additional labels assigned to the cluster objects
|
||||||
cluster_labels: application:spilo
|
cluster_labels:
|
||||||
|
application: spilo
|
||||||
# label assigned to Kubernetes objects created by the operator
|
# label assigned to Kubernetes objects created by the operator
|
||||||
cluster_name_label: cluster-name
|
cluster_name_label: cluster-name
|
||||||
# annotations attached to each database pod
|
# additional annotations to add to every database pod
|
||||||
# custom_pod_annotations: "keya:valuea,keyb:valueb"
|
# custom_pod_annotations:
|
||||||
|
# keya: valuea
|
||||||
|
# keyb: valueb
|
||||||
|
|
||||||
# key name for annotation that compares manifest value with current date
|
# key name for annotation that compares manifest value with current date
|
||||||
# delete_annotation_date_key: "delete-date"
|
# delete_annotation_date_key: "delete-date"
|
||||||
@ -88,30 +93,38 @@ configKubernetes:
|
|||||||
# delete_annotation_name_key: "delete-clustername"
|
# delete_annotation_name_key: "delete-clustername"
|
||||||
|
|
||||||
# list of annotations propagated from cluster manifest to statefulset and deployment
|
# list of annotations propagated from cluster manifest to statefulset and deployment
|
||||||
# downscaler_annotations: "deployment-time,downscaler/*"
|
# downscaler_annotations:
|
||||||
|
# - deployment-time
|
||||||
|
# - downscaler/*
|
||||||
|
|
||||||
|
# allow user secrets in other namespaces than the Postgres cluster
|
||||||
|
enable_cross_namespace_secret: false
|
||||||
# enables initContainers to run actions before Spilo is started
|
# enables initContainers to run actions before Spilo is started
|
||||||
enable_init_containers: "true"
|
enable_init_containers: true
|
||||||
# toggles pod anti affinity on the Postgres pods
|
# toggles pod anti affinity on the Postgres pods
|
||||||
enable_pod_antiaffinity: "false"
|
enable_pod_antiaffinity: false
|
||||||
# toggles PDB to set to MinAvailabe 0 or 1
|
# toggles PDB to set to MinAvailabe 0 or 1
|
||||||
enable_pod_disruption_budget: "true"
|
enable_pod_disruption_budget: true
|
||||||
# enables sidecar containers to run alongside Spilo in the same pod
|
# enables sidecar containers to run alongside Spilo in the same pod
|
||||||
enable_sidecars: "true"
|
enable_sidecars: true
|
||||||
# namespaced name of the secret containing infrastructure roles names and passwords
|
# namespaced name of the secret containing infrastructure roles names and passwords
|
||||||
# infrastructure_roles_secret_name: postgresql-infrastructure-roles
|
# infrastructure_roles_secret_name: postgresql-infrastructure-roles
|
||||||
|
|
||||||
# list of annotation keys that can be inherited from the cluster manifest
|
# list of annotation keys that can be inherited from the cluster manifest
|
||||||
# inherited_annotations: owned-by
|
# inherited_annotations:
|
||||||
|
# - owned-by
|
||||||
|
|
||||||
# list of label keys that can be inherited from the cluster manifest
|
# list of label keys that can be inherited from the cluster manifest
|
||||||
# inherited_labels: application,environment
|
# inherited_labels:
|
||||||
|
# - application
|
||||||
|
# - environment
|
||||||
|
|
||||||
# timeout for successful migration of master pods from unschedulable node
|
# timeout for successful migration of master pods from unschedulable node
|
||||||
# master_pod_move_timeout: 20m
|
# master_pod_move_timeout: 20m
|
||||||
|
|
||||||
# set of labels that a running and active node should possess to be considered ready
|
# set of labels that a running and active node should possess to be considered ready
|
||||||
# node_readiness_label: ""
|
# node_readiness_label:
|
||||||
|
# status: ready
|
||||||
|
|
||||||
# namespaced name of the secret containing the OAuth2 token to pass to the teams API
|
# namespaced name of the secret containing the OAuth2 token to pass to the teams API
|
||||||
# oauth_token_secret_name: postgresql-operator
|
# oauth_token_secret_name: postgresql-operator
|
||||||
@ -137,21 +150,30 @@ configKubernetes:
|
|||||||
|
|
||||||
# Postgres pods are terminated forcefully after this timeout
|
# Postgres pods are terminated forcefully after this timeout
|
||||||
pod_terminate_grace_period: 5m
|
pod_terminate_grace_period: 5m
|
||||||
# template for database user secrets generated by the operator
|
# template for database user secrets generated by the operator,
|
||||||
|
# here username contains the namespace in the format namespace.username
|
||||||
|
# if the user is in different namespace than cluster and cross namespace secrets
|
||||||
|
# are enabled via `enable_cross_namespace_secret` flag in the configuration.
|
||||||
secret_name_template: "{username}.{cluster}.credentials.{tprkind}.{tprgroup}"
|
secret_name_template: "{username}.{cluster}.credentials.{tprkind}.{tprgroup}"
|
||||||
# set user and group for the spilo container (required to run Spilo as non-root process)
|
# set user and group for the spilo container (required to run Spilo as non-root process)
|
||||||
# spilo_runasuser: "101"
|
# spilo_runasuser: 101
|
||||||
# spilo_runasgroup: "103"
|
# spilo_runasgroup: 103
|
||||||
# group ID with write-access to volumes (required to run Spilo as non-root process)
|
# group ID with write-access to volumes (required to run Spilo as non-root process)
|
||||||
# spilo_fsgroup: "103"
|
# spilo_fsgroup: 103
|
||||||
|
|
||||||
# whether the Spilo container should run in privileged mode
|
# whether the Spilo container should run in privileged mode
|
||||||
spilo_privileged: "false"
|
spilo_privileged: false
|
||||||
# whether the Spilo container should run with additional permissions other than parent.
|
# whether the Spilo container should run with additional permissions other than parent.
|
||||||
# required by cron which needs setuid
|
# required by cron which needs setuid
|
||||||
spilo_allow_privilege_escalation: "true"
|
spilo_allow_privilege_escalation: true
|
||||||
# storage resize strategy, available options are: ebs, pvc, off
|
# storage resize strategy, available options are: ebs, pvc, off
|
||||||
storage_resize_mode: pvc
|
storage_resize_mode: pvc
|
||||||
|
# pod toleration assigned to instances of every Postgres cluster
|
||||||
|
# toleration:
|
||||||
|
# key: db-only
|
||||||
|
# operator: Exists
|
||||||
|
# effect: NoSchedule
|
||||||
|
|
||||||
# operator watches for postgres objects in the given namespace
|
# operator watches for postgres objects in the given namespace
|
||||||
watched_namespace: "*" # listen to all namespaces
|
watched_namespace: "*" # listen to all namespaces
|
||||||
|
|
||||||
@ -190,34 +212,36 @@ configLoadBalancer:
|
|||||||
# DNS zone for cluster DNS name when load balancer is configured for cluster
|
# DNS zone for cluster DNS name when load balancer is configured for cluster
|
||||||
db_hosted_zone: db.example.com
|
db_hosted_zone: db.example.com
|
||||||
# annotations to apply to service when load balancing is enabled
|
# annotations to apply to service when load balancing is enabled
|
||||||
# custom_service_annotations: "keyx:valuez,keya:valuea"
|
# custom_service_annotations:
|
||||||
|
# keyx: valuez
|
||||||
|
# keya: valuea
|
||||||
|
|
||||||
# toggles service type load balancer pointing to the master pod of the cluster
|
# toggles service type load balancer pointing to the master pod of the cluster
|
||||||
enable_master_load_balancer: "false"
|
enable_master_load_balancer: false
|
||||||
# toggles service type load balancer pointing to the replica pod of the cluster
|
# toggles service type load balancer pointing to the replica pod of the cluster
|
||||||
enable_replica_load_balancer: "false"
|
enable_replica_load_balancer: false
|
||||||
# define external traffic policy for the load balancer
|
# define external traffic policy for the load balancer
|
||||||
external_traffic_policy: "Cluster"
|
external_traffic_policy: "Cluster"
|
||||||
# defines the DNS name string template for the master load balancer cluster
|
# defines the DNS name string template for the master load balancer cluster
|
||||||
master_dns_name_format: '{cluster}.{team}.{hostedzone}'
|
master_dns_name_format: "{cluster}.{team}.{hostedzone}"
|
||||||
# defines the DNS name string template for the replica load balancer cluster
|
# defines the DNS name string template for the replica load balancer cluster
|
||||||
replica_dns_name_format: '{cluster}-repl.{team}.{hostedzone}'
|
replica_dns_name_format: "{cluster}-repl.{team}.{hostedzone}"
|
||||||
|
|
||||||
# options to aid debugging of the operator itself
|
# options to aid debugging of the operator itself
|
||||||
configDebug:
|
configDebug:
|
||||||
# toggles verbose debug logs from the operator
|
# toggles verbose debug logs from the operator
|
||||||
debug_logging: "true"
|
debug_logging: true
|
||||||
# toggles operator functionality that require access to the postgres database
|
# toggles operator functionality that require access to the postgres database
|
||||||
enable_database_access: "true"
|
enable_database_access: true
|
||||||
|
|
||||||
# parameters affecting logging and REST API listener
|
# parameters affecting logging and REST API listener
|
||||||
configLoggingRestApi:
|
configLoggingRestApi:
|
||||||
# REST API listener listens to this port
|
# REST API listener listens to this port
|
||||||
api_port: "8080"
|
api_port: 8080
|
||||||
# number of entries in the cluster history ring buffer
|
# number of entries in the cluster history ring buffer
|
||||||
cluster_history_entries: "1000"
|
cluster_history_entries: 1000
|
||||||
# number of lines in the ring buffer used to store cluster logs
|
# number of lines in the ring buffer used to store cluster logs
|
||||||
ring_log_lines: "100"
|
ring_log_lines: 100
|
||||||
|
|
||||||
# configure interaction with non-Kubernetes objects from AWS or GCP
|
# configure interaction with non-Kubernetes objects from AWS or GCP
|
||||||
configAwsOrGcp:
|
configAwsOrGcp:
|
||||||
@ -231,11 +255,11 @@ configAwsOrGcp:
|
|||||||
aws_region: eu-central-1
|
aws_region: eu-central-1
|
||||||
|
|
||||||
# enable automatic migration on AWS from gp2 to gp3 volumes
|
# enable automatic migration on AWS from gp2 to gp3 volumes
|
||||||
enable_ebs_gp3_migration: "false"
|
enable_ebs_gp3_migration: false
|
||||||
# defines maximum volume size in GB until which auto migration happens
|
# defines maximum volume size in GB until which auto migration happens
|
||||||
# enable_ebs_gp3_migration_max_size: "1000"
|
# enable_ebs_gp3_migration_max_size: 1000
|
||||||
|
|
||||||
# GCP credentials for setting the GOOGLE_APPLICATION_CREDNETIALS environment variable
|
# GCP credentials that will be used by the operator / pods
|
||||||
# gcp_credentials: ""
|
# gcp_credentials: ""
|
||||||
|
|
||||||
# AWS IAM role to supply in the iam.amazonaws.com/role annotation of Postgres pods
|
# AWS IAM role to supply in the iam.amazonaws.com/role annotation of Postgres pods
|
||||||
@ -250,10 +274,13 @@ configAwsOrGcp:
|
|||||||
# GCS bucket to use for shipping WAL segments with WAL-E
|
# GCS bucket to use for shipping WAL segments with WAL-E
|
||||||
# wal_gs_bucket: ""
|
# wal_gs_bucket: ""
|
||||||
|
|
||||||
|
# Azure Storage Account to use for shipping WAL segments with WAL-G
|
||||||
|
# wal_az_storage_account: ""
|
||||||
|
|
||||||
# configure K8s cron job managed by the operator
|
# configure K8s cron job managed by the operator
|
||||||
configLogicalBackup:
|
configLogicalBackup:
|
||||||
# image for pods of the logical backup job (example runs pg_dumpall)
|
# image for pods of the logical backup job (example runs pg_dumpall)
|
||||||
logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.6.3"
|
logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.7.1"
|
||||||
# path of google cloud service account json file
|
# path of google cloud service account json file
|
||||||
# logical_backup_google_application_credentials: ""
|
# logical_backup_google_application_credentials: ""
|
||||||
|
|
||||||
@ -265,10 +292,10 @@ configLogicalBackup:
|
|||||||
logical_backup_s3_access_key_id: ""
|
logical_backup_s3_access_key_id: ""
|
||||||
# S3 bucket to store backup results
|
# S3 bucket to store backup results
|
||||||
logical_backup_s3_bucket: "my-bucket-url"
|
logical_backup_s3_bucket: "my-bucket-url"
|
||||||
# S3 endpoint url when not using AWS
|
|
||||||
logical_backup_s3_endpoint: ""
|
|
||||||
# S3 region of bucket
|
# S3 region of bucket
|
||||||
logical_backup_s3_region: ""
|
logical_backup_s3_region: ""
|
||||||
|
# S3 endpoint url when not using AWS
|
||||||
|
logical_backup_s3_endpoint: ""
|
||||||
# S3 Secret Access Key
|
# S3 Secret Access Key
|
||||||
logical_backup_s3_secret_access_key: ""
|
logical_backup_s3_secret_access_key: ""
|
||||||
# S3 server side encryption
|
# S3 server side encryption
|
||||||
@ -276,36 +303,38 @@ configLogicalBackup:
|
|||||||
# backup schedule in the cron format
|
# backup schedule in the cron format
|
||||||
logical_backup_schedule: "30 00 * * *"
|
logical_backup_schedule: "30 00 * * *"
|
||||||
|
|
||||||
|
|
||||||
# automate creation of human users with teams API service
|
# automate creation of human users with teams API service
|
||||||
configTeamsApi:
|
configTeamsApi:
|
||||||
# team_admin_role will have the rights to grant roles coming from PG manifests
|
# team_admin_role will have the rights to grant roles coming from PG manifests
|
||||||
enable_admin_role_for_users: "true"
|
enable_admin_role_for_users: true
|
||||||
# operator watches for PostgresTeam CRs to assign additional teams and members to clusters
|
# operator watches for PostgresTeam CRs to assign additional teams and members to clusters
|
||||||
enable_postgres_team_crd: "false"
|
enable_postgres_team_crd: false
|
||||||
# toogle to create additional superuser teams from PostgresTeam CRs
|
# toogle to create additional superuser teams from PostgresTeam CRs
|
||||||
enable_postgres_team_crd_superusers: "false"
|
enable_postgres_team_crd_superusers: false
|
||||||
# toggle to automatically rename roles of former team members and deny LOGIN
|
# toggle to automatically rename roles of former team members and deny LOGIN
|
||||||
enable_team_member_deprecation: "false"
|
enable_team_member_deprecation: false
|
||||||
# toggle to grant superuser to team members created from the Teams API
|
# toggle to grant superuser to team members created from the Teams API
|
||||||
enable_team_superuser: "false"
|
enable_team_superuser: false
|
||||||
# toggles usage of the Teams API by the operator
|
# toggles usage of the Teams API by the operator
|
||||||
enable_teams_api: "false"
|
enable_teams_api: false
|
||||||
# should contain a URL to use for authentication (username and token)
|
# should contain a URL to use for authentication (username and token)
|
||||||
# pam_configuration: https://info.example.com/oauth2/tokeninfo?access_token= uid realm=/employees
|
# pam_configuration: https://info.example.com/oauth2/tokeninfo?access_token= uid realm=/employees
|
||||||
|
|
||||||
# operator will add all team member roles to this group and add a pg_hba line
|
# operator will add all team member roles to this group and add a pg_hba line
|
||||||
pam_role_name: "zalandos"
|
pam_role_name: zalandos
|
||||||
# List of teams which members need the superuser role in each Postgres cluster
|
# List of teams which members need the superuser role in each Postgres cluster
|
||||||
postgres_superuser_teams: "postgres_superusers"
|
postgres_superuser_teams:
|
||||||
|
- postgres_superusers
|
||||||
# List of roles that cannot be overwritten by an application, team or infrastructure role
|
# List of roles that cannot be overwritten by an application, team or infrastructure role
|
||||||
protected_role_names: "admin"
|
protected_role_names:
|
||||||
|
- admin
|
||||||
# Suffix to add if members are removed from TeamsAPI or PostgresTeam CRD
|
# Suffix to add if members are removed from TeamsAPI or PostgresTeam CRD
|
||||||
role_deletion_suffix: "_deleted"
|
role_deletion_suffix: "_deleted"
|
||||||
# role name to grant to team members created from the Teams API
|
# role name to grant to team members created from the Teams API
|
||||||
team_admin_role: "admin"
|
team_admin_role: admin
|
||||||
# postgres config parameters to apply to each team member role
|
# postgres config parameters to apply to each team member role
|
||||||
team_api_role_configuration: "log_statement:all"
|
team_api_role_configuration:
|
||||||
|
log_statement: all
|
||||||
# URL of the Teams API service
|
# URL of the Teams API service
|
||||||
# teams_api_url: http://fake-teams-api.default.svc.cluster.local
|
# teams_api_url: http://fake-teams-api.default.svc.cluster.local
|
||||||
|
|
||||||
@ -316,13 +345,13 @@ configConnectionPooler:
|
|||||||
# db user for pooler to use
|
# db user for pooler to use
|
||||||
connection_pooler_user: "pooler"
|
connection_pooler_user: "pooler"
|
||||||
# docker image
|
# docker image
|
||||||
connection_pooler_image: "registry.opensource.zalan.do/acid/pgbouncer:master-16"
|
connection_pooler_image: "registry.opensource.zalan.do/acid/pgbouncer:master-19"
|
||||||
# max db connections the pooler should hold
|
# max db connections the pooler should hold
|
||||||
connection_pooler_max_db_connections: "60"
|
connection_pooler_max_db_connections: 60
|
||||||
# default pooling mode
|
# default pooling mode
|
||||||
connection_pooler_mode: "transaction"
|
connection_pooler_mode: "transaction"
|
||||||
# number of pooler instances
|
# number of pooler instances
|
||||||
connection_pooler_number_of_instances: "2"
|
connection_pooler_number_of_instances: 2
|
||||||
# default resources
|
# default resources
|
||||||
connection_pooler_default_cpu_request: 500m
|
connection_pooler_default_cpu_request: 500m
|
||||||
connection_pooler_default_memory_request: 100Mi
|
connection_pooler_default_memory_request: 100Mi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user