Bump postgres-operator version
This commit is contained in:
parent
4aa0d1c917
commit
7c4b7e43fb
21
postgres-operator-1.10.1/.helmignore
Normal file
21
postgres-operator-1.10.1/.helmignore
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Patterns to ignore when building packages.
|
||||||
|
# This supports shell glob matching, relative path matching, and
|
||||||
|
# negation (prefixed with !). Only one pattern per line.
|
||||||
|
.DS_Store
|
||||||
|
# Common VCS dirs
|
||||||
|
.git/
|
||||||
|
.gitignore
|
||||||
|
.bzr/
|
||||||
|
.bzrignore
|
||||||
|
.hg/
|
||||||
|
.hgignore
|
||||||
|
.svn/
|
||||||
|
# Common backup files
|
||||||
|
*.swp
|
||||||
|
*.bak
|
||||||
|
*.tmp
|
||||||
|
*~
|
||||||
|
# Various IDEs
|
||||||
|
.project
|
||||||
|
.idea/
|
||||||
|
*.tmproj
|
||||||
18
postgres-operator-1.10.1/Chart.yaml
Normal file
18
postgres-operator-1.10.1/Chart.yaml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
appVersion: 1.10.1
|
||||||
|
description: Postgres Operator creates and manages PostgreSQL clusters running in
|
||||||
|
Kubernetes
|
||||||
|
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
|
||||||
|
version: 1.10.1
|
||||||
679
postgres-operator-1.10.1/crds/operatorconfigurations.yaml
Normal file
679
postgres-operator-1.10.1/crds/operatorconfigurations.yaml
Normal file
@ -0,0 +1,679 @@
|
|||||||
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
name: operatorconfigurations.acid.zalan.do
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: postgres-operator
|
||||||
|
spec:
|
||||||
|
group: acid.zalan.do
|
||||||
|
names:
|
||||||
|
kind: OperatorConfiguration
|
||||||
|
listKind: OperatorConfigurationList
|
||||||
|
plural: operatorconfigurations
|
||||||
|
singular: operatorconfiguration
|
||||||
|
shortNames:
|
||||||
|
- opconfig
|
||||||
|
categories:
|
||||||
|
- all
|
||||||
|
scope: Namespaced
|
||||||
|
versions:
|
||||||
|
- name: v1
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
additionalPrinterColumns:
|
||||||
|
- name: Image
|
||||||
|
type: string
|
||||||
|
description: Spilo image to be used for Pods
|
||||||
|
jsonPath: .configuration.docker_image
|
||||||
|
- name: Cluster-Label
|
||||||
|
type: string
|
||||||
|
description: Label for K8s resources created by operator
|
||||||
|
jsonPath: .configuration.kubernetes.cluster_name_label
|
||||||
|
- name: Service-Account
|
||||||
|
type: string
|
||||||
|
description: Name of service account to be used
|
||||||
|
jsonPath: .configuration.kubernetes.pod_service_account_name
|
||||||
|
- name: Min-Instances
|
||||||
|
type: integer
|
||||||
|
description: Minimum number of instances per Postgres cluster
|
||||||
|
jsonPath: .configuration.min_instances
|
||||||
|
- name: Age
|
||||||
|
type: date
|
||||||
|
jsonPath: .metadata.creationTimestamp
|
||||||
|
schema:
|
||||||
|
openAPIV3Schema:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- kind
|
||||||
|
- apiVersion
|
||||||
|
- configuration
|
||||||
|
properties:
|
||||||
|
kind:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- OperatorConfiguration
|
||||||
|
apiVersion:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- acid.zalan.do/v1
|
||||||
|
configuration:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
crd_categories:
|
||||||
|
type: array
|
||||||
|
nullable: true
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
docker_image:
|
||||||
|
type: string
|
||||||
|
default: "ghcr.io/zalando/spilo-15:3.0-p1"
|
||||||
|
enable_crd_registration:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
enable_crd_validation:
|
||||||
|
type: boolean
|
||||||
|
description: deprecated
|
||||||
|
default: true
|
||||||
|
enable_lazy_spilo_upgrade:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
enable_pgversion_env_var:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
enable_shm_volume:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
enable_spilo_wal_path_compat:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
enable_team_id_clustername_prefix:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
etcd_host:
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
|
ignore_instance_limits_annotation_key:
|
||||||
|
type: string
|
||||||
|
kubernetes_use_configmaps:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
max_instances:
|
||||||
|
type: integer
|
||||||
|
description: "-1 = disabled"
|
||||||
|
minimum: -1
|
||||||
|
default: -1
|
||||||
|
min_instances:
|
||||||
|
type: integer
|
||||||
|
description: "-1 = disabled"
|
||||||
|
minimum: -1
|
||||||
|
default: -1
|
||||||
|
resync_period:
|
||||||
|
type: string
|
||||||
|
default: "30m"
|
||||||
|
repair_period:
|
||||||
|
type: string
|
||||||
|
default: "5m"
|
||||||
|
set_memory_request_to_limit:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
sidecar_docker_images:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
sidecars:
|
||||||
|
type: array
|
||||||
|
nullable: true
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
workers:
|
||||||
|
type: integer
|
||||||
|
minimum: 1
|
||||||
|
default: 8
|
||||||
|
users:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
additional_owner_roles:
|
||||||
|
type: array
|
||||||
|
nullable: true
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
enable_password_rotation:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
password_rotation_interval:
|
||||||
|
type: integer
|
||||||
|
default: 90
|
||||||
|
password_rotation_user_retention:
|
||||||
|
type: integer
|
||||||
|
default: 180
|
||||||
|
replication_username:
|
||||||
|
type: string
|
||||||
|
default: standby
|
||||||
|
super_username:
|
||||||
|
type: string
|
||||||
|
default: postgres
|
||||||
|
major_version_upgrade:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
major_version_upgrade_mode:
|
||||||
|
type: string
|
||||||
|
default: "off"
|
||||||
|
major_version_upgrade_team_allow_list:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
minimal_major_version:
|
||||||
|
type: string
|
||||||
|
default: "11"
|
||||||
|
target_major_version:
|
||||||
|
type: string
|
||||||
|
default: "15"
|
||||||
|
kubernetes:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
additional_pod_capabilities:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
cluster_domain:
|
||||||
|
type: string
|
||||||
|
default: "cluster.local"
|
||||||
|
cluster_labels:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
default:
|
||||||
|
application: spilo
|
||||||
|
cluster_name_label:
|
||||||
|
type: string
|
||||||
|
default: "cluster-name"
|
||||||
|
custom_pod_annotations:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
delete_annotation_date_key:
|
||||||
|
type: string
|
||||||
|
delete_annotation_name_key:
|
||||||
|
type: string
|
||||||
|
downscaler_annotations:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
enable_cross_namespace_secret:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
enable_init_containers:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
enable_pod_antiaffinity:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
enable_pod_disruption_budget:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
enable_readiness_probe:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
enable_sidecars:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
ignored_annotations:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
infrastructure_roles_secret_name:
|
||||||
|
type: string
|
||||||
|
infrastructure_roles_secrets:
|
||||||
|
type: array
|
||||||
|
nullable: true
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- secretname
|
||||||
|
- userkey
|
||||||
|
- passwordkey
|
||||||
|
properties:
|
||||||
|
secretname:
|
||||||
|
type: string
|
||||||
|
userkey:
|
||||||
|
type: string
|
||||||
|
passwordkey:
|
||||||
|
type: string
|
||||||
|
rolekey:
|
||||||
|
type: string
|
||||||
|
defaultuservalue:
|
||||||
|
type: string
|
||||||
|
defaultrolevalue:
|
||||||
|
type: string
|
||||||
|
details:
|
||||||
|
type: string
|
||||||
|
template:
|
||||||
|
type: boolean
|
||||||
|
inherited_annotations:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
inherited_labels:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
master_pod_move_timeout:
|
||||||
|
type: string
|
||||||
|
default: "20m"
|
||||||
|
node_readiness_label:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
node_readiness_label_merge:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- "AND"
|
||||||
|
- "OR"
|
||||||
|
oauth_token_secret_name:
|
||||||
|
type: string
|
||||||
|
default: "postgresql-operator"
|
||||||
|
pdb_name_format:
|
||||||
|
type: string
|
||||||
|
default: "postgres-{cluster}-pdb"
|
||||||
|
pod_antiaffinity_preferred_during_scheduling:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
pod_antiaffinity_topology_key:
|
||||||
|
type: string
|
||||||
|
default: "kubernetes.io/hostname"
|
||||||
|
pod_environment_configmap:
|
||||||
|
type: string
|
||||||
|
pod_environment_secret:
|
||||||
|
type: string
|
||||||
|
pod_management_policy:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- "ordered_ready"
|
||||||
|
- "parallel"
|
||||||
|
default: "ordered_ready"
|
||||||
|
pod_priority_class_name:
|
||||||
|
type: string
|
||||||
|
pod_role_label:
|
||||||
|
type: string
|
||||||
|
default: "spilo-role"
|
||||||
|
pod_service_account_definition:
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
|
pod_service_account_name:
|
||||||
|
type: string
|
||||||
|
default: "postgres-pod"
|
||||||
|
pod_service_account_role_binding_definition:
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
|
pod_terminate_grace_period:
|
||||||
|
type: string
|
||||||
|
default: "5m"
|
||||||
|
secret_name_template:
|
||||||
|
type: string
|
||||||
|
default: "{username}.{cluster}.credentials.{tprkind}.{tprgroup}"
|
||||||
|
share_pgsocket_with_sidecars:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
spilo_allow_privilege_escalation:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
spilo_runasuser:
|
||||||
|
type: integer
|
||||||
|
spilo_runasgroup:
|
||||||
|
type: integer
|
||||||
|
spilo_fsgroup:
|
||||||
|
type: integer
|
||||||
|
spilo_privileged:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
storage_resize_mode:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- "ebs"
|
||||||
|
- "mixed"
|
||||||
|
- "pvc"
|
||||||
|
- "off"
|
||||||
|
default: "pvc"
|
||||||
|
toleration:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
watched_namespace:
|
||||||
|
type: string
|
||||||
|
postgres_pod_resources:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
default_cpu_limit:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
||||||
|
default: "1"
|
||||||
|
default_cpu_request:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
||||||
|
default: "100m"
|
||||||
|
default_memory_limit:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
|
default: "500Mi"
|
||||||
|
default_memory_request:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
|
default: "100Mi"
|
||||||
|
max_cpu_request:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
||||||
|
max_memory_request:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
|
min_cpu_limit:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
||||||
|
default: "250m"
|
||||||
|
min_memory_limit:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
|
default: "250Mi"
|
||||||
|
timeouts:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
patroni_api_check_interval:
|
||||||
|
type: string
|
||||||
|
default: "1s"
|
||||||
|
patroni_api_check_timeout:
|
||||||
|
type: string
|
||||||
|
default: "5s"
|
||||||
|
pod_label_wait_timeout:
|
||||||
|
type: string
|
||||||
|
default: "10m"
|
||||||
|
pod_deletion_wait_timeout:
|
||||||
|
type: string
|
||||||
|
default: "10m"
|
||||||
|
ready_wait_interval:
|
||||||
|
type: string
|
||||||
|
default: "4s"
|
||||||
|
ready_wait_timeout:
|
||||||
|
type: string
|
||||||
|
default: "30s"
|
||||||
|
resource_check_interval:
|
||||||
|
type: string
|
||||||
|
default: "3s"
|
||||||
|
resource_check_timeout:
|
||||||
|
type: string
|
||||||
|
default: "10m"
|
||||||
|
load_balancer:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
custom_service_annotations:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
db_hosted_zone:
|
||||||
|
type: string
|
||||||
|
default: "db.example.com"
|
||||||
|
enable_master_load_balancer:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
enable_master_pooler_load_balancer:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
enable_replica_load_balancer:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
enable_replica_pooler_load_balancer:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
external_traffic_policy:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- "Cluster"
|
||||||
|
- "Local"
|
||||||
|
default: "Cluster"
|
||||||
|
master_dns_name_format:
|
||||||
|
type: string
|
||||||
|
default: "{cluster}.{namespace}.{hostedzone}"
|
||||||
|
master_legacy_dns_name_format:
|
||||||
|
type: string
|
||||||
|
default: "{cluster}.{team}.{hostedzone}"
|
||||||
|
replica_dns_name_format:
|
||||||
|
type: string
|
||||||
|
default: "{cluster}-repl.{namespace}.{hostedzone}"
|
||||||
|
replica_legacy_dns_name_format:
|
||||||
|
type: string
|
||||||
|
default: "{cluster}-repl.{team}.{hostedzone}"
|
||||||
|
aws_or_gcp:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
additional_secret_mount:
|
||||||
|
type: string
|
||||||
|
additional_secret_mount_path:
|
||||||
|
type: string
|
||||||
|
default: "/meta/credentials"
|
||||||
|
aws_region:
|
||||||
|
type: string
|
||||||
|
default: "eu-central-1"
|
||||||
|
enable_ebs_gp3_migration:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
enable_ebs_gp3_migration_max_size:
|
||||||
|
type: integer
|
||||||
|
default: 1000
|
||||||
|
gcp_credentials:
|
||||||
|
type: string
|
||||||
|
kube_iam_role:
|
||||||
|
type: string
|
||||||
|
log_s3_bucket:
|
||||||
|
type: string
|
||||||
|
wal_az_storage_account:
|
||||||
|
type: string
|
||||||
|
wal_gs_bucket:
|
||||||
|
type: string
|
||||||
|
wal_s3_bucket:
|
||||||
|
type: string
|
||||||
|
logical_backup:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
logical_backup_azure_storage_account_name:
|
||||||
|
type: string
|
||||||
|
logical_backup_azure_storage_container:
|
||||||
|
type: string
|
||||||
|
logical_backup_azure_storage_account_key:
|
||||||
|
type: string
|
||||||
|
logical_backup_cpu_limit:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
||||||
|
logical_backup_cpu_request:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
||||||
|
logical_backup_docker_image:
|
||||||
|
type: string
|
||||||
|
default: "registry.opensource.zalan.do/acid/logical-backup:v1.10.1"
|
||||||
|
logical_backup_google_application_credentials:
|
||||||
|
type: string
|
||||||
|
logical_backup_job_prefix:
|
||||||
|
type: string
|
||||||
|
default: "logical-backup-"
|
||||||
|
logical_backup_memory_limit:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
|
logical_backup_memory_request:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
|
logical_backup_provider:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- "az"
|
||||||
|
- "gcs"
|
||||||
|
- "s3"
|
||||||
|
default: "s3"
|
||||||
|
logical_backup_s3_access_key_id:
|
||||||
|
type: string
|
||||||
|
logical_backup_s3_bucket:
|
||||||
|
type: string
|
||||||
|
logical_backup_s3_endpoint:
|
||||||
|
type: string
|
||||||
|
logical_backup_s3_region:
|
||||||
|
type: string
|
||||||
|
logical_backup_s3_secret_access_key:
|
||||||
|
type: string
|
||||||
|
logical_backup_s3_sse:
|
||||||
|
type: string
|
||||||
|
logical_backup_s3_retention_time:
|
||||||
|
type: string
|
||||||
|
logical_backup_schedule:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+|\*)(/\d+)?(\s+(\d+|\*)(/\d+)?){4}$'
|
||||||
|
default: "30 00 * * *"
|
||||||
|
debug:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
debug_logging:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
enable_database_access:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
teams_api:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
enable_admin_role_for_users:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
enable_postgres_team_crd:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
enable_postgres_team_crd_superusers:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
enable_team_member_deprecation:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
enable_team_superuser:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
enable_teams_api:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
pam_configuration:
|
||||||
|
type: string
|
||||||
|
default: "https://info.example.com/oauth2/tokeninfo?access_token= uid realm=/employees"
|
||||||
|
pam_role_name:
|
||||||
|
type: string
|
||||||
|
default: "zalandos"
|
||||||
|
postgres_superuser_teams:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
protected_role_names:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
default:
|
||||||
|
- admin
|
||||||
|
- cron_admin
|
||||||
|
role_deletion_suffix:
|
||||||
|
type: string
|
||||||
|
default: "_deleted"
|
||||||
|
team_admin_role:
|
||||||
|
type: string
|
||||||
|
default: "admin"
|
||||||
|
team_api_role_configuration:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
default:
|
||||||
|
log_statement: all
|
||||||
|
teams_api_url:
|
||||||
|
type: string
|
||||||
|
default: "https://teams.example.com/api/"
|
||||||
|
logging_rest_api:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
api_port:
|
||||||
|
type: integer
|
||||||
|
default: 8080
|
||||||
|
cluster_history_entries:
|
||||||
|
type: integer
|
||||||
|
default: 1000
|
||||||
|
ring_log_lines:
|
||||||
|
type: integer
|
||||||
|
default: 100
|
||||||
|
scalyr: # deprecated
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
scalyr_api_key:
|
||||||
|
type: string
|
||||||
|
scalyr_cpu_limit:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
||||||
|
default: "1"
|
||||||
|
scalyr_cpu_request:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
||||||
|
default: "100m"
|
||||||
|
scalyr_image:
|
||||||
|
type: string
|
||||||
|
scalyr_memory_limit:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
|
default: "500Mi"
|
||||||
|
scalyr_memory_request:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
|
default: "50Mi"
|
||||||
|
scalyr_server_url:
|
||||||
|
type: string
|
||||||
|
default: "https://upload.eu.scalyr.com"
|
||||||
|
connection_pooler:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
connection_pooler_schema:
|
||||||
|
type: string
|
||||||
|
default: "pooler"
|
||||||
|
connection_pooler_user:
|
||||||
|
type: string
|
||||||
|
default: "pooler"
|
||||||
|
connection_pooler_image:
|
||||||
|
type: string
|
||||||
|
default: "registry.opensource.zalan.do/acid/pgbouncer:master-27"
|
||||||
|
connection_pooler_max_db_connections:
|
||||||
|
type: integer
|
||||||
|
default: 60
|
||||||
|
connection_pooler_mode:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- "session"
|
||||||
|
- "transaction"
|
||||||
|
default: "transaction"
|
||||||
|
connection_pooler_number_of_instances:
|
||||||
|
type: integer
|
||||||
|
minimum: 1
|
||||||
|
default: 2
|
||||||
|
connection_pooler_default_cpu_limit:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
||||||
|
default: "1"
|
||||||
|
connection_pooler_default_cpu_request:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
||||||
|
default: "500m"
|
||||||
|
connection_pooler_default_memory_limit:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
|
default: "100Mi"
|
||||||
|
connection_pooler_default_memory_request:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
|
default: "100Mi"
|
||||||
|
patroni:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
enable_patroni_failsafe_mode:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
status:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
656
postgres-operator-1.10.1/crds/postgresqls.yaml
Normal file
656
postgres-operator-1.10.1/crds/postgresqls.yaml
Normal file
@ -0,0 +1,656 @@
|
|||||||
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
name: postgresqls.acid.zalan.do
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: postgres-operator
|
||||||
|
spec:
|
||||||
|
group: acid.zalan.do
|
||||||
|
names:
|
||||||
|
kind: postgresql
|
||||||
|
listKind: postgresqlList
|
||||||
|
plural: postgresqls
|
||||||
|
singular: postgresql
|
||||||
|
shortNames:
|
||||||
|
- pg
|
||||||
|
categories:
|
||||||
|
- all
|
||||||
|
scope: Namespaced
|
||||||
|
versions:
|
||||||
|
- name: v1
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
additionalPrinterColumns:
|
||||||
|
- name: Team
|
||||||
|
type: string
|
||||||
|
description: Team responsible for Postgres cluster
|
||||||
|
jsonPath: .spec.teamId
|
||||||
|
- name: Version
|
||||||
|
type: string
|
||||||
|
description: PostgreSQL version
|
||||||
|
jsonPath: .spec.postgresql.version
|
||||||
|
- name: Pods
|
||||||
|
type: integer
|
||||||
|
description: Number of Pods per Postgres cluster
|
||||||
|
jsonPath: .spec.numberOfInstances
|
||||||
|
- name: Volume
|
||||||
|
type: string
|
||||||
|
description: Size of the bound volume
|
||||||
|
jsonPath: .spec.volume.size
|
||||||
|
- name: CPU-Request
|
||||||
|
type: string
|
||||||
|
description: Requested CPU for Postgres containers
|
||||||
|
jsonPath: .spec.resources.requests.cpu
|
||||||
|
- name: Memory-Request
|
||||||
|
type: string
|
||||||
|
description: Requested memory for Postgres containers
|
||||||
|
jsonPath: .spec.resources.requests.memory
|
||||||
|
- name: Age
|
||||||
|
type: date
|
||||||
|
jsonPath: .metadata.creationTimestamp
|
||||||
|
- name: Status
|
||||||
|
type: string
|
||||||
|
description: Current sync status of postgresql resource
|
||||||
|
jsonPath: .status.PostgresClusterStatus
|
||||||
|
schema:
|
||||||
|
openAPIV3Schema:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- kind
|
||||||
|
- apiVersion
|
||||||
|
- spec
|
||||||
|
properties:
|
||||||
|
kind:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- postgresql
|
||||||
|
apiVersion:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- acid.zalan.do/v1
|
||||||
|
spec:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- numberOfInstances
|
||||||
|
- teamId
|
||||||
|
- postgresql
|
||||||
|
- volume
|
||||||
|
properties:
|
||||||
|
additionalVolumes:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- name
|
||||||
|
- mountPath
|
||||||
|
- volumeSource
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
mountPath:
|
||||||
|
type: string
|
||||||
|
targetContainers:
|
||||||
|
type: array
|
||||||
|
nullable: true
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
volumeSource:
|
||||||
|
type: object
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
subPath:
|
||||||
|
type: string
|
||||||
|
allowedSourceRanges:
|
||||||
|
type: array
|
||||||
|
nullable: true
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\/(\d|[1-2]\d|3[0-2])$'
|
||||||
|
clone:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- cluster
|
||||||
|
properties:
|
||||||
|
cluster:
|
||||||
|
type: string
|
||||||
|
s3_endpoint:
|
||||||
|
type: string
|
||||||
|
s3_access_key_id:
|
||||||
|
type: string
|
||||||
|
s3_secret_access_key:
|
||||||
|
type: string
|
||||||
|
s3_force_path_style:
|
||||||
|
type: boolean
|
||||||
|
s3_wal_path:
|
||||||
|
type: string
|
||||||
|
timestamp:
|
||||||
|
type: string
|
||||||
|
pattern: '^([0-9]+)-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])[Tt]([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(([+-]([01][0-9]|2[0-3]):[0-5][0-9]))$'
|
||||||
|
# The regexp matches the date-time format (RFC 3339 Section 5.6) that specifies a timezone as an offset relative to UTC
|
||||||
|
# Example: 1996-12-19T16:39:57-08:00
|
||||||
|
# Note: this field requires a timezone
|
||||||
|
uid:
|
||||||
|
format: uuid
|
||||||
|
type: string
|
||||||
|
connectionPooler:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
dockerImage:
|
||||||
|
type: string
|
||||||
|
maxDBConnections:
|
||||||
|
type: integer
|
||||||
|
mode:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- "session"
|
||||||
|
- "transaction"
|
||||||
|
numberOfInstances:
|
||||||
|
type: integer
|
||||||
|
minimum: 1
|
||||||
|
resources:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
limits:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
cpu:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
||||||
|
memory:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
|
requests:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
cpu:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
||||||
|
memory:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
user:
|
||||||
|
type: string
|
||||||
|
databases:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
# Note: usernames specified here as database owners must be declared in the users key of the spec key.
|
||||||
|
dockerImage:
|
||||||
|
type: string
|
||||||
|
enableConnectionPooler:
|
||||||
|
type: boolean
|
||||||
|
enableReplicaConnectionPooler:
|
||||||
|
type: boolean
|
||||||
|
enableLogicalBackup:
|
||||||
|
type: boolean
|
||||||
|
enableMasterLoadBalancer:
|
||||||
|
type: boolean
|
||||||
|
enableMasterPoolerLoadBalancer:
|
||||||
|
type: boolean
|
||||||
|
enableReplicaLoadBalancer:
|
||||||
|
type: boolean
|
||||||
|
enableReplicaPoolerLoadBalancer:
|
||||||
|
type: boolean
|
||||||
|
enableShmVolume:
|
||||||
|
type: boolean
|
||||||
|
env:
|
||||||
|
type: array
|
||||||
|
nullable: true
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
init_containers:
|
||||||
|
type: array
|
||||||
|
description: deprecated
|
||||||
|
nullable: true
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
initContainers:
|
||||||
|
type: array
|
||||||
|
nullable: true
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
logicalBackupSchedule:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+|\*)(/\d+)?(\s+(\d+|\*)(/\d+)?){4}$'
|
||||||
|
maintenanceWindows:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
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))\ *$'
|
||||||
|
masterServiceAnnotations:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
nodeAffinity:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- preference
|
||||||
|
- weight
|
||||||
|
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:
|
||||||
|
type: integer
|
||||||
|
minimum: 0
|
||||||
|
patroni:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
failsafe_mode:
|
||||||
|
type: boolean
|
||||||
|
initdb:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
loop_wait:
|
||||||
|
type: integer
|
||||||
|
maximum_lag_on_failover:
|
||||||
|
type: integer
|
||||||
|
pg_hba:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
retry_timeout:
|
||||||
|
type: integer
|
||||||
|
slots:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
synchronous_mode:
|
||||||
|
type: boolean
|
||||||
|
synchronous_mode_strict:
|
||||||
|
type: boolean
|
||||||
|
synchronous_node_count:
|
||||||
|
type: integer
|
||||||
|
ttl:
|
||||||
|
type: integer
|
||||||
|
podAnnotations:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
pod_priority_class_name:
|
||||||
|
type: string
|
||||||
|
description: deprecated
|
||||||
|
podPriorityClassName:
|
||||||
|
type: string
|
||||||
|
postgresql:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- version
|
||||||
|
properties:
|
||||||
|
version:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- "10"
|
||||||
|
- "11"
|
||||||
|
- "12"
|
||||||
|
- "13"
|
||||||
|
- "14"
|
||||||
|
- "15"
|
||||||
|
parameters:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
preparedDatabases:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
defaultUsers:
|
||||||
|
type: boolean
|
||||||
|
extensions:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
schemas:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
defaultUsers:
|
||||||
|
type: boolean
|
||||||
|
defaultRoles:
|
||||||
|
type: boolean
|
||||||
|
secretNamespace:
|
||||||
|
type: string
|
||||||
|
replicaLoadBalancer:
|
||||||
|
type: boolean
|
||||||
|
description: deprecated
|
||||||
|
replicaServiceAnnotations:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
resources:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
limits:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
cpu:
|
||||||
|
type: string
|
||||||
|
# Decimal natural followed by m, or decimal natural followed by
|
||||||
|
# dot followed by up to three decimal digits.
|
||||||
|
#
|
||||||
|
# This is because the Kubernetes CPU resource has millis as the
|
||||||
|
# maximum precision. The actual values are checked in code
|
||||||
|
# because the regular expression would be huge and horrible and
|
||||||
|
# not very helpful in validation error messages; this one checks
|
||||||
|
# only the format of the given number.
|
||||||
|
#
|
||||||
|
# https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#meaning-of-cpu
|
||||||
|
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
||||||
|
# Note: the value specified here must not be zero or be lower
|
||||||
|
# than the corresponding request.
|
||||||
|
memory:
|
||||||
|
type: string
|
||||||
|
# You can express memory as a plain integer or as a fixed-point
|
||||||
|
# integer using one of these suffixes: E, P, T, G, M, k. You can
|
||||||
|
# also use the power-of-two equivalents: Ei, Pi, Ti, Gi, Mi, Ki
|
||||||
|
#
|
||||||
|
# https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/#meaning-of-memory
|
||||||
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
|
# Note: the value specified here must not be zero or be higher
|
||||||
|
# than the corresponding limit.
|
||||||
|
requests:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
cpu:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
||||||
|
memory:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
|
schedulerName:
|
||||||
|
type: string
|
||||||
|
serviceAnnotations:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
sidecars:
|
||||||
|
type: array
|
||||||
|
nullable: true
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
spiloRunAsUser:
|
||||||
|
type: integer
|
||||||
|
spiloRunAsGroup:
|
||||||
|
type: integer
|
||||||
|
spiloFSGroup:
|
||||||
|
type: integer
|
||||||
|
standby:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
s3_wal_path:
|
||||||
|
type: string
|
||||||
|
gs_wal_path:
|
||||||
|
type: string
|
||||||
|
standby_host:
|
||||||
|
type: string
|
||||||
|
standby_port:
|
||||||
|
type: string
|
||||||
|
oneOf:
|
||||||
|
- required:
|
||||||
|
- s3_wal_path
|
||||||
|
- required:
|
||||||
|
- gs_wal_path
|
||||||
|
- required:
|
||||||
|
- standby_host
|
||||||
|
streams:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- applicationId
|
||||||
|
- database
|
||||||
|
- tables
|
||||||
|
properties:
|
||||||
|
applicationId:
|
||||||
|
type: string
|
||||||
|
batchSize:
|
||||||
|
type: integer
|
||||||
|
database:
|
||||||
|
type: string
|
||||||
|
filter:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
|
tables:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- eventType
|
||||||
|
properties:
|
||||||
|
eventType:
|
||||||
|
type: string
|
||||||
|
idColumn:
|
||||||
|
type: string
|
||||||
|
payloadColumn:
|
||||||
|
type: string
|
||||||
|
teamId:
|
||||||
|
type: string
|
||||||
|
tls:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- secretName
|
||||||
|
properties:
|
||||||
|
secretName:
|
||||||
|
type: string
|
||||||
|
certificateFile:
|
||||||
|
type: string
|
||||||
|
privateKeyFile:
|
||||||
|
type: string
|
||||||
|
caFile:
|
||||||
|
type: string
|
||||||
|
caSecretName:
|
||||||
|
type: string
|
||||||
|
tolerations:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
type: string
|
||||||
|
operator:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- Equal
|
||||||
|
- Exists
|
||||||
|
value:
|
||||||
|
type: string
|
||||||
|
effect:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- NoExecute
|
||||||
|
- NoSchedule
|
||||||
|
- PreferNoSchedule
|
||||||
|
tolerationSeconds:
|
||||||
|
type: integer
|
||||||
|
useLoadBalancer:
|
||||||
|
type: boolean
|
||||||
|
description: deprecated
|
||||||
|
users:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: array
|
||||||
|
nullable: true
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- bypassrls
|
||||||
|
- BYPASSRLS
|
||||||
|
- nobypassrls
|
||||||
|
- NOBYPASSRLS
|
||||||
|
- createdb
|
||||||
|
- CREATEDB
|
||||||
|
- nocreatedb
|
||||||
|
- NOCREATEDB
|
||||||
|
- createrole
|
||||||
|
- CREATEROLE
|
||||||
|
- nocreaterole
|
||||||
|
- NOCREATEROLE
|
||||||
|
- inherit
|
||||||
|
- INHERIT
|
||||||
|
- noinherit
|
||||||
|
- NOINHERIT
|
||||||
|
- login
|
||||||
|
- LOGIN
|
||||||
|
- nologin
|
||||||
|
- NOLOGIN
|
||||||
|
- replication
|
||||||
|
- REPLICATION
|
||||||
|
- noreplication
|
||||||
|
- NOREPLICATION
|
||||||
|
- superuser
|
||||||
|
- SUPERUSER
|
||||||
|
- nosuperuser
|
||||||
|
- NOSUPERUSER
|
||||||
|
usersWithInPlaceSecretRotation:
|
||||||
|
type: array
|
||||||
|
nullable: true
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
usersWithSecretRotation:
|
||||||
|
type: array
|
||||||
|
nullable: true
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
volume:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- size
|
||||||
|
properties:
|
||||||
|
iops:
|
||||||
|
type: integer
|
||||||
|
selector:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
matchExpressions:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- key
|
||||||
|
- operator
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
type: string
|
||||||
|
operator:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- DoesNotExist
|
||||||
|
- Exists
|
||||||
|
- In
|
||||||
|
- NotIn
|
||||||
|
values:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
matchLabels:
|
||||||
|
type: object
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
size:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
|
# Note: the value specified here must not be zero.
|
||||||
|
storageClass:
|
||||||
|
type: string
|
||||||
|
subPath:
|
||||||
|
type: string
|
||||||
|
throughput:
|
||||||
|
type: integer
|
||||||
|
status:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
70
postgres-operator-1.10.1/crds/postgresteams.yaml
Normal file
70
postgres-operator-1.10.1/crds/postgresteams.yaml
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
name: postgresteams.acid.zalan.do
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: postgres-operator
|
||||||
|
spec:
|
||||||
|
group: acid.zalan.do
|
||||||
|
names:
|
||||||
|
kind: PostgresTeam
|
||||||
|
listKind: PostgresTeamList
|
||||||
|
plural: postgresteams
|
||||||
|
singular: postgresteam
|
||||||
|
shortNames:
|
||||||
|
- pgteam
|
||||||
|
categories:
|
||||||
|
- all
|
||||||
|
scope: Namespaced
|
||||||
|
versions:
|
||||||
|
- name: v1
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
schema:
|
||||||
|
openAPIV3Schema:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- kind
|
||||||
|
- apiVersion
|
||||||
|
- spec
|
||||||
|
properties:
|
||||||
|
kind:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- PostgresTeam
|
||||||
|
apiVersion:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- acid.zalan.do/v1
|
||||||
|
spec:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
additionalSuperuserTeams:
|
||||||
|
type: object
|
||||||
|
description: "Map for teamId and associated additional superuser teams"
|
||||||
|
additionalProperties:
|
||||||
|
type: array
|
||||||
|
nullable: true
|
||||||
|
description: "List of teams to become Postgres superusers"
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
additionalTeams:
|
||||||
|
type: object
|
||||||
|
description: "Map for teamId and associated additional teams"
|
||||||
|
additionalProperties:
|
||||||
|
type: array
|
||||||
|
nullable: true
|
||||||
|
description: "List of teams whose members will also be added to the Postgres cluster"
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
additionalMembers:
|
||||||
|
type: object
|
||||||
|
description: "Map for teamId and associated additional users"
|
||||||
|
additionalProperties:
|
||||||
|
type: array
|
||||||
|
nullable: true
|
||||||
|
description: "List of users who will also be added to the Postgres cluster"
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
158
postgres-operator-1.10.1/index.yaml
Normal file
158
postgres-operator-1.10.1/index.yaml
Normal file
@ -0,0 +1,158 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
entries:
|
||||||
|
postgres-operator:
|
||||||
|
- apiVersion: v2
|
||||||
|
appVersion: 1.10.0
|
||||||
|
created: "2023-04-20T15:17:33.816556775+02:00"
|
||||||
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
|
in Kubernetes
|
||||||
|
digest: 60fc5c8059dfed175d14e1034b40997d9c59d33ec8ea158c0597f7228ab04b51
|
||||||
|
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.10.0.tgz
|
||||||
|
version: 1.10.0
|
||||||
|
- apiVersion: v2
|
||||||
|
appVersion: 1.9.0
|
||||||
|
created: "2023-04-20T15:17:33.826385642+02:00"
|
||||||
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
|
in Kubernetes
|
||||||
|
digest: 64df90c898ca591eb3a330328173ffaadfbf9ddd474d8c42ed143edc9e3f4276
|
||||||
|
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.9.0.tgz
|
||||||
|
version: 1.9.0
|
||||||
|
- apiVersion: v2
|
||||||
|
appVersion: 1.8.2
|
||||||
|
created: "2023-04-20T15:17:33.824908306+02:00"
|
||||||
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
|
in Kubernetes
|
||||||
|
digest: f77ffad2e98b72a621e5527015cf607935d3ed688f10ba4b626435acb9631b5b
|
||||||
|
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.8.2.tgz
|
||||||
|
version: 1.8.2
|
||||||
|
- apiVersion: v2
|
||||||
|
appVersion: 1.8.1
|
||||||
|
created: "2023-04-20T15:17:33.823470311+02:00"
|
||||||
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
|
in Kubernetes
|
||||||
|
digest: ee0c3bb6ba72fa4289ba3b1c6060e5b312dd023faba2a61b4cb7d9e5e2cc57a5
|
||||||
|
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.8.1.tgz
|
||||||
|
version: 1.8.1
|
||||||
|
- apiVersion: v1
|
||||||
|
appVersion: 1.8.0
|
||||||
|
created: "2023-04-20T15:17:33.822014945+02:00"
|
||||||
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
|
in Kubernetes
|
||||||
|
digest: 3ae232cf009e09aa2ad11c171484cd2f1b72e63c59735e58fbe2b6eb842f4c86
|
||||||
|
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.8.0.tgz
|
||||||
|
version: 1.8.0
|
||||||
|
- apiVersion: v1
|
||||||
|
appVersion: 1.7.1
|
||||||
|
created: "2023-04-20T15:17:33.819324505+02: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: "2023-04-20T15:17:33.817929939+02: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
|
||||||
|
generated: "2023-04-20T15:17:33.814720127+02:00"
|
||||||
3
postgres-operator-1.10.1/templates/NOTES.txt
Normal file
3
postgres-operator-1.10.1/templates/NOTES.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
To verify that postgres-operator has started, run:
|
||||||
|
|
||||||
|
kubectl --namespace={{ .Release.Namespace }} get pods -l "app.kubernetes.io/name={{ template "postgres-operator.name" . }}"
|
||||||
72
postgres-operator-1.10.1/templates/_helpers.tpl
Normal file
72
postgres-operator-1.10.1/templates/_helpers.tpl
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
{{/* vim: set filetype=mustache: */}}
|
||||||
|
{{/*
|
||||||
|
Expand the name of the chart.
|
||||||
|
*/}}
|
||||||
|
{{- define "postgres-operator.name" -}}
|
||||||
|
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create a default fully qualified app name.
|
||||||
|
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||||
|
If release name contains chart name it will be used as a full name.
|
||||||
|
*/}}
|
||||||
|
{{- define "postgres-operator.fullname" -}}
|
||||||
|
{{- if .Values.fullnameOverride -}}
|
||||||
|
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
||||||
|
{{- if contains $name .Release.Name -}}
|
||||||
|
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create a service account name.
|
||||||
|
*/}}
|
||||||
|
{{- define "postgres-operator.serviceAccountName" -}}
|
||||||
|
{{ default (include "postgres-operator.fullname" .) .Values.serviceAccount.name }}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create a pod service account name.
|
||||||
|
*/}}
|
||||||
|
{{- define "postgres-pod.serviceAccountName" -}}
|
||||||
|
{{ default (printf "%s-%v" (include "postgres-operator.fullname" .) "pod") .Values.podServiceAccount.name }}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create a controller ID.
|
||||||
|
*/}}
|
||||||
|
{{- define "postgres-operator.controllerID" -}}
|
||||||
|
{{ default (include "postgres-operator.fullname" .) .Values.controllerID.name }}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create chart name and version as used by the chart label.
|
||||||
|
*/}}
|
||||||
|
{{- define "postgres-operator.chart" -}}
|
||||||
|
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- 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 }}
|
||||||
@ -0,0 +1,71 @@
|
|||||||
|
{{ if .Values.rbac.create }}
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
name: {{ include "postgres-pod.serviceAccountName" . }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ template "postgres-operator.name" . }}
|
||||||
|
helm.sh/chart: {{ template "postgres-operator.chart" . }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
rules:
|
||||||
|
# Patroni needs to watch and manage config maps or endpoints
|
||||||
|
{{- if toString .Values.configGeneral.kubernetes_use_configmaps | eq "true" }}
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- configmaps
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- delete
|
||||||
|
- deletecollection
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- patch
|
||||||
|
- update
|
||||||
|
- watch
|
||||||
|
{{- else }}
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- endpoints
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- delete
|
||||||
|
- deletecollection
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- patch
|
||||||
|
- update
|
||||||
|
- watch
|
||||||
|
{{- end }}
|
||||||
|
# Patroni needs to watch pods
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- pods
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- patch
|
||||||
|
- update
|
||||||
|
- watch
|
||||||
|
# to let Patroni create a headless service
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- services
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
{{- if toString .Values.configKubernetes.spilo_privileged | eq "true" }}
|
||||||
|
# to run privileged pods
|
||||||
|
- apiGroups:
|
||||||
|
- extensions
|
||||||
|
resources:
|
||||||
|
- podsecuritypolicies
|
||||||
|
resourceNames:
|
||||||
|
- privileged
|
||||||
|
verbs:
|
||||||
|
- use
|
||||||
|
{{- end }}
|
||||||
|
{{ end }}
|
||||||
254
postgres-operator-1.10.1/templates/clusterrole.yaml
Normal file
254
postgres-operator-1.10.1/templates/clusterrole.yaml
Normal file
@ -0,0 +1,254 @@
|
|||||||
|
{{ if .Values.rbac.create }}
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
name: {{ include "postgres-operator.serviceAccountName" . }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ template "postgres-operator.name" . }}
|
||||||
|
helm.sh/chart: {{ template "postgres-operator.chart" . }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
rules:
|
||||||
|
# all verbs allowed for custom operator resources
|
||||||
|
- apiGroups:
|
||||||
|
- acid.zalan.do
|
||||||
|
resources:
|
||||||
|
- postgresqls
|
||||||
|
- postgresqls/status
|
||||||
|
- operatorconfigurations
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- delete
|
||||||
|
- deletecollection
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- patch
|
||||||
|
- update
|
||||||
|
- watch
|
||||||
|
# operator only reads PostgresTeams
|
||||||
|
- apiGroups:
|
||||||
|
- acid.zalan.do
|
||||||
|
resources:
|
||||||
|
- postgresteams
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
# all verbs allowed for event streams
|
||||||
|
{{- if .Values.enableStreams }}
|
||||||
|
- apiGroups:
|
||||||
|
- zalando.org
|
||||||
|
resources:
|
||||||
|
- fabriceventstreams
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- delete
|
||||||
|
- deletecollection
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- patch
|
||||||
|
- update
|
||||||
|
- watch
|
||||||
|
{{- end }}
|
||||||
|
# to create or get/update CRDs when starting up
|
||||||
|
- apiGroups:
|
||||||
|
- apiextensions.k8s.io
|
||||||
|
resources:
|
||||||
|
- customresourcedefinitions
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
{{- if toString .Values.configGeneral.enable_crd_registration | eq "true" }}
|
||||||
|
- create
|
||||||
|
- patch
|
||||||
|
- update
|
||||||
|
{{- end }}
|
||||||
|
# to send events to the CRs
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- events
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- patch
|
||||||
|
- update
|
||||||
|
- watch
|
||||||
|
# to manage endpoints/configmaps which are also used by Patroni
|
||||||
|
{{- if toString .Values.configGeneral.kubernetes_use_configmaps | eq "true" }}
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- configmaps
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- delete
|
||||||
|
- deletecollection
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- patch
|
||||||
|
- update
|
||||||
|
- watch
|
||||||
|
{{- else }}
|
||||||
|
# to read configuration from ConfigMaps
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- configmaps
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- endpoints
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- delete
|
||||||
|
- deletecollection
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- patch
|
||||||
|
- update
|
||||||
|
- watch
|
||||||
|
{{- end }}
|
||||||
|
# to CRUD secrets for database access
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- secrets
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- delete
|
||||||
|
- get
|
||||||
|
- update
|
||||||
|
# to check nodes for node readiness label
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- nodes
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
# to read or delete existing PVCs. Creation via StatefulSet
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- persistentvolumeclaims
|
||||||
|
verbs:
|
||||||
|
- delete
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
{{- if toString .Values.configKubernetes.storage_resize_mode | eq "pvc" }}
|
||||||
|
- patch
|
||||||
|
- update
|
||||||
|
{{- end }}
|
||||||
|
# to read existing PVs. Creation should be done via dynamic provisioning
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- persistentvolumes
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
{{- if toString .Values.configKubernetes.storage_resize_mode | eq "ebs" }}
|
||||||
|
- update # only for resizing AWS volumes
|
||||||
|
{{- end }}
|
||||||
|
# to watch Spilo pods and do rolling updates. Creation via StatefulSet
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- pods
|
||||||
|
verbs:
|
||||||
|
- delete
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- patch
|
||||||
|
- update
|
||||||
|
- watch
|
||||||
|
# to resize the filesystem in Spilo pods when increasing volume size
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- pods/exec
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
# to CRUD services to point to Postgres cluster instances
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- services
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- delete
|
||||||
|
- get
|
||||||
|
- patch
|
||||||
|
- update
|
||||||
|
# to CRUD the StatefulSet which controls the Postgres cluster instances
|
||||||
|
- apiGroups:
|
||||||
|
- apps
|
||||||
|
resources:
|
||||||
|
- statefulsets
|
||||||
|
- deployments
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- delete
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- patch
|
||||||
|
# to CRUD cron jobs for logical backups
|
||||||
|
- apiGroups:
|
||||||
|
- batch
|
||||||
|
resources:
|
||||||
|
- cronjobs
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- delete
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- patch
|
||||||
|
- update
|
||||||
|
# to get namespaces operator resources can run in
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- namespaces
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
# to define PDBs. Update happens via delete/create
|
||||||
|
- apiGroups:
|
||||||
|
- policy
|
||||||
|
resources:
|
||||||
|
- poddisruptionbudgets
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- delete
|
||||||
|
- get
|
||||||
|
# to create ServiceAccounts in each namespace the operator watches
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- serviceaccounts
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- create
|
||||||
|
# to create role bindings to the postgres-pod service account
|
||||||
|
- apiGroups:
|
||||||
|
- rbac.authorization.k8s.io
|
||||||
|
resources:
|
||||||
|
- rolebindings
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- create
|
||||||
|
{{- if toString .Values.configKubernetes.spilo_privileged | eq "true" }}
|
||||||
|
# to run privileged pods
|
||||||
|
- apiGroups:
|
||||||
|
- extensions
|
||||||
|
resources:
|
||||||
|
- podsecuritypolicies
|
||||||
|
resourceNames:
|
||||||
|
- privileged
|
||||||
|
verbs:
|
||||||
|
- use
|
||||||
|
{{- end }}
|
||||||
|
{{ end }}
|
||||||
19
postgres-operator-1.10.1/templates/clusterrolebinding.yaml
Normal file
19
postgres-operator-1.10.1/templates/clusterrolebinding.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{{ if .Values.rbac.create }}
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
metadata:
|
||||||
|
name: {{ include "postgres-operator.serviceAccountName" . }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ template "postgres-operator.name" . }}
|
||||||
|
helm.sh/chart: {{ template "postgres-operator.chart" . }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRole
|
||||||
|
name: {{ include "postgres-operator.serviceAccountName" . }}
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: {{ include "postgres-operator.serviceAccountName" . }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
{{ end }}
|
||||||
30
postgres-operator-1.10.1/templates/configmap.yaml
Normal file
30
postgres-operator-1.10.1/templates/configmap.yaml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{{- if eq .Values.configTarget "ConfigMap" }}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: {{ template "postgres-operator.fullname" . }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ template "postgres-operator.name" . }}
|
||||||
|
helm.sh/chart: {{ template "postgres-operator.chart" . }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
data:
|
||||||
|
{{- if .Values.podPriorityClassName }}
|
||||||
|
pod_priority_class_name: {{ .Values.podPriorityClassName }}
|
||||||
|
{{- end }}
|
||||||
|
pod_service_account_name: {{ include "postgres-pod.serviceAccountName" . }}
|
||||||
|
{{- include "flattenValuesForConfigMap" .Values.configGeneral | indent 2 }}
|
||||||
|
{{- include "flattenValuesForConfigMap" .Values.configUsers | indent 2 }}
|
||||||
|
{{- include "flattenValuesForConfigMap" .Values.configMajorVersionUpgrade | indent 2 }}
|
||||||
|
{{- include "flattenValuesForConfigMap" .Values.configKubernetes | indent 2 }}
|
||||||
|
{{- include "flattenValuesForConfigMap" .Values.configTimeouts | indent 2 }}
|
||||||
|
{{- include "flattenValuesForConfigMap" .Values.configLoadBalancer | indent 2 }}
|
||||||
|
{{- include "flattenValuesForConfigMap" .Values.configAwsOrGcp | indent 2 }}
|
||||||
|
{{- include "flattenValuesForConfigMap" .Values.configLogicalBackup | indent 2 }}
|
||||||
|
{{- include "flattenValuesForConfigMap" .Values.configDebug | indent 2 }}
|
||||||
|
{{- include "flattenValuesForConfigMap" .Values.configLoggingRestApi | indent 2 }}
|
||||||
|
{{- include "flattenValuesForConfigMap" .Values.configTeamsApi | indent 2 }}
|
||||||
|
{{- include "flattenValuesForConfigMap" .Values.configConnectionPooler | indent 2 }}
|
||||||
|
{{- include "flattenValuesForConfigMap" .Values.configPatroni | indent 2 }}
|
||||||
|
{{- end }}
|
||||||
80
postgres-operator-1.10.1/templates/deployment.yaml
Normal file
80
postgres-operator-1.10.1/templates/deployment.yaml
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ template "postgres-operator.name" . }}
|
||||||
|
helm.sh/chart: {{ template "postgres-operator.chart" . }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
name: {{ template "postgres-operator.fullname" . }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: {{ template "postgres-operator.name" . }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
{{- if eq .Values.configTarget "ConfigMap" }}
|
||||||
|
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
|
||||||
|
{{- else }}
|
||||||
|
checksum/config: {{ include (print $.Template.BasePath "/operatorconfiguration.yaml") . | sha256sum }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.podAnnotations }}
|
||||||
|
{{ toYaml .Values.podAnnotations | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ template "postgres-operator.name" . }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
{{- if .Values.podLabels }}
|
||||||
|
{{ toYaml .Values.podLabels | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
spec:
|
||||||
|
serviceAccountName: {{ include "postgres-operator.serviceAccountName" . }}
|
||||||
|
containers:
|
||||||
|
- name: {{ .Chart.Name }}
|
||||||
|
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||||
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
|
env:
|
||||||
|
{{- if .Values.enableJsonLogging }}
|
||||||
|
- name: ENABLE_JSON_LOGGING
|
||||||
|
value: "true"
|
||||||
|
{{- end }}
|
||||||
|
{{- if eq .Values.configTarget "ConfigMap" }}
|
||||||
|
- name: CONFIG_MAP_NAME
|
||||||
|
value: {{ template "postgres-operator.fullname" . }}
|
||||||
|
{{- else }}
|
||||||
|
- name: POSTGRES_OPERATOR_CONFIGURATION_OBJECT
|
||||||
|
value: {{ template "postgres-operator.fullname" . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.controllerID.create }}
|
||||||
|
- name: CONTROLLER_ID
|
||||||
|
value: {{ template "postgres-operator.controllerID" . }}
|
||||||
|
{{- end }}
|
||||||
|
resources:
|
||||||
|
{{ toYaml .Values.resources | indent 10 }}
|
||||||
|
securityContext:
|
||||||
|
{{ toYaml .Values.securityContext | indent 10 }}
|
||||||
|
{{- if .Values.readinessProbe }}
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /readyz
|
||||||
|
port: {{ .Values.configLoggingRestApi.api_port }}
|
||||||
|
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
|
||||||
|
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{ toYaml .Values.imagePullSecrets | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
affinity:
|
||||||
|
{{ toYaml .Values.affinity | indent 8 }}
|
||||||
|
nodeSelector:
|
||||||
|
{{ toYaml .Values.nodeSelector | indent 8 }}
|
||||||
|
tolerations:
|
||||||
|
{{ toYaml .Values.tolerations | indent 8 }}
|
||||||
|
{{- if .Values.priorityClassName }}
|
||||||
|
priorityClassName: {{ .Values.priorityClassName }}
|
||||||
|
{{- end }}
|
||||||
@ -0,0 +1,45 @@
|
|||||||
|
{{- if eq .Values.configTarget "OperatorConfigurationCRD" }}
|
||||||
|
apiVersion: "acid.zalan.do/v1"
|
||||||
|
kind: OperatorConfiguration
|
||||||
|
metadata:
|
||||||
|
name: {{ template "postgres-operator.fullname" . }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ template "postgres-operator.name" . }}
|
||||||
|
helm.sh/chart: {{ template "postgres-operator.chart" . }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
configuration:
|
||||||
|
{{ tpl (toYaml .Values.configGeneral) . | indent 2 }}
|
||||||
|
users:
|
||||||
|
{{ tpl (toYaml .Values.configUsers) . | indent 4 }}
|
||||||
|
major_version_upgrade:
|
||||||
|
{{ toYaml .Values.configMajorVersionUpgrade | indent 4 }}
|
||||||
|
kubernetes:
|
||||||
|
{{- if .Values.podPriorityClassName }}
|
||||||
|
pod_priority_class_name: {{ .Values.podPriorityClassName }}
|
||||||
|
{{- end }}
|
||||||
|
pod_service_account_name: {{ include "postgres-pod.serviceAccountName" . }}
|
||||||
|
oauth_token_secret_name: {{ template "postgres-operator.fullname" . }}
|
||||||
|
{{ tpl (toYaml .Values.configKubernetes) . | indent 4 }}
|
||||||
|
postgres_pod_resources:
|
||||||
|
{{ toYaml .Values.configPostgresPodResources | indent 4 }}
|
||||||
|
timeouts:
|
||||||
|
{{ toYaml .Values.configTimeouts | indent 4 }}
|
||||||
|
load_balancer:
|
||||||
|
{{ toYaml .Values.configLoadBalancer | indent 4 }}
|
||||||
|
aws_or_gcp:
|
||||||
|
{{ toYaml .Values.configAwsOrGcp | indent 4 }}
|
||||||
|
logical_backup:
|
||||||
|
{{ toYaml .Values.configLogicalBackup | indent 4 }}
|
||||||
|
debug:
|
||||||
|
{{ toYaml .Values.configDebug | indent 4 }}
|
||||||
|
teams_api:
|
||||||
|
{{ tpl (toYaml .Values.configTeamsApi) . | indent 4 }}
|
||||||
|
logging_rest_api:
|
||||||
|
{{ toYaml .Values.configLoggingRestApi | indent 4 }}
|
||||||
|
connection_pooler:
|
||||||
|
{{ toYaml .Values.configConnectionPooler | indent 4 }}
|
||||||
|
patroni:
|
||||||
|
{{ toYaml .Values.configPatroni | indent 4 }}
|
||||||
|
{{- end }}
|
||||||
@ -0,0 +1,16 @@
|
|||||||
|
{{- if .Values.podPriorityClassName }}
|
||||||
|
apiVersion: scheduling.k8s.io/v1
|
||||||
|
description: 'Use only for databases controlled by Postgres operator'
|
||||||
|
kind: PriorityClass
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ template "postgres-operator.name" . }}
|
||||||
|
helm.sh/chart: {{ template "postgres-operator.chart" . }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
name: {{ .Values.podPriorityClassName }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
preemptionPolicy: PreemptLowerPriority
|
||||||
|
globalDefault: false
|
||||||
|
value: 1000000
|
||||||
|
{{- end }}
|
||||||
19
postgres-operator-1.10.1/templates/service.yaml
Normal file
19
postgres-operator-1.10.1/templates/service.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ template "postgres-operator.name" . }}
|
||||||
|
helm.sh/chart: {{ template "postgres-operator.chart" . }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
name: {{ template "postgres-operator.fullname" . }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
ports:
|
||||||
|
- port: 8080
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 8080
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/name: {{ template "postgres-operator.name" . }}
|
||||||
12
postgres-operator-1.10.1/templates/serviceaccount.yaml
Normal file
12
postgres-operator-1.10.1/templates/serviceaccount.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{{ if .Values.serviceAccount.create }}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: {{ include "postgres-operator.serviceAccountName" . }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ template "postgres-operator.name" . }}
|
||||||
|
helm.sh/chart: {{ template "postgres-operator.chart" . }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
{{ end }}
|
||||||
@ -0,0 +1,71 @@
|
|||||||
|
{{ if .Values.rbac.createAggregateClusterRoles }}
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
rbac.authorization.k8s.io/aggregate-to-admin: "true"
|
||||||
|
app.kubernetes.io/name: {{ template "postgres-operator.name" . }}
|
||||||
|
helm.sh/chart: {{ template "postgres-operator.chart" . }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
name: {{ template "postgres-operator.fullname" . }}:users:admin
|
||||||
|
rules:
|
||||||
|
- apiGroups:
|
||||||
|
- acid.zalan.do
|
||||||
|
resources:
|
||||||
|
- postgresqls
|
||||||
|
- postgresqls/status
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- delete
|
||||||
|
- deletecollection
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- patch
|
||||||
|
- update
|
||||||
|
- watch
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
rbac.authorization.k8s.io/aggregate-to-edit: "true"
|
||||||
|
app.kubernetes.io/name: {{ template "postgres-operator.name" . }}
|
||||||
|
helm.sh/chart: {{ template "postgres-operator.chart" . }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
name: {{ template "postgres-operator.fullname" . }}:users:edit
|
||||||
|
rules:
|
||||||
|
- apiGroups:
|
||||||
|
- acid.zalan.do
|
||||||
|
resources:
|
||||||
|
- postgresqls
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- update
|
||||||
|
- patch
|
||||||
|
- delete
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
rbac.authorization.k8s.io/aggregate-to-view: "true"
|
||||||
|
app.kubernetes.io/name: {{ template "postgres-operator.name" . }}
|
||||||
|
helm.sh/chart: {{ template "postgres-operator.chart" . }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
name: {{ template "postgres-operator.fullname" . }}:users:view
|
||||||
|
rules:
|
||||||
|
- apiGroups:
|
||||||
|
- acid.zalan.do
|
||||||
|
resources:
|
||||||
|
- postgresqls
|
||||||
|
- postgresqls/status
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
{{ end }}
|
||||||
9
postgres-operator-1.10.1/values.home.yaml
Normal file
9
postgres-operator-1.10.1/values.home.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
configKubernetes:
|
||||||
|
enable_readiness_probe: true
|
||||||
|
enableJsonLogging: true
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 500Mi
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 250Mi
|
||||||
501
postgres-operator-1.10.1/values.yaml
Normal file
501
postgres-operator-1.10.1/values.yaml
Normal file
@ -0,0 +1,501 @@
|
|||||||
|
image:
|
||||||
|
registry: registry.opensource.zalan.do
|
||||||
|
repository: acid/postgres-operator
|
||||||
|
tag: v1.10.1
|
||||||
|
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"
|
||||||
|
|
||||||
|
# JSON logging format
|
||||||
|
enableJsonLogging: false
|
||||||
|
|
||||||
|
# general configuration parameters
|
||||||
|
configGeneral:
|
||||||
|
# the deployment should create/update the CRDs
|
||||||
|
enable_crd_registration: true
|
||||||
|
# specify categories under which crds should be listed
|
||||||
|
crd_categories:
|
||||||
|
- "all"
|
||||||
|
# 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
|
||||||
|
# operator will sync only clusters where name starts with teamId prefix
|
||||||
|
enable_team_id_clustername_prefix: false
|
||||||
|
# etcd connection string for Patroni. Empty uses K8s-native DCS.
|
||||||
|
etcd_host: ""
|
||||||
|
# Spilo docker image
|
||||||
|
docker_image: ghcr.io/zalando/spilo-15:3.0-p1
|
||||||
|
|
||||||
|
# key name for annotation to ignore globally configured instance limits
|
||||||
|
# ignore_instance_limits_annotation_key: ""
|
||||||
|
|
||||||
|
# Select if setup uses endpoints (default), or configmaps to manage leader (DCS=k8s)
|
||||||
|
# kubernetes_use_configmaps: false
|
||||||
|
|
||||||
|
# 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:
|
||||||
|
# roles to be granted to database owners
|
||||||
|
# additional_owner_roles:
|
||||||
|
# - cron_admin
|
||||||
|
|
||||||
|
# enable password rotation for app users that are not database owners
|
||||||
|
enable_password_rotation: false
|
||||||
|
# rotation interval for updating credentials in K8s secrets of app users
|
||||||
|
password_rotation_interval: 90
|
||||||
|
# retention interval to keep rotation users
|
||||||
|
password_rotation_user_retention: 180
|
||||||
|
# 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"
|
||||||
|
# upgrades will only be carried out for clusters of listed teams when mode is "off"
|
||||||
|
# major_version_upgrade_team_allow_list:
|
||||||
|
# - acid
|
||||||
|
|
||||||
|
# minimal Postgres major version that will not automatically be upgraded
|
||||||
|
minimal_major_version: "11"
|
||||||
|
# target Postgres major version when upgrading clusters automatically
|
||||||
|
target_major_version: "15"
|
||||||
|
|
||||||
|
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/*
|
||||||
|
|
||||||
|
# allow user secrets in other namespaces than the Postgres cluster
|
||||||
|
enable_cross_namespace_secret: false
|
||||||
|
# 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
|
||||||
|
# toogles readiness probe for database pods
|
||||||
|
enable_readiness_probe: false
|
||||||
|
# enables sidecar containers to run alongside Spilo in the same pod
|
||||||
|
enable_sidecars: true
|
||||||
|
|
||||||
|
# annotations to be ignored when comparing statefulsets, services etc.
|
||||||
|
# ignored_annotations:
|
||||||
|
# - k8s.v1.cni.cncf.io/network-status
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# defines how nodeAffinity from manifest should be merged with node_readiness_label
|
||||||
|
# node_readiness_label_merge: "OR"
|
||||||
|
|
||||||
|
# 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"
|
||||||
|
# switches pod anti affinity type to `preferredDuringSchedulingIgnoredDuringExecution`
|
||||||
|
pod_antiaffinity_preferred_during_scheduling: false
|
||||||
|
# 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,
|
||||||
|
# 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}"
|
||||||
|
# sharing unix socket of PostgreSQL (`pg_socket`) with the sidecars
|
||||||
|
share_pgsocket_with_sidecars: false
|
||||||
|
# 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 or mixed
|
||||||
|
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
|
||||||
|
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
|
||||||
|
# optional upper boundary for CPU request
|
||||||
|
# max_cpu_request: "1"
|
||||||
|
|
||||||
|
# optional upper boundary for memory request
|
||||||
|
# max_memory_request: 4Gi
|
||||||
|
|
||||||
|
# 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:
|
||||||
|
# interval between consecutive attempts of operator calling the Patroni API
|
||||||
|
patroni_api_check_interval: 1s
|
||||||
|
# timeout when waiting for successful response from Patroni API
|
||||||
|
patroni_api_check_timeout: 5s
|
||||||
|
# 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 master pooler pod of the cluster
|
||||||
|
enable_master_pooler_load_balancer: false
|
||||||
|
# toggles service type load balancer pointing to the replica pod of the cluster
|
||||||
|
enable_replica_load_balancer: false
|
||||||
|
# toggles service type load balancer pointing to the replica pooler pod of the cluster
|
||||||
|
enable_replica_pooler_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}.{namespace}.{hostedzone}"
|
||||||
|
# deprecated DNS template for master load balancer using team name
|
||||||
|
master_legacy_dns_name_format: "{cluster}.{team}.{hostedzone}"
|
||||||
|
# defines the DNS name string template for the replica load balancer cluster
|
||||||
|
replica_dns_name_format: "{cluster}-repl.{namespace}.{hostedzone}"
|
||||||
|
# deprecated DNS template for replica load balancer using team name
|
||||||
|
replica_legacy_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 EBS 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: ""
|
||||||
|
|
||||||
|
# S3 bucket to use for shipping WAL segments with WAL-E
|
||||||
|
# wal_s3_bucket: ""
|
||||||
|
|
||||||
|
# GCS bucket to use for shipping WAL segments with WAL-E
|
||||||
|
# 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
|
||||||
|
configLogicalBackup:
|
||||||
|
# Azure Storage Account specs to store backup results
|
||||||
|
# logical_backup_azure_storage_account_name: ""
|
||||||
|
# logical_backup_azure_storage_container: ""
|
||||||
|
# logical_backup_azure_storage_account_key: ""
|
||||||
|
|
||||||
|
# resources for logical backup pod, if empty configPostgresPodResources will be used
|
||||||
|
# logical_backup_cpu_limit: ""
|
||||||
|
# logical_backup_cpu_request: ""
|
||||||
|
# logical_backup_memory_limit: ""
|
||||||
|
# logical_backup_memory_request: ""
|
||||||
|
|
||||||
|
# image for pods of the logical backup job (example runs pg_dumpall)
|
||||||
|
logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.10.1"
|
||||||
|
# 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", "gcs" or "az"
|
||||||
|
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"
|
||||||
|
# S3 retention time for stored backups for example "2 week" or "7 days"
|
||||||
|
logical_backup_s3_retention_time: ""
|
||||||
|
# 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: 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
|
||||||
|
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
|
||||||
|
- cron_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
|
||||||
|
|
||||||
|
# configure connection pooler deployment created by the operator
|
||||||
|
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-27"
|
||||||
|
# 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
|
||||||
|
|
||||||
|
configPatroni:
|
||||||
|
# enable Patroni DCS failsafe_mode feature
|
||||||
|
enable_patroni_failsafe_mode: false
|
||||||
|
|
||||||
|
# Zalando's internal CDC stream feature
|
||||||
|
enableStreams: false
|
||||||
|
|
||||||
|
rbac:
|
||||||
|
# Specifies whether RBAC resources should be created
|
||||||
|
create: true
|
||||||
|
# Specifies whether ClusterRoles that are aggregated into the K8s default roles should be created. (https://kubernetes.io/docs/reference/access-authn-authz/rbac/#default-roles-and-role-bindings)
|
||||||
|
createAggregateClusterRoles: false
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
# Allow to setup operator Deployment readiness probe
|
||||||
|
readinessProbe:
|
||||||
|
initialDelaySeconds: 5
|
||||||
|
periodSeconds: 10
|
||||||
|
|
||||||
|
# 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,5 +1,5 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 1.10.1
|
appVersion: 1.12.2
|
||||||
description: Postgres Operator creates and manages PostgreSQL clusters running in
|
description: Postgres Operator creates and manages PostgreSQL clusters running in
|
||||||
Kubernetes
|
Kubernetes
|
||||||
home: https://github.com/zalando/postgres-operator
|
home: https://github.com/zalando/postgres-operator
|
||||||
@ -15,4 +15,4 @@ maintainers:
|
|||||||
name: postgres-operator
|
name: postgres-operator
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/zalando/postgres-operator
|
- https://github.com/zalando/postgres-operator
|
||||||
version: 1.10.1
|
version: 1.12.2
|
||||||
|
|||||||
@ -68,7 +68,7 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
docker_image:
|
docker_image:
|
||||||
type: string
|
type: string
|
||||||
default: "ghcr.io/zalando/spilo-15:3.0-p1"
|
default: "ghcr.io/zalando/spilo-16:3.2-p3"
|
||||||
enable_crd_registration:
|
enable_crd_registration:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
@ -167,10 +167,10 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
minimal_major_version:
|
minimal_major_version:
|
||||||
type: string
|
type: string
|
||||||
default: "11"
|
default: "12"
|
||||||
target_major_version:
|
target_major_version:
|
||||||
type: string
|
type: string
|
||||||
default: "15"
|
default: "16"
|
||||||
kubernetes:
|
kubernetes:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -205,9 +205,18 @@ spec:
|
|||||||
enable_cross_namespace_secret:
|
enable_cross_namespace_secret:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
enable_finalizers:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
enable_init_containers:
|
enable_init_containers:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
|
enable_secrets_deletion:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
enable_persistent_volume_claim_deletion:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
enable_pod_antiaffinity:
|
enable_pod_antiaffinity:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
@ -275,9 +284,25 @@ spec:
|
|||||||
oauth_token_secret_name:
|
oauth_token_secret_name:
|
||||||
type: string
|
type: string
|
||||||
default: "postgresql-operator"
|
default: "postgresql-operator"
|
||||||
|
pdb_master_label_selector:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
pdb_name_format:
|
pdb_name_format:
|
||||||
type: string
|
type: string
|
||||||
default: "postgres-{cluster}-pdb"
|
default: "postgres-{cluster}-pdb"
|
||||||
|
persistent_volume_claim_retention_policy:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
when_deleted:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- "delete"
|
||||||
|
- "retain"
|
||||||
|
when_scaled:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- "delete"
|
||||||
|
- "retain"
|
||||||
pod_antiaffinity_preferred_during_scheduling:
|
pod_antiaffinity_preferred_during_scheduling:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
@ -349,19 +374,15 @@ spec:
|
|||||||
default_cpu_limit:
|
default_cpu_limit:
|
||||||
type: string
|
type: string
|
||||||
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
||||||
default: "1"
|
|
||||||
default_cpu_request:
|
default_cpu_request:
|
||||||
type: string
|
type: string
|
||||||
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
||||||
default: "100m"
|
|
||||||
default_memory_limit:
|
default_memory_limit:
|
||||||
type: string
|
type: string
|
||||||
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
default: "500Mi"
|
|
||||||
default_memory_request:
|
default_memory_request:
|
||||||
type: string
|
type: string
|
||||||
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
default: "100Mi"
|
|
||||||
max_cpu_request:
|
max_cpu_request:
|
||||||
type: string
|
type: string
|
||||||
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
||||||
@ -371,11 +392,9 @@ spec:
|
|||||||
min_cpu_limit:
|
min_cpu_limit:
|
||||||
type: string
|
type: string
|
||||||
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
||||||
default: "250m"
|
|
||||||
min_memory_limit:
|
min_memory_limit:
|
||||||
type: string
|
type: string
|
||||||
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
default: "250Mi"
|
|
||||||
timeouts:
|
timeouts:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -489,7 +508,7 @@ spec:
|
|||||||
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
||||||
logical_backup_docker_image:
|
logical_backup_docker_image:
|
||||||
type: string
|
type: string
|
||||||
default: "registry.opensource.zalan.do/acid/logical-backup:v1.10.1"
|
default: "ghcr.io/zalando/postgres-operator/logical-backup:v1.12.2"
|
||||||
logical_backup_google_application_credentials:
|
logical_backup_google_application_credentials:
|
||||||
type: string
|
type: string
|
||||||
logical_backup_job_prefix:
|
logical_backup_job_prefix:
|
||||||
@ -512,6 +531,8 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
logical_backup_s3_bucket:
|
logical_backup_s3_bucket:
|
||||||
type: string
|
type: string
|
||||||
|
logical_backup_s3_bucket_prefix:
|
||||||
|
type: string
|
||||||
logical_backup_s3_endpoint:
|
logical_backup_s3_endpoint:
|
||||||
type: string
|
type: string
|
||||||
logical_backup_s3_region:
|
logical_backup_s3_region:
|
||||||
@ -526,6 +547,8 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
pattern: '^(\d+|\*)(/\d+)?(\s+(\d+|\*)(/\d+)?){4}$'
|
pattern: '^(\d+|\*)(/\d+)?(\s+(\d+|\*)(/\d+)?){4}$'
|
||||||
default: "30 00 * * *"
|
default: "30 00 * * *"
|
||||||
|
logical_backup_cronjob_environment_secret:
|
||||||
|
type: string
|
||||||
debug:
|
debug:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -637,7 +660,7 @@ spec:
|
|||||||
default: "pooler"
|
default: "pooler"
|
||||||
connection_pooler_image:
|
connection_pooler_image:
|
||||||
type: string
|
type: string
|
||||||
default: "registry.opensource.zalan.do/acid/pgbouncer:master-27"
|
default: "registry.opensource.zalan.do/acid/pgbouncer:master-32"
|
||||||
connection_pooler_max_db_connections:
|
connection_pooler_max_db_connections:
|
||||||
type: integer
|
type: integer
|
||||||
default: 60
|
default: 60
|
||||||
@ -654,19 +677,15 @@ spec:
|
|||||||
connection_pooler_default_cpu_limit:
|
connection_pooler_default_cpu_limit:
|
||||||
type: string
|
type: string
|
||||||
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
||||||
default: "1"
|
|
||||||
connection_pooler_default_cpu_request:
|
connection_pooler_default_cpu_request:
|
||||||
type: string
|
type: string
|
||||||
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
|
||||||
default: "500m"
|
|
||||||
connection_pooler_default_memory_limit:
|
connection_pooler_default_memory_limit:
|
||||||
type: string
|
type: string
|
||||||
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
default: "100Mi"
|
|
||||||
connection_pooler_default_memory_request:
|
connection_pooler_default_memory_request:
|
||||||
type: string
|
type: string
|
||||||
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
default: "100Mi"
|
|
||||||
patroni:
|
patroni:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
@ -87,10 +87,14 @@ spec:
|
|||||||
- mountPath
|
- mountPath
|
||||||
- volumeSource
|
- volumeSource
|
||||||
properties:
|
properties:
|
||||||
|
isSubPathExpr:
|
||||||
|
type: boolean
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
mountPath:
|
mountPath:
|
||||||
type: string
|
type: string
|
||||||
|
subPath:
|
||||||
|
type: string
|
||||||
targetContainers:
|
targetContainers:
|
||||||
type: array
|
type: array
|
||||||
nullable: true
|
nullable: true
|
||||||
@ -99,8 +103,6 @@ spec:
|
|||||||
volumeSource:
|
volumeSource:
|
||||||
type: object
|
type: object
|
||||||
x-kubernetes-preserve-unknown-fields: true
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
subPath:
|
|
||||||
type: string
|
|
||||||
allowedSourceRanges:
|
allowedSourceRanges:
|
||||||
type: array
|
type: array
|
||||||
nullable: true
|
nullable: true
|
||||||
@ -215,6 +217,8 @@ spec:
|
|||||||
items:
|
items:
|
||||||
type: object
|
type: object
|
||||||
x-kubernetes-preserve-unknown-fields: true
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
logicalBackupRetention:
|
||||||
|
type: string
|
||||||
logicalBackupSchedule:
|
logicalBackupSchedule:
|
||||||
type: string
|
type: string
|
||||||
pattern: '^(\d+|\*)(/\d+)?(\s+(\d+|\*)(/\d+)?){4}$'
|
pattern: '^(\d+|\*)(/\d+)?(\s+(\d+|\*)(/\d+)?){4}$'
|
||||||
@ -371,12 +375,12 @@ spec:
|
|||||||
version:
|
version:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
- "10"
|
|
||||||
- "11"
|
- "11"
|
||||||
- "12"
|
- "12"
|
||||||
- "13"
|
- "13"
|
||||||
- "14"
|
- "14"
|
||||||
- "15"
|
- "15"
|
||||||
|
- "16"
|
||||||
parameters:
|
parameters:
|
||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
@ -441,6 +445,12 @@ spec:
|
|||||||
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
# Note: the value specified here must not be zero or be higher
|
# Note: the value specified here must not be zero or be higher
|
||||||
# than the corresponding limit.
|
# than the corresponding limit.
|
||||||
|
hugepages-2Mi:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
|
hugepages-1Gi:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
requests:
|
requests:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@ -450,6 +460,12 @@ spec:
|
|||||||
memory:
|
memory:
|
||||||
type: string
|
type: string
|
||||||
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
|
hugepages-2Mi:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
|
hugepages-1Gi:
|
||||||
|
type: string
|
||||||
|
pattern: '^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$'
|
||||||
schedulerName:
|
schedulerName:
|
||||||
type: string
|
type: string
|
||||||
serviceAnnotations:
|
serviceAnnotations:
|
||||||
@ -501,6 +517,8 @@ spec:
|
|||||||
type: integer
|
type: integer
|
||||||
database:
|
database:
|
||||||
type: string
|
type: string
|
||||||
|
enableRecovery:
|
||||||
|
type: boolean
|
||||||
filter:
|
filter:
|
||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
@ -518,6 +536,8 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
payloadColumn:
|
payloadColumn:
|
||||||
type: string
|
type: string
|
||||||
|
recoveryEventType:
|
||||||
|
type: string
|
||||||
teamId:
|
teamId:
|
||||||
type: string
|
type: string
|
||||||
tls:
|
tls:
|
||||||
@ -596,6 +616,11 @@ spec:
|
|||||||
- SUPERUSER
|
- SUPERUSER
|
||||||
- nosuperuser
|
- nosuperuser
|
||||||
- NOSUPERUSER
|
- NOSUPERUSER
|
||||||
|
usersIgnoringSecretRotation:
|
||||||
|
type: array
|
||||||
|
nullable: true
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
usersWithInPlaceSecretRotation:
|
usersWithInPlaceSecretRotation:
|
||||||
type: array
|
type: array
|
||||||
nullable: true
|
nullable: true
|
||||||
@ -611,6 +636,8 @@ spec:
|
|||||||
required:
|
required:
|
||||||
- size
|
- size
|
||||||
properties:
|
properties:
|
||||||
|
isSubPathExpr:
|
||||||
|
type: boolean
|
||||||
iops:
|
iops:
|
||||||
type: integer
|
type: integer
|
||||||
selector:
|
selector:
|
||||||
|
|||||||
@ -1,9 +1,97 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
entries:
|
entries:
|
||||||
postgres-operator:
|
postgres-operator:
|
||||||
|
- apiVersion: v2
|
||||||
|
appVersion: 1.12.1
|
||||||
|
created: "2024-06-10T12:32:31.856484906+02:00"
|
||||||
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
|
in Kubernetes
|
||||||
|
digest: 152080481a3971ab2f71600dae41d8a29d93d03537c5dff45fb9c995bfd9eef9
|
||||||
|
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.12.1.tgz
|
||||||
|
version: 1.12.1
|
||||||
|
- apiVersion: v2
|
||||||
|
appVersion: 1.12.0
|
||||||
|
created: "2024-06-10T12:32:31.848143762+02:00"
|
||||||
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
|
in Kubernetes
|
||||||
|
digest: d56e9471096d3e0dfd3a35619bfd8e81895979e95a0cad44eb021335814d19cf
|
||||||
|
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.12.0.tgz
|
||||||
|
version: 1.12.0
|
||||||
|
- apiVersion: v2
|
||||||
|
appVersion: 1.11.0
|
||||||
|
created: "2024-06-10T12:32:31.84219356+02:00"
|
||||||
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
|
in Kubernetes
|
||||||
|
digest: 3914b5e117bda0834f05c9207f007e2ac372864cf6e86dcc2e1362bbe46c14d9
|
||||||
|
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.11.0.tgz
|
||||||
|
version: 1.11.0
|
||||||
|
- apiVersion: v2
|
||||||
|
appVersion: 1.10.1
|
||||||
|
created: "2024-06-10T12:32:31.836895732+02:00"
|
||||||
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
|
in Kubernetes
|
||||||
|
digest: cc3baa41753da92466223d0b334df27e79c882296577b404a8e9071411fcf19c
|
||||||
|
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.10.1.tgz
|
||||||
|
version: 1.10.1
|
||||||
- apiVersion: v2
|
- apiVersion: v2
|
||||||
appVersion: 1.10.0
|
appVersion: 1.10.0
|
||||||
created: "2023-04-20T15:17:33.816556775+02:00"
|
created: "2024-06-10T12:32:31.831456969+02:00"
|
||||||
description: Postgres Operator creates and manages PostgreSQL clusters running
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
in Kubernetes
|
in Kubernetes
|
||||||
digest: 60fc5c8059dfed175d14e1034b40997d9c59d33ec8ea158c0597f7228ab04b51
|
digest: 60fc5c8059dfed175d14e1034b40997d9c59d33ec8ea158c0597f7228ab04b51
|
||||||
@ -25,7 +113,7 @@ entries:
|
|||||||
version: 1.10.0
|
version: 1.10.0
|
||||||
- apiVersion: v2
|
- apiVersion: v2
|
||||||
appVersion: 1.9.0
|
appVersion: 1.9.0
|
||||||
created: "2023-04-20T15:17:33.826385642+02:00"
|
created: "2024-06-10T12:32:31.867035666+02:00"
|
||||||
description: Postgres Operator creates and manages PostgreSQL clusters running
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
in Kubernetes
|
in Kubernetes
|
||||||
digest: 64df90c898ca591eb3a330328173ffaadfbf9ddd474d8c42ed143edc9e3f4276
|
digest: 64df90c898ca591eb3a330328173ffaadfbf9ddd474d8c42ed143edc9e3f4276
|
||||||
@ -47,7 +135,7 @@ entries:
|
|||||||
version: 1.9.0
|
version: 1.9.0
|
||||||
- apiVersion: v2
|
- apiVersion: v2
|
||||||
appVersion: 1.8.2
|
appVersion: 1.8.2
|
||||||
created: "2023-04-20T15:17:33.824908306+02:00"
|
created: "2024-06-10T12:32:31.86187559+02:00"
|
||||||
description: Postgres Operator creates and manages PostgreSQL clusters running
|
description: Postgres Operator creates and manages PostgreSQL clusters running
|
||||||
in Kubernetes
|
in Kubernetes
|
||||||
digest: f77ffad2e98b72a621e5527015cf607935d3ed688f10ba4b626435acb9631b5b
|
digest: f77ffad2e98b72a621e5527015cf607935d3ed688f10ba4b626435acb9631b5b
|
||||||
@ -67,92 +155,4 @@ entries:
|
|||||||
urls:
|
urls:
|
||||||
- postgres-operator-1.8.2.tgz
|
- postgres-operator-1.8.2.tgz
|
||||||
version: 1.8.2
|
version: 1.8.2
|
||||||
- apiVersion: v2
|
generated: "2024-06-10T12:32:31.825703117+02:00"
|
||||||
appVersion: 1.8.1
|
|
||||||
created: "2023-04-20T15:17:33.823470311+02:00"
|
|
||||||
description: Postgres Operator creates and manages PostgreSQL clusters running
|
|
||||||
in Kubernetes
|
|
||||||
digest: ee0c3bb6ba72fa4289ba3b1c6060e5b312dd023faba2a61b4cb7d9e5e2cc57a5
|
|
||||||
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.8.1.tgz
|
|
||||||
version: 1.8.1
|
|
||||||
- apiVersion: v1
|
|
||||||
appVersion: 1.8.0
|
|
||||||
created: "2023-04-20T15:17:33.822014945+02:00"
|
|
||||||
description: Postgres Operator creates and manages PostgreSQL clusters running
|
|
||||||
in Kubernetes
|
|
||||||
digest: 3ae232cf009e09aa2ad11c171484cd2f1b72e63c59735e58fbe2b6eb842f4c86
|
|
||||||
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.8.0.tgz
|
|
||||||
version: 1.8.0
|
|
||||||
- apiVersion: v1
|
|
||||||
appVersion: 1.7.1
|
|
||||||
created: "2023-04-20T15:17:33.819324505+02: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: "2023-04-20T15:17:33.817929939+02: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
|
|
||||||
generated: "2023-04-20T15:17:33.814720127+02:00"
|
|
||||||
|
|||||||
@ -38,6 +38,13 @@ Create a pod service account name.
|
|||||||
{{ default (printf "%s-%v" (include "postgres-operator.fullname" .) "pod") .Values.podServiceAccount.name }}
|
{{ default (printf "%s-%v" (include "postgres-operator.fullname" .) "pod") .Values.podServiceAccount.name }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create a pod priority class name.
|
||||||
|
*/}}
|
||||||
|
{{- define "postgres-pod.priorityClassName" -}}
|
||||||
|
{{ default (printf "%s-%v" (include "postgres-operator.fullname" .) "pod") .Values.podPriorityClassName.name }}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Create a controller ID.
|
Create a controller ID.
|
||||||
*/}}
|
*/}}
|
||||||
@ -63,8 +70,8 @@ Flatten nested config options when ConfigMap is used as ConfigTarget
|
|||||||
{{- $list := list }}
|
{{- $list := list }}
|
||||||
{{- range $subKey, $subValue := $value }}
|
{{- range $subKey, $subValue := $value }}
|
||||||
{{- $list = append $list (printf "%s:%s" $subKey $subValue) }}
|
{{- $list = append $list (printf "%s:%s" $subKey $subValue) }}
|
||||||
{{ $key }}: {{ join "," $list | quote }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{ $key }}: {{ join "," $list | quote }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{ $key }}: {{ $value | quote }}
|
{{ $key }}: {{ $value | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@ -10,9 +10,9 @@ 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 }}
|
||||||
data:
|
data:
|
||||||
{{- if .Values.podPriorityClassName }}
|
{{- if or .Values.podPriorityClassName.create .Values.podPriorityClassName.name }}
|
||||||
pod_priority_class_name: {{ .Values.podPriorityClassName }}
|
pod_priority_class_name: {{ include "postgres-pod.priorityClassName" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
pod_service_account_name: {{ include "postgres-pod.serviceAccountName" . }}
|
pod_service_account_name: {{ include "postgres-pod.serviceAccountName" . }}
|
||||||
{{- include "flattenValuesForConfigMap" .Values.configGeneral | indent 2 }}
|
{{- include "flattenValuesForConfigMap" .Values.configGeneral | indent 2 }}
|
||||||
{{- include "flattenValuesForConfigMap" .Values.configUsers | indent 2 }}
|
{{- include "flattenValuesForConfigMap" .Values.configUsers | indent 2 }}
|
||||||
|
|||||||
@ -14,32 +14,32 @@ configuration:
|
|||||||
users:
|
users:
|
||||||
{{ tpl (toYaml .Values.configUsers) . | indent 4 }}
|
{{ tpl (toYaml .Values.configUsers) . | indent 4 }}
|
||||||
major_version_upgrade:
|
major_version_upgrade:
|
||||||
{{ toYaml .Values.configMajorVersionUpgrade | indent 4 }}
|
{{ tpl (toYaml .Values.configMajorVersionUpgrade) . | indent 4 }}
|
||||||
kubernetes:
|
kubernetes:
|
||||||
{{- if .Values.podPriorityClassName }}
|
{{- if .Values.podPriorityClassName.name }}
|
||||||
pod_priority_class_name: {{ .Values.podPriorityClassName }}
|
pod_priority_class_name: {{ .Values.podPriorityClassName.name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
pod_service_account_name: {{ include "postgres-pod.serviceAccountName" . }}
|
pod_service_account_name: {{ include "postgres-pod.serviceAccountName" . }}
|
||||||
oauth_token_secret_name: {{ template "postgres-operator.fullname" . }}
|
oauth_token_secret_name: {{ template "postgres-operator.fullname" . }}
|
||||||
{{ tpl (toYaml .Values.configKubernetes) . | indent 4 }}
|
{{ tpl (toYaml .Values.configKubernetes) . | indent 4 }}
|
||||||
postgres_pod_resources:
|
postgres_pod_resources:
|
||||||
{{ toYaml .Values.configPostgresPodResources | indent 4 }}
|
{{ tpl (toYaml .Values.configPostgresPodResources) . | indent 4 }}
|
||||||
timeouts:
|
timeouts:
|
||||||
{{ toYaml .Values.configTimeouts | indent 4 }}
|
{{ tpl (toYaml .Values.configTimeouts) . | indent 4 }}
|
||||||
load_balancer:
|
load_balancer:
|
||||||
{{ toYaml .Values.configLoadBalancer | indent 4 }}
|
{{ tpl (toYaml .Values.configLoadBalancer) . | indent 4 }}
|
||||||
aws_or_gcp:
|
aws_or_gcp:
|
||||||
{{ toYaml .Values.configAwsOrGcp | indent 4 }}
|
{{ tpl (toYaml .Values.configAwsOrGcp) . | indent 4 }}
|
||||||
logical_backup:
|
logical_backup:
|
||||||
{{ toYaml .Values.configLogicalBackup | indent 4 }}
|
{{ tpl (toYaml .Values.configLogicalBackup) . | indent 4 }}
|
||||||
debug:
|
debug:
|
||||||
{{ toYaml .Values.configDebug | indent 4 }}
|
{{ tpl (toYaml .Values.configDebug) . | indent 4 }}
|
||||||
teams_api:
|
teams_api:
|
||||||
{{ tpl (toYaml .Values.configTeamsApi) . | indent 4 }}
|
{{ tpl (toYaml .Values.configTeamsApi) . | indent 4 }}
|
||||||
logging_rest_api:
|
logging_rest_api:
|
||||||
{{ toYaml .Values.configLoggingRestApi | indent 4 }}
|
{{ tpl (toYaml .Values.configLoggingRestApi) . | indent 4 }}
|
||||||
connection_pooler:
|
connection_pooler:
|
||||||
{{ toYaml .Values.configConnectionPooler | indent 4 }}
|
{{ tpl (toYaml .Values.configConnectionPooler) . | indent 4 }}
|
||||||
patroni:
|
patroni:
|
||||||
{{ toYaml .Values.configPatroni | indent 4 }}
|
{{ tpl (toYaml .Values.configPatroni) . | indent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
{{- if .Values.podPriorityClassName }}
|
{{- if .Values.podPriorityClassName.create }}
|
||||||
apiVersion: scheduling.k8s.io/v1
|
apiVersion: scheduling.k8s.io/v1
|
||||||
description: 'Use only for databases controlled by Postgres operator'
|
description: 'Use only for databases controlled by Postgres operator'
|
||||||
kind: PriorityClass
|
kind: PriorityClass
|
||||||
@ -8,9 +8,9 @@ metadata:
|
|||||||
helm.sh/chart: {{ template "postgres-operator.chart" . }}
|
helm.sh/chart: {{ template "postgres-operator.chart" . }}
|
||||||
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: {{ include "postgres-pod.priorityClassName" . }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
preemptionPolicy: PreemptLowerPriority
|
preemptionPolicy: PreemptLowerPriority
|
||||||
globalDefault: false
|
globalDefault: false
|
||||||
value: 1000000
|
value: {{ .Values.podPriorityClassName.priority }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
image:
|
image:
|
||||||
registry: registry.opensource.zalan.do
|
registry: ghcr.io
|
||||||
repository: acid/postgres-operator
|
repository: zalando/postgres-operator
|
||||||
tag: v1.10.1
|
tag: v1.12.2
|
||||||
pullPolicy: "IfNotPresent"
|
pullPolicy: "IfNotPresent"
|
||||||
|
|
||||||
# Optionally specify an array of imagePullSecrets.
|
# Optionally specify an array of imagePullSecrets.
|
||||||
@ -38,7 +38,7 @@ configGeneral:
|
|||||||
# etcd connection string for Patroni. Empty uses K8s-native DCS.
|
# etcd connection string for Patroni. Empty uses K8s-native DCS.
|
||||||
etcd_host: ""
|
etcd_host: ""
|
||||||
# Spilo docker image
|
# Spilo docker image
|
||||||
docker_image: ghcr.io/zalando/spilo-15:3.0-p1
|
docker_image: ghcr.io/zalando/spilo-16:3.2-p3
|
||||||
|
|
||||||
# key name for annotation to ignore globally configured instance limits
|
# key name for annotation to ignore globally configured instance limits
|
||||||
# ignore_instance_limits_annotation_key: ""
|
# ignore_instance_limits_annotation_key: ""
|
||||||
@ -89,9 +89,9 @@ configMajorVersionUpgrade:
|
|||||||
# - acid
|
# - acid
|
||||||
|
|
||||||
# minimal Postgres major version that will not automatically be upgraded
|
# minimal Postgres major version that will not automatically be upgraded
|
||||||
minimal_major_version: "11"
|
minimal_major_version: "12"
|
||||||
# target Postgres major version when upgrading clusters automatically
|
# target Postgres major version when upgrading clusters automatically
|
||||||
target_major_version: "15"
|
target_major_version: "16"
|
||||||
|
|
||||||
configKubernetes:
|
configKubernetes:
|
||||||
# list of additional capabilities for postgres container
|
# list of additional capabilities for postgres container
|
||||||
@ -123,8 +123,16 @@ configKubernetes:
|
|||||||
|
|
||||||
# allow user secrets in other namespaces than the Postgres cluster
|
# allow user secrets in other namespaces than the Postgres cluster
|
||||||
enable_cross_namespace_secret: false
|
enable_cross_namespace_secret: false
|
||||||
|
# use finalizers to ensure all managed resources are deleted prior to the postgresql CR
|
||||||
|
# this avoids stale resources in case the operator misses a delete event or is not running
|
||||||
|
# during deletion
|
||||||
|
enable_finalizers: 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 if operator should delete secrets on cluster deletion
|
||||||
|
enable_secrets_deletion: true
|
||||||
|
# toggles if operator should delete PVCs on cluster deletion
|
||||||
|
enable_persistent_volume_claim_deletion: 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
|
||||||
@ -163,8 +171,14 @@ configKubernetes:
|
|||||||
# 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
|
||||||
|
|
||||||
# defines the template for PDB (Pod Disruption Budget) names
|
# toggle if `spilo-role=master` selector should be added to the PDB (Pod Disruption Budget)
|
||||||
|
pdb_master_label_selector: true
|
||||||
|
# defines the template for PDB names
|
||||||
pdb_name_format: "postgres-{cluster}-pdb"
|
pdb_name_format: "postgres-{cluster}-pdb"
|
||||||
|
# specify the PVC retention policy when scaling down and/or deleting
|
||||||
|
persistent_volume_claim_retention_policy:
|
||||||
|
when_deleted: "retain"
|
||||||
|
when_scaled: "retain"
|
||||||
# switches pod anti affinity type to `preferredDuringSchedulingIgnoredDuringExecution`
|
# switches pod anti affinity type to `preferredDuringSchedulingIgnoredDuringExecution`
|
||||||
pod_antiaffinity_preferred_during_scheduling: false
|
pod_antiaffinity_preferred_during_scheduling: false
|
||||||
# override topology key for pod anti affinity
|
# override topology key for pod anti affinity
|
||||||
@ -348,7 +362,7 @@ configLogicalBackup:
|
|||||||
# logical_backup_memory_request: ""
|
# logical_backup_memory_request: ""
|
||||||
|
|
||||||
# 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.10.1"
|
logical_backup_docker_image: "ghcr.io/zalando/postgres-operator/logical-backup:v1.12.2"
|
||||||
# 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: ""
|
||||||
|
|
||||||
@ -360,6 +374,8 @@ 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 bucket prefix to use
|
||||||
|
logical_backup_s3_bucket_prefix: "spilo"
|
||||||
# S3 region of bucket
|
# S3 region of bucket
|
||||||
logical_backup_s3_region: ""
|
logical_backup_s3_region: ""
|
||||||
# S3 endpoint url when not using AWS
|
# S3 endpoint url when not using AWS
|
||||||
@ -372,6 +388,8 @@ configLogicalBackup:
|
|||||||
logical_backup_s3_retention_time: ""
|
logical_backup_s3_retention_time: ""
|
||||||
# backup schedule in the cron format
|
# backup schedule in the cron format
|
||||||
logical_backup_schedule: "30 00 * * *"
|
logical_backup_schedule: "30 00 * * *"
|
||||||
|
# secret to be used as reference for env variables in cronjob
|
||||||
|
logical_backup_cronjob_environment_secret: ""
|
||||||
|
|
||||||
# automate creation of human users with teams API service
|
# automate creation of human users with teams API service
|
||||||
configTeamsApi:
|
configTeamsApi:
|
||||||
@ -416,7 +434,7 @@ 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-27"
|
connection_pooler_image: "registry.opensource.zalan.do/acid/pgbouncer:master-32"
|
||||||
# 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
|
||||||
@ -458,7 +476,14 @@ podServiceAccount:
|
|||||||
priorityClassName: ""
|
priorityClassName: ""
|
||||||
|
|
||||||
# priority class for database pods
|
# priority class for database pods
|
||||||
podPriorityClassName: ""
|
podPriorityClassName:
|
||||||
|
# If create is false with no name set, no podPriorityClassName is specified.
|
||||||
|
# Hence, the pod priorityClass is the one with globalDefault set.
|
||||||
|
# If there is no PriorityClass with globalDefault set, the priority of Pods with no priorityClassName is zero.
|
||||||
|
create: true
|
||||||
|
# If not set a name is generated using the fullname template and "-pod" suffix
|
||||||
|
name: ""
|
||||||
|
priority: 1000000
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|||||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user