Add the default configuration.
This commit is contained in:
		
							parent
							
								
									5a1b944fed
								
							
						
					
					
						commit
						5a6aa9b6d9
					
				|  | @ -0,0 +1,78 @@ | |||
| apiVersion: "acid.zalan.do/v1" | ||||
| kind: postgresql-operator-configuration | ||||
| metadata: | ||||
|   name: postgresql-operator-default-configuration | ||||
| configuration: | ||||
|   etcd_host: "" | ||||
|   docker_image: registry.opensource.zalan.do/acid/spilo-cdp-10:1.4-p8 | ||||
|   workers: 4 | ||||
|   min_instances: -1 | ||||
|   max_instances: -1 | ||||
|   resync_period: 5m | ||||
|   users: | ||||
|     super_username: postgres | ||||
|     replication_username: standby | ||||
|   kubernetes: | ||||
|     pod_service_account_name: operator | ||||
|     pod_terminate_grace_period: 5m | ||||
|     pdb_name_format: postgres-{cluster}-pdb | ||||
|     secret_name_template: {username}.{cluster}.credentials.{tprkind}.{tprgroup} | ||||
|     oauth_token_secret_name: postgresql-operator | ||||
|     pod_role_label: spilo-role | ||||
|     cluster_labels: | ||||
|         application: splio | ||||
|     cluster_name_label: cluster-name | ||||
|     # watched_namespace:""  | ||||
|     # node_readiness_label: "" | ||||
|     # toleration: {} | ||||
|     # infrastructure_roles_secret_name: "" | ||||
|     # pod_environment_configmap: "" | ||||
|   postgres_pod_resources: | ||||
|     default_cpu_request: 100m | ||||
|     default_memory_request: 100Mi | ||||
|     default_cpu_limit: 3 | ||||
|     default_memory_limit: 1Gi | ||||
|   timeouts: | ||||
|     resource_check_interval: 3s | ||||
|     resource_check_timeout: 10m | ||||
|     pod_label_wait_timeout: 10m | ||||
|     pod_deletion_wait_timeout: 10m | ||||
|     ready_wait_interval: 4s | ||||
|     ready_wait_timeout: 30s | ||||
|   load_balancer: | ||||
|     enable_master_load_balancer: false | ||||
|     enable_replica_load_balancer: false | ||||
|     master_dns_name_format: {cluster}.{team}.{hostedzone} | ||||
|     replica_dns_name_format: {cluster}-repl.{team}.{hostedzone} | ||||
|   aws_or_gcp: | ||||
|     # db_hosted_zone: "" | ||||
|     # wal_s3_bucket: ""  | ||||
|     # log_s3_bucket: "" | ||||
|     # kube_iam_role: "" | ||||
|   debug: | ||||
|     debug_logging: true | ||||
|     enable_database_access: true | ||||
|   teams_api: | ||||
|     enable_teams_api: false | ||||
|     team_api_role_configuration:  | ||||
|       log_statement: all | ||||
|     enable_team_superuser: false | ||||
|     team_admin_role: admin | ||||
|     pam_role_name: zalandos | ||||
|     # pam_configuration: "" | ||||
|     protected_role_names:  | ||||
|       - admin | ||||
|     # teams_api_url: "" | ||||
|   logging_rest_api: | ||||
|     api_port: 8008 | ||||
|     ring_log_lines: 100 | ||||
|     cluster_history_entries: 1000 | ||||
|   scalyr: | ||||
|     scalyr_cpu_request: 100m | ||||
|     scalyr_memory_request: 50Mi | ||||
|     scalyr_cpu_limit: 1 | ||||
|     scalyr_memory_limit: 1Gi | ||||
|     # scalyr_api_key: "" | ||||
|     # scalyr_image: "" | ||||
|     # scalyr_server_url: "" | ||||
| 
 | ||||
		Loading…
	
		Reference in New Issue