diff --git a/1 b/1 deleted file mode 100644 index 60efe2b9ce..0000000000 --- a/1 +++ /dev/null @@ -1,388 +0,0 @@ -2024-09-27T10:48:02.600+0200 | INFO | FUNCTIONS | appcat/log.go:27 | Starting up Crossplane Functions Server | {"date": "2024-09-27T10:48:02.600+0200", "go_os": "linux", "go_arch": "amd64", "go_version": "go1.22.3", "uid": 1000, "gid": 1000} -2024-09-27T10:48:02.600+0200 | INFO | FUNCTIONS | cmd/functions.go:55 | Listening for grpc calls | {"address": ":9443", "network": "tcp", "insecure": true, "proxy": false} -2024-09-27T10:48:04.177+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:132 | Function triggered -2024-09-27T10:48:04.177+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:150 | Running service | {"name": "miniobucket"} -2024-09-27T10:48:04.177+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "provision-bucket"} -2024-09-27T10:48:04.179+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:876 | Running readiness check for objects | {"resource": "postgresql-widera-test2-rt9dm", "count": 3} -2024-09-27T10:48:04.179+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test2-rt9dm", "composed-resource-name": "minio-bucket"} -2024-09-27T10:48:04.179+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test2-rt9dm", "composed-resource-name": "minio-bucket"} -2024-09-27T10:48:04.180+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test2-rt9dm", "composed-resource-name": "minio-policy"} -2024-09-27T10:48:04.180+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test2-rt9dm", "composed-resource-name": "minio-policy"} -2024-09-27T10:48:04.180+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test2-rt9dm", "composed-resource-name": "minio-user"} -2024-09-27T10:48:04.180+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test2-rt9dm", "composed-resource-name": "minio-user"} -2024-09-27T10:48:04.244+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:132 | Function triggered -2024-09-27T10:48:04.244+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:150 | Running service | {"name": "miniobucket"} -2024-09-27T10:48:04.244+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "provision-bucket"} -2024-09-27T10:48:04.245+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:876 | Running readiness check for objects | {"resource": "postgresql-widera-test2-rt9dm", "count": 3} -2024-09-27T10:48:04.245+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test2-rt9dm", "composed-resource-name": "minio-bucket"} -2024-09-27T10:48:04.245+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test2-rt9dm", "composed-resource-name": "minio-bucket"} -2024-09-27T10:48:04.245+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test2-rt9dm", "composed-resource-name": "minio-policy"} -2024-09-27T10:48:04.245+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test2-rt9dm", "composed-resource-name": "minio-policy"} -2024-09-27T10:48:04.245+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test2-rt9dm", "composed-resource-name": "minio-user"} -2024-09-27T10:48:04.245+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test2-rt9dm", "composed-resource-name": "minio-user"} -2024-09-27T10:48:11.459+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:132 | Function triggered -2024-09-27T10:48:11.460+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:150 | Running service | {"name": "miniobucket"} -2024-09-27T10:48:11.460+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "provision-bucket"} -2024-09-27T10:48:11.462+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:876 | Running readiness check for objects | {"resource": "appcat-sla-reports-9brxz", "claimNamespace": "appcat-slos", "claimName": "appcat-sla-reports", "count": 3} -2024-09-27T10:48:11.462+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "appcat-sla-reports-9brxz", "claimNamespace": "appcat-slos", "claimName": "appcat-sla-reports", "composed-resource-name": "minio-bucket"} -2024-09-27T10:48:11.462+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "appcat-sla-reports-9brxz", "claimNamespace": "appcat-slos", "claimName": "appcat-sla-reports", "composed-resource-name": "minio-bucket"} -2024-09-27T10:48:11.462+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "appcat-sla-reports-9brxz", "claimNamespace": "appcat-slos", "claimName": "appcat-sla-reports", "composed-resource-name": "minio-policy"} -2024-09-27T10:48:11.462+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "appcat-sla-reports-9brxz", "claimNamespace": "appcat-slos", "claimName": "appcat-sla-reports", "composed-resource-name": "minio-policy"} -2024-09-27T10:48:11.462+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "appcat-sla-reports-9brxz", "claimNamespace": "appcat-slos", "claimName": "appcat-sla-reports", "composed-resource-name": "minio-user"} -2024-09-27T10:48:11.462+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "appcat-sla-reports-9brxz", "claimNamespace": "appcat-slos", "claimName": "appcat-sla-reports", "composed-resource-name": "minio-user"} -2024-09-27T10:48:11.526+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:132 | Function triggered -2024-09-27T10:48:11.526+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:150 | Running service | {"name": "miniobucket"} -2024-09-27T10:48:11.526+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "provision-bucket"} -2024-09-27T10:48:11.527+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:876 | Running readiness check for objects | {"resource": "appcat-sla-reports-9brxz", "claimNamespace": "appcat-slos", "claimName": "appcat-sla-reports", "count": 3} -2024-09-27T10:48:11.527+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "appcat-sla-reports-9brxz", "claimNamespace": "appcat-slos", "claimName": "appcat-sla-reports", "composed-resource-name": "minio-bucket"} -2024-09-27T10:48:11.527+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "appcat-sla-reports-9brxz", "claimNamespace": "appcat-slos", "claimName": "appcat-sla-reports", "composed-resource-name": "minio-bucket"} -2024-09-27T10:48:11.527+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "appcat-sla-reports-9brxz", "claimNamespace": "appcat-slos", "claimName": "appcat-sla-reports", "composed-resource-name": "minio-policy"} -2024-09-27T10:48:11.527+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "appcat-sla-reports-9brxz", "claimNamespace": "appcat-slos", "claimName": "appcat-sla-reports", "composed-resource-name": "minio-policy"} -2024-09-27T10:48:11.527+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "appcat-sla-reports-9brxz", "claimNamespace": "appcat-slos", "claimName": "appcat-sla-reports", "composed-resource-name": "minio-user"} -2024-09-27T10:48:11.527+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "appcat-sla-reports-9brxz", "claimNamespace": "appcat-slos", "claimName": "appcat-sla-reports", "composed-resource-name": "minio-user"} -2024-09-27T10:48:12.662+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:132 | Function triggered -2024-09-27T10:48:12.662+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:150 | Running service | {"name": "postgresql"} -2024-09-27T10:48:12.662+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "deploy"} -2024-09-27T10:48:12.663+0200 | INFO | FUNCTIONS | vshnpostgres/postgresql_deploy.go:49 | Bootstrapping instance namespace and rbac rules | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.663+0200 | INFO | FUNCTIONS | common/instance_namespace.go:36 | creating namespace observer for postgresql claim namespace | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.664+0200 | INFO | FUNCTIONS | common/instance_namespace.go:42 | Creating namespace for postgresql instance | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.664+0200 | INFO | FUNCTIONS | common/instance_namespace.go:100 | cannot get claim namespace | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.664+0200 | INFO | FUNCTIONS | common/instance_namespace.go:48 | Creating rbac rules for postgresql instance | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.664+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "connectiondetails"} -2024-09-27T10:48:12.664+0200 | INFO | FUNCTIONS | vshnpostgres/connection_details.go:44 | Making sure the cluster exposed connection details | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.664+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "user-alerting"} -2024-09-27T10:48:12.664+0200 | INFO | FUNCTIONS | common/alerting.go:24 | Checking if alerting references are set | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.664+0200 | DEBUG | FUNCTIONS | common/alerting.go:26 | Transforming | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n", "obj": {"Log":{},"Config":{"kind":"ConfigMap","apiVersion":"v1","metadata":{"name":"xfn-config","creationTimestamp":null,"labels":{"name":"xfn-config"}},"data":{"bucketEndpoint":"http://minio-server.minio:9000","bucketRegion":"ch-gva-2","controlNamespace":"syn-appcat-control","crossplaneNamespace":"syn-crossplane","emailAlertingEnabled":"true","emailAlertingSecretName":"mailgun-smtp-credentials","emailAlertingSecretNamespace":"syn-appcat","emailAlertingSmtpFromAddress":"myuser@example.com","emailAlertingSmtpHost":"smtp.eu.mailgun.org:465","emailAlertingSmtpUsername":"myuser@example.com","externalDatabaseConnectionsEnabled":"true","imageTag":"v4.94.0","initContainers":"{\"clusterReconciliationCycle\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"200Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"pgbouncerAuthFile\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"relocateBinaries\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"setDbopsRunning\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}}, \"setupArbitraryUser\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"500Mi\"}}, \"setupScripts\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"500Mi\"}}}","isOpenshift":"false","keepMetrics":"[\"pg_locks_count\", \"pg_postmaster_start_time_seconds\", \"pg_replication_lag\", \"pg_settings_effective_cache_size_bytes\", \"pg_settings_maintenance_work_mem_bytes\", \"pg_settings_max_connections\", \"pg_settings_max_parallel_workers\", \"pg_settings_max_wal_size_bytes\", \"pg_settings_max_worker_processes\", \"pg_settings_shared_buffers_bytes\", \"pg_settings_work_mem_bytes\", \"pg_stat_activity_count\", \"pg_stat_bgwriter_buffers_alloc_total\", \"pg_stat_bgwriter_buffers_backend_fsync_total\", \"pg_stat_bgwriter_buffers_backend_total\", \"pg_stat_bgwriter_buffers_checkpoint_total\", \"pg_stat_bgwriter_buffers_clean_total\", \"pg_stat_database_blks_hit\", \"pg_stat_database_blks_read\", \"pg_stat_database_conflicts\", \"pg_stat_database_deadlocks\", \"pg_stat_database_temp_bytes\", \"pg_stat_database_xact_commit\", \"pg_stat_database_xact_rollback\", \"pg_static\", \"pg_up\", \"pgbouncer_show_stats_total_xact_count\", \"pgbouncer_show_stats_totals_bytes_received\", \"pgbouncer_show_stats_totals_bytes_sent\"]","loadbalancerAnnotations":"foo: bar\n","ownerGroup":"vshn.appcat.vshn.io","ownerKind":"XVSHNPostgreSQL","ownerVersion":"v1","plans":"{\"plus-2\": {\"note\": \"Will be scheduled on APPUiO Cloud plus nodes\", \"scheduling\": {\"nodeSelector\": {\"appuio.io/node-class\": \"plus\"}}, \"size\": {\"cpu\": \"400m\", \"disk\": \"20Gi\", \"enabled\": true, \"memory\": \"1936Mi\"}}, \"plus-4\": {\"note\": \"Will be scheduled on APPUiO Cloud plus nodes\", \"scheduling\": {\"nodeSelector\": {\"appuio.io/node-class\": \"plus\"}}, \"size\": {\"cpu\": \"900m\", \"disk\": \"40Gi\", \"enabled\": true, \"memory\": \"3984Mi\"}}, \"standard-2\": {\"size\": {\"cpu\": \"400m\", \"disk\": \"20Gi\", \"enabled\": true, \"memory\": \"1936Mi\"}}, \"standard-4\": {\"size\": {\"cpu\": \"900m\", \"disk\": \"40Gi\", \"enabled\": true, \"memory\": \"3984Mi\"}}}","proxyEndpoint":"172.17.0.1:9443","quotasEnabled":"false","serviceName":"postgresql","sgNamespace":"stackgres","sideCars":"{\"clusterController\": {\"limits\": {\"cpu\": \"32m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"32m\", \"memory\": \"128Mi\"}}, \"createBackup\": {\"limits\": {\"cpu\": \"400m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}, \"envoy\": {\"limits\": {\"cpu\": \"64m\", \"memory\": \"64Mi\"}, \"requests\": {\"cpu\": \"32m\", \"memory\": \"64Mi\"}}, \"pgbouncer\": {\"limits\": {\"cpu\": \"32m\", \"memory\": \"20Mi\"}, \"requests\": {\"cpu\": \"16m\", \"memory\": \"4Mi\"}}, \"postgresUtil\": {\"limits\": {\"cpu\": \"20m\", \"memory\": \"20Mi\"}, \"requests\": {\"cpu\": \"10m\", \"memory\": \"4Mi\"}}, \"prometheusPostgresExporter\": {\"limits\": {\"cpu\": \"150m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"10m\", \"memory\": \"16Mi\"}}, \"runDbops\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}, \"setDbopsResult\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}}","sliNamespace":"appcat-slos"}}}} -2024-09-27T10:48:12.664+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "restart"} -2024-09-27T10:48:12.665+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "random-default-schedule"} -2024-09-27T10:48:12.665+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "encrypted-pvc-secret"} -2024-09-27T10:48:12.665+0200 | INFO | FUNCTIONS | vshnpostgres/encrypted_pvc.go:31 | Check if encrypted storage is enabled | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.665+0200 | DEBUG | FUNCTIONS | vshnpostgres/encrypted_pvc.go:33 | Transforming | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.665+0200 | INFO | FUNCTIONS | vshnpostgres/encrypted_pvc.go:42 | Adding secret to composite | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.665+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "maintenance-job"} -2024-09-27T10:48:12.665+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "mailgun-alerting"} -2024-09-27T10:48:12.665+0200 | INFO | FUNCTIONS | common/mailgun_alerting.go:22 | Starting mailgun-alerting function | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.665+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "extensions"} -2024-09-27T10:48:12.665+0200 | INFO | FUNCTIONS | vshnpostgres/extensions.go:27 | Starting extensions function | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.666+0200 | INFO | FUNCTIONS | vshnpostgres/extensions.go:117 | no pg-conf found | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.666+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "load-balancer"} -2024-09-27T10:48:12.666+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "delay-cluster-deployment"} -2024-09-27T10:48:12.666+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "non-sla-prometheus-rules"} -2024-09-27T10:48:12.666+0200 | INFO | FUNCTIONS | nonsla/non_sla_prom_rules.go:19 | Starting non SLA prometheus rules | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.666+0200 | DEBUG | FUNCTIONS | nonsla/non_sla_prom_rules.go:21 | Transforming | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n", "obj": {"Log":{},"Config":{"kind":"ConfigMap","apiVersion":"v1","metadata":{"name":"xfn-config","creationTimestamp":null,"labels":{"name":"xfn-config"}},"data":{"bucketEndpoint":"http://minio-server.minio:9000","bucketRegion":"ch-gva-2","controlNamespace":"syn-appcat-control","crossplaneNamespace":"syn-crossplane","emailAlertingEnabled":"true","emailAlertingSecretName":"mailgun-smtp-credentials","emailAlertingSecretNamespace":"syn-appcat","emailAlertingSmtpFromAddress":"myuser@example.com","emailAlertingSmtpHost":"smtp.eu.mailgun.org:465","emailAlertingSmtpUsername":"myuser@example.com","externalDatabaseConnectionsEnabled":"true","imageTag":"v4.94.0","initContainers":"{\"clusterReconciliationCycle\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"200Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"pgbouncerAuthFile\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"relocateBinaries\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"setDbopsRunning\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}}, \"setupArbitraryUser\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"500Mi\"}}, \"setupScripts\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"500Mi\"}}}","isOpenshift":"false","keepMetrics":"[\"pg_locks_count\", \"pg_postmaster_start_time_seconds\", \"pg_replication_lag\", \"pg_settings_effective_cache_size_bytes\", \"pg_settings_maintenance_work_mem_bytes\", \"pg_settings_max_connections\", \"pg_settings_max_parallel_workers\", \"pg_settings_max_wal_size_bytes\", \"pg_settings_max_worker_processes\", \"pg_settings_shared_buffers_bytes\", \"pg_settings_work_mem_bytes\", \"pg_stat_activity_count\", \"pg_stat_bgwriter_buffers_alloc_total\", \"pg_stat_bgwriter_buffers_backend_fsync_total\", \"pg_stat_bgwriter_buffers_backend_total\", \"pg_stat_bgwriter_buffers_checkpoint_total\", \"pg_stat_bgwriter_buffers_clean_total\", \"pg_stat_database_blks_hit\", \"pg_stat_database_blks_read\", \"pg_stat_database_conflicts\", \"pg_stat_database_deadlocks\", \"pg_stat_database_temp_bytes\", \"pg_stat_database_xact_commit\", \"pg_stat_database_xact_rollback\", \"pg_static\", \"pg_up\", \"pgbouncer_show_stats_total_xact_count\", \"pgbouncer_show_stats_totals_bytes_received\", \"pgbouncer_show_stats_totals_bytes_sent\"]","loadbalancerAnnotations":"foo: bar\n","ownerGroup":"vshn.appcat.vshn.io","ownerKind":"XVSHNPostgreSQL","ownerVersion":"v1","plans":"{\"plus-2\": {\"note\": \"Will be scheduled on APPUiO Cloud plus nodes\", \"scheduling\": {\"nodeSelector\": {\"appuio.io/node-class\": \"plus\"}}, \"size\": {\"cpu\": \"400m\", \"disk\": \"20Gi\", \"enabled\": true, \"memory\": \"1936Mi\"}}, \"plus-4\": {\"note\": \"Will be scheduled on APPUiO Cloud plus nodes\", \"scheduling\": {\"nodeSelector\": {\"appuio.io/node-class\": \"plus\"}}, \"size\": {\"cpu\": \"900m\", \"disk\": \"40Gi\", \"enabled\": true, \"memory\": \"3984Mi\"}}, \"standard-2\": {\"size\": {\"cpu\": \"400m\", \"disk\": \"20Gi\", \"enabled\": true, \"memory\": \"1936Mi\"}}, \"standard-4\": {\"size\": {\"cpu\": \"900m\", \"disk\": \"40Gi\", \"enabled\": true, \"memory\": \"3984Mi\"}}}","proxyEndpoint":"172.17.0.1:9443","quotasEnabled":"false","serviceName":"postgresql","sgNamespace":"stackgres","sideCars":"{\"clusterController\": {\"limits\": {\"cpu\": \"32m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"32m\", \"memory\": \"128Mi\"}}, \"createBackup\": {\"limits\": {\"cpu\": \"400m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}, \"envoy\": {\"limits\": {\"cpu\": \"64m\", \"memory\": \"64Mi\"}, \"requests\": {\"cpu\": \"32m\", \"memory\": \"64Mi\"}}, \"pgbouncer\": {\"limits\": {\"cpu\": \"32m\", \"memory\": \"20Mi\"}, \"requests\": {\"cpu\": \"16m\", \"memory\": \"4Mi\"}}, \"postgresUtil\": {\"limits\": {\"cpu\": \"20m\", \"memory\": \"20Mi\"}, \"requests\": {\"cpu\": \"10m\", \"memory\": \"4Mi\"}}, \"prometheusPostgresExporter\": {\"limits\": {\"cpu\": \"150m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"10m\", \"memory\": \"16Mi\"}}, \"runDbops\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}, \"setDbopsResult\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}}","sliNamespace":"appcat-slos"}}}} -2024-09-27T10:48:12.667+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "pgbouncer-settings"} -2024-09-27T10:48:12.667+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "pg-exporter-Workaround"} -2024-09-27T10:48:12.667+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "ensure-objectbucket-labels"} -2024-09-27T10:48:12.668+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "user-management"} -2024-09-27T10:48:12.668+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "pdb"} -2024-09-27T10:48:12.668+0200 | INFO | FUNCTIONS | common/pdb.go:27 | Checking if PDB is needed | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n", "service": "postgresql-widera-test2-8g46n-g4glg", "instances": 1} -2024-09-27T10:48:12.668+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:876 | Running readiness check for objects | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n", "count": 6} -2024-09-27T10:48:12.668+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:887 | Ignoring desired resource that does not appear in observed resources | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n", "composed-resource-name": "postgresql-widera-test2-8g46n-g4glg-non-slo-rules"} -2024-09-27T10:48:12.668+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:887 | Ignoring desired resource that does not appear in observed resources | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n", "composed-resource-name": "postgresql-widera-test2-8g46n-g4glg"} -2024-09-27T10:48:12.668+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:887 | Ignoring desired resource that does not appear in observed resources | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n", "composed-resource-name": "postgresql-widera-test2-8g46n-g4glg-claim-ns-observer"} -2024-09-27T10:48:12.668+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:887 | Ignoring desired resource that does not appear in observed resources | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n", "composed-resource-name": "postgresql-widera-test2-8g46n-g4glg-ns-conf-observer"} -2024-09-27T10:48:12.668+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:887 | Ignoring desired resource that does not appear in observed resources | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n", "composed-resource-name": "namespace-conditions"} -2024-09-27T10:48:12.668+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:887 | Ignoring desired resource that does not appear in observed resources | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n", "composed-resource-name": "postgresql-widera-test2-8g46n-g4glg-primary-service"} -2024-09-27T10:48:12.695+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:132 | Function triggered -2024-09-27T10:48:12.695+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:150 | Running service | {"name": "postgresql"} -2024-09-27T10:48:12.695+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "deploy"} -2024-09-27T10:48:12.695+0200 | INFO | FUNCTIONS | vshnpostgres/postgresql_deploy.go:49 | Bootstrapping instance namespace and rbac rules | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.695+0200 | INFO | FUNCTIONS | common/instance_namespace.go:36 | creating namespace observer for postgresql claim namespace | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.696+0200 | INFO | FUNCTIONS | common/instance_namespace.go:42 | Creating namespace for postgresql instance | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.696+0200 | INFO | FUNCTIONS | common/instance_namespace.go:100 | cannot get claim namespace | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.696+0200 | INFO | FUNCTIONS | common/instance_namespace.go:48 | Creating rbac rules for postgresql instance | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.696+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "connectiondetails"} -2024-09-27T10:48:12.696+0200 | INFO | FUNCTIONS | vshnpostgres/connection_details.go:44 | Making sure the cluster exposed connection details | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.696+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "user-alerting"} -2024-09-27T10:48:12.696+0200 | INFO | FUNCTIONS | common/alerting.go:24 | Checking if alerting references are set | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.696+0200 | DEBUG | FUNCTIONS | common/alerting.go:26 | Transforming | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n", "obj": {"Log":{},"Config":{"kind":"ConfigMap","apiVersion":"v1","metadata":{"name":"xfn-config","creationTimestamp":null,"labels":{"name":"xfn-config"}},"data":{"bucketEndpoint":"http://minio-server.minio:9000","bucketRegion":"ch-gva-2","controlNamespace":"syn-appcat-control","crossplaneNamespace":"syn-crossplane","emailAlertingEnabled":"true","emailAlertingSecretName":"mailgun-smtp-credentials","emailAlertingSecretNamespace":"syn-appcat","emailAlertingSmtpFromAddress":"myuser@example.com","emailAlertingSmtpHost":"smtp.eu.mailgun.org:465","emailAlertingSmtpUsername":"myuser@example.com","externalDatabaseConnectionsEnabled":"true","imageTag":"v4.94.0","initContainers":"{\"clusterReconciliationCycle\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"200Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"pgbouncerAuthFile\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"relocateBinaries\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"setDbopsRunning\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}}, \"setupArbitraryUser\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"500Mi\"}}, \"setupScripts\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"500Mi\"}}}","isOpenshift":"false","keepMetrics":"[\"pg_locks_count\", \"pg_postmaster_start_time_seconds\", \"pg_replication_lag\", \"pg_settings_effective_cache_size_bytes\", \"pg_settings_maintenance_work_mem_bytes\", \"pg_settings_max_connections\", \"pg_settings_max_parallel_workers\", \"pg_settings_max_wal_size_bytes\", \"pg_settings_max_worker_processes\", \"pg_settings_shared_buffers_bytes\", \"pg_settings_work_mem_bytes\", \"pg_stat_activity_count\", \"pg_stat_bgwriter_buffers_alloc_total\", \"pg_stat_bgwriter_buffers_backend_fsync_total\", \"pg_stat_bgwriter_buffers_backend_total\", \"pg_stat_bgwriter_buffers_checkpoint_total\", \"pg_stat_bgwriter_buffers_clean_total\", \"pg_stat_database_blks_hit\", \"pg_stat_database_blks_read\", \"pg_stat_database_conflicts\", \"pg_stat_database_deadlocks\", \"pg_stat_database_temp_bytes\", \"pg_stat_database_xact_commit\", \"pg_stat_database_xact_rollback\", \"pg_static\", \"pg_up\", \"pgbouncer_show_stats_total_xact_count\", \"pgbouncer_show_stats_totals_bytes_received\", \"pgbouncer_show_stats_totals_bytes_sent\"]","loadbalancerAnnotations":"foo: bar\n","ownerGroup":"vshn.appcat.vshn.io","ownerKind":"XVSHNPostgreSQL","ownerVersion":"v1","plans":"{\"plus-2\": {\"note\": \"Will be scheduled on APPUiO Cloud plus nodes\", \"scheduling\": {\"nodeSelector\": {\"appuio.io/node-class\": \"plus\"}}, \"size\": {\"cpu\": \"400m\", \"disk\": \"20Gi\", \"enabled\": true, \"memory\": \"1936Mi\"}}, \"plus-4\": {\"note\": \"Will be scheduled on APPUiO Cloud plus nodes\", \"scheduling\": {\"nodeSelector\": {\"appuio.io/node-class\": \"plus\"}}, \"size\": {\"cpu\": \"900m\", \"disk\": \"40Gi\", \"enabled\": true, \"memory\": \"3984Mi\"}}, \"standard-2\": {\"size\": {\"cpu\": \"400m\", \"disk\": \"20Gi\", \"enabled\": true, \"memory\": \"1936Mi\"}}, \"standard-4\": {\"size\": {\"cpu\": \"900m\", \"disk\": \"40Gi\", \"enabled\": true, \"memory\": \"3984Mi\"}}}","proxyEndpoint":"172.17.0.1:9443","quotasEnabled":"false","serviceName":"postgresql","sgNamespace":"stackgres","sideCars":"{\"clusterController\": {\"limits\": {\"cpu\": \"32m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"32m\", \"memory\": \"128Mi\"}}, \"createBackup\": {\"limits\": {\"cpu\": \"400m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}, \"envoy\": {\"limits\": {\"cpu\": \"64m\", \"memory\": \"64Mi\"}, \"requests\": {\"cpu\": \"32m\", \"memory\": \"64Mi\"}}, \"pgbouncer\": {\"limits\": {\"cpu\": \"32m\", \"memory\": \"20Mi\"}, \"requests\": {\"cpu\": \"16m\", \"memory\": \"4Mi\"}}, \"postgresUtil\": {\"limits\": {\"cpu\": \"20m\", \"memory\": \"20Mi\"}, \"requests\": {\"cpu\": \"10m\", \"memory\": \"4Mi\"}}, \"prometheusPostgresExporter\": {\"limits\": {\"cpu\": \"150m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"10m\", \"memory\": \"16Mi\"}}, \"runDbops\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}, \"setDbopsResult\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}}","sliNamespace":"appcat-slos"}}}} -2024-09-27T10:48:12.696+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "restart"} -2024-09-27T10:48:12.696+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "random-default-schedule"} -2024-09-27T10:48:12.697+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "encrypted-pvc-secret"} -2024-09-27T10:48:12.697+0200 | INFO | FUNCTIONS | vshnpostgres/encrypted_pvc.go:31 | Check if encrypted storage is enabled | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.697+0200 | DEBUG | FUNCTIONS | vshnpostgres/encrypted_pvc.go:33 | Transforming | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.697+0200 | INFO | FUNCTIONS | vshnpostgres/encrypted_pvc.go:42 | Adding secret to composite | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.697+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "maintenance-job"} -2024-09-27T10:48:12.697+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "mailgun-alerting"} -2024-09-27T10:48:12.697+0200 | INFO | FUNCTIONS | common/mailgun_alerting.go:22 | Starting mailgun-alerting function | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.697+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "extensions"} -2024-09-27T10:48:12.697+0200 | INFO | FUNCTIONS | vshnpostgres/extensions.go:27 | Starting extensions function | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.697+0200 | INFO | FUNCTIONS | vshnpostgres/extensions.go:117 | no pg-conf found | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.697+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "load-balancer"} -2024-09-27T10:48:12.698+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "delay-cluster-deployment"} -2024-09-27T10:48:12.698+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "non-sla-prometheus-rules"} -2024-09-27T10:48:12.698+0200 | INFO | FUNCTIONS | nonsla/non_sla_prom_rules.go:19 | Starting non SLA prometheus rules | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n"} -2024-09-27T10:48:12.698+0200 | DEBUG | FUNCTIONS | nonsla/non_sla_prom_rules.go:21 | Transforming | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n", "obj": {"Log":{},"Config":{"kind":"ConfigMap","apiVersion":"v1","metadata":{"name":"xfn-config","creationTimestamp":null,"labels":{"name":"xfn-config"}},"data":{"bucketEndpoint":"http://minio-server.minio:9000","bucketRegion":"ch-gva-2","controlNamespace":"syn-appcat-control","crossplaneNamespace":"syn-crossplane","emailAlertingEnabled":"true","emailAlertingSecretName":"mailgun-smtp-credentials","emailAlertingSecretNamespace":"syn-appcat","emailAlertingSmtpFromAddress":"myuser@example.com","emailAlertingSmtpHost":"smtp.eu.mailgun.org:465","emailAlertingSmtpUsername":"myuser@example.com","externalDatabaseConnectionsEnabled":"true","imageTag":"v4.94.0","initContainers":"{\"clusterReconciliationCycle\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"200Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"pgbouncerAuthFile\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"relocateBinaries\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"setDbopsRunning\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}}, \"setupArbitraryUser\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"500Mi\"}}, \"setupScripts\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"500Mi\"}}}","isOpenshift":"false","keepMetrics":"[\"pg_locks_count\", \"pg_postmaster_start_time_seconds\", \"pg_replication_lag\", \"pg_settings_effective_cache_size_bytes\", \"pg_settings_maintenance_work_mem_bytes\", \"pg_settings_max_connections\", \"pg_settings_max_parallel_workers\", \"pg_settings_max_wal_size_bytes\", \"pg_settings_max_worker_processes\", \"pg_settings_shared_buffers_bytes\", \"pg_settings_work_mem_bytes\", \"pg_stat_activity_count\", \"pg_stat_bgwriter_buffers_alloc_total\", \"pg_stat_bgwriter_buffers_backend_fsync_total\", \"pg_stat_bgwriter_buffers_backend_total\", \"pg_stat_bgwriter_buffers_checkpoint_total\", \"pg_stat_bgwriter_buffers_clean_total\", \"pg_stat_database_blks_hit\", \"pg_stat_database_blks_read\", \"pg_stat_database_conflicts\", \"pg_stat_database_deadlocks\", \"pg_stat_database_temp_bytes\", \"pg_stat_database_xact_commit\", \"pg_stat_database_xact_rollback\", \"pg_static\", \"pg_up\", \"pgbouncer_show_stats_total_xact_count\", \"pgbouncer_show_stats_totals_bytes_received\", \"pgbouncer_show_stats_totals_bytes_sent\"]","loadbalancerAnnotations":"foo: bar\n","ownerGroup":"vshn.appcat.vshn.io","ownerKind":"XVSHNPostgreSQL","ownerVersion":"v1","plans":"{\"plus-2\": {\"note\": \"Will be scheduled on APPUiO Cloud plus nodes\", \"scheduling\": {\"nodeSelector\": {\"appuio.io/node-class\": \"plus\"}}, \"size\": {\"cpu\": \"400m\", \"disk\": \"20Gi\", \"enabled\": true, \"memory\": \"1936Mi\"}}, \"plus-4\": {\"note\": \"Will be scheduled on APPUiO Cloud plus nodes\", \"scheduling\": {\"nodeSelector\": {\"appuio.io/node-class\": \"plus\"}}, \"size\": {\"cpu\": \"900m\", \"disk\": \"40Gi\", \"enabled\": true, \"memory\": \"3984Mi\"}}, \"standard-2\": {\"size\": {\"cpu\": \"400m\", \"disk\": \"20Gi\", \"enabled\": true, \"memory\": \"1936Mi\"}}, \"standard-4\": {\"size\": {\"cpu\": \"900m\", \"disk\": \"40Gi\", \"enabled\": true, \"memory\": \"3984Mi\"}}}","proxyEndpoint":"172.17.0.1:9443","quotasEnabled":"false","serviceName":"postgresql","sgNamespace":"stackgres","sideCars":"{\"clusterController\": {\"limits\": {\"cpu\": \"32m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"32m\", \"memory\": \"128Mi\"}}, \"createBackup\": {\"limits\": {\"cpu\": \"400m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}, \"envoy\": {\"limits\": {\"cpu\": \"64m\", \"memory\": \"64Mi\"}, \"requests\": {\"cpu\": \"32m\", \"memory\": \"64Mi\"}}, \"pgbouncer\": {\"limits\": {\"cpu\": \"32m\", \"memory\": \"20Mi\"}, \"requests\": {\"cpu\": \"16m\", \"memory\": \"4Mi\"}}, \"postgresUtil\": {\"limits\": {\"cpu\": \"20m\", \"memory\": \"20Mi\"}, \"requests\": {\"cpu\": \"10m\", \"memory\": \"4Mi\"}}, \"prometheusPostgresExporter\": {\"limits\": {\"cpu\": \"150m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"10m\", \"memory\": \"16Mi\"}}, \"runDbops\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}, \"setDbopsResult\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}}","sliNamespace":"appcat-slos"}}}} -2024-09-27T10:48:12.698+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "pgbouncer-settings"} -2024-09-27T10:48:12.699+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "pg-exporter-Workaround"} -2024-09-27T10:48:12.699+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "ensure-objectbucket-labels"} -2024-09-27T10:48:12.699+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "user-management"} -2024-09-27T10:48:12.699+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "pdb"} -2024-09-27T10:48:12.699+0200 | INFO | FUNCTIONS | common/pdb.go:27 | Checking if PDB is needed | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n", "service": "postgresql-widera-test2-8g46n-g4glg", "instances": 1} -2024-09-27T10:48:12.700+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:876 | Running readiness check for objects | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n", "count": 6} -2024-09-27T10:48:12.700+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:887 | Ignoring desired resource that does not appear in observed resources | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n", "composed-resource-name": "postgresql-widera-test2-8g46n-g4glg-non-slo-rules"} -2024-09-27T10:48:12.700+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:887 | Ignoring desired resource that does not appear in observed resources | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n", "composed-resource-name": "postgresql-widera-test2-8g46n-g4glg"} -2024-09-27T10:48:12.700+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:887 | Ignoring desired resource that does not appear in observed resources | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n", "composed-resource-name": "postgresql-widera-test2-8g46n-g4glg-claim-ns-observer"} -2024-09-27T10:48:12.700+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:887 | Ignoring desired resource that does not appear in observed resources | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n", "composed-resource-name": "postgresql-widera-test2-8g46n-g4glg-ns-conf-observer"} -2024-09-27T10:48:12.700+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:887 | Ignoring desired resource that does not appear in observed resources | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n", "composed-resource-name": "namespace-conditions"} -2024-09-27T10:48:12.700+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:887 | Ignoring desired resource that does not appear in observed resources | {"resource": "postgresql-widera-test2-8g46n-g4glg", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test2-8g46n", "composed-resource-name": "postgresql-widera-test2-8g46n-g4glg-primary-service"} -2024-09-27T10:48:15.060+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:132 | Function triggered -2024-09-27T10:48:15.061+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:150 | Running service | {"name": "miniobucket"} -2024-09-27T10:48:15.061+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "provision-bucket"} -2024-09-27T10:48:15.062+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:876 | Running readiness check for objects | {"resource": "postgresql-widera-test1-fjm6d", "count": 3} -2024-09-27T10:48:15.062+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test1-fjm6d", "composed-resource-name": "minio-bucket"} -2024-09-27T10:48:15.062+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test1-fjm6d", "composed-resource-name": "minio-bucket"} -2024-09-27T10:48:15.062+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test1-fjm6d", "composed-resource-name": "minio-policy"} -2024-09-27T10:48:15.062+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test1-fjm6d", "composed-resource-name": "minio-policy"} -2024-09-27T10:48:15.062+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test1-fjm6d", "composed-resource-name": "minio-user"} -2024-09-27T10:48:15.062+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test1-fjm6d", "composed-resource-name": "minio-user"} -2024-09-27T10:48:15.128+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:132 | Function triggered -2024-09-27T10:48:15.128+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:150 | Running service | {"name": "miniobucket"} -2024-09-27T10:48:15.128+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "provision-bucket"} -2024-09-27T10:48:15.130+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:876 | Running readiness check for objects | {"resource": "postgresql-widera-test1-fjm6d", "count": 3} -2024-09-27T10:48:15.130+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test1-fjm6d", "composed-resource-name": "minio-bucket"} -2024-09-27T10:48:15.130+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test1-fjm6d", "composed-resource-name": "minio-bucket"} -2024-09-27T10:48:15.130+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test1-fjm6d", "composed-resource-name": "minio-policy"} -2024-09-27T10:48:15.130+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test1-fjm6d", "composed-resource-name": "minio-policy"} -2024-09-27T10:48:15.130+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test1-fjm6d", "composed-resource-name": "minio-user"} -2024-09-27T10:48:15.130+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test1-fjm6d", "composed-resource-name": "minio-user"} -2024-09-27T10:48:16.047+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:132 | Function triggered -2024-09-27T10:48:16.047+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:150 | Running service | {"name": "miniobucket"} -2024-09-27T10:48:16.048+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "provision-bucket"} -2024-09-27T10:48:16.049+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:876 | Running readiness check for objects | {"resource": "postgresql-widera-test4-jxggb", "count": 3} -2024-09-27T10:48:16.049+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test4-jxggb", "composed-resource-name": "minio-bucket"} -2024-09-27T10:48:16.049+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test4-jxggb", "composed-resource-name": "minio-bucket"} -2024-09-27T10:48:16.049+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test4-jxggb", "composed-resource-name": "minio-policy"} -2024-09-27T10:48:16.049+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test4-jxggb", "composed-resource-name": "minio-policy"} -2024-09-27T10:48:16.049+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test4-jxggb", "composed-resource-name": "minio-user"} -2024-09-27T10:48:16.049+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test4-jxggb", "composed-resource-name": "minio-user"} -2024-09-27T10:48:16.112+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:132 | Function triggered -2024-09-27T10:48:16.112+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:150 | Running service | {"name": "miniobucket"} -2024-09-27T10:48:16.112+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "provision-bucket"} -2024-09-27T10:48:16.113+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:876 | Running readiness check for objects | {"resource": "postgresql-widera-test4-jxggb", "count": 3} -2024-09-27T10:48:16.113+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test4-jxggb", "composed-resource-name": "minio-policy"} -2024-09-27T10:48:16.113+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test4-jxggb", "composed-resource-name": "minio-policy"} -2024-09-27T10:48:16.113+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test4-jxggb", "composed-resource-name": "minio-user"} -2024-09-27T10:48:16.113+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test4-jxggb", "composed-resource-name": "minio-user"} -2024-09-27T10:48:16.113+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test4-jxggb", "composed-resource-name": "minio-bucket"} -2024-09-27T10:48:16.113+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test4-jxggb", "composed-resource-name": "minio-bucket"} -2024-09-27T10:48:19.509+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:132 | Function triggered -2024-09-27T10:48:19.509+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:150 | Running service | {"name": "postgresql"} -2024-09-27T10:48:19.509+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "deploy"} -2024-09-27T10:48:19.510+0200 | INFO | FUNCTIONS | vshnpostgres/postgresql_deploy.go:49 | Bootstrapping instance namespace and rbac rules | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.510+0200 | INFO | FUNCTIONS | common/instance_namespace.go:36 | creating namespace observer for postgresql claim namespace | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.510+0200 | INFO | FUNCTIONS | common/instance_namespace.go:42 | Creating namespace for postgresql instance | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.515+0200 | INFO | FUNCTIONS | common/instance_namespace.go:48 | Creating rbac rules for postgresql instance | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.519+0200 | INFO | FUNCTIONS | common/instance_namespace.go:54 | Creating namespace policy to allow access to postgresql instance | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.520+0200 | INFO | FUNCTIONS | common/instance_namespace.go:60 | Add instance namespace to status | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.520+0200 | INFO | FUNCTIONS | common/instance_namespace.go:66 | Add default quotas to namespace | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.520+0200 | INFO | FUNCTIONS | common/instance_namespace.go:289 | Quotas disabled, skipping | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.520+0200 | INFO | FUNCTIONS | vshnpostgres/postgresql_deploy.go:55 | Create tls certificate | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.521+0200 | INFO | FUNCTIONS | vshnpostgres/postgresql_deploy.go:61 | Create Stackgres objects | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.523+0200 | INFO | FUNCTIONS | vshnpostgres/postgresql_deploy.go:67 | Create ObjectBucket | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.523+0200 | INFO | FUNCTIONS | vshnpostgres/postgresql_deploy.go:73 | Create SgObjectStorage | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.525+0200 | INFO | FUNCTIONS | vshnpostgres/postgresql_deploy.go:79 | Create podMonitor | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.525+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "connectiondetails"} -2024-09-27T10:48:19.525+0200 | INFO | FUNCTIONS | vshnpostgres/connection_details.go:44 | Making sure the cluster exposed connection details | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.526+0200 | INFO | FUNCTIONS | vshnpostgres/connection_details.go:56 | Creating connection details | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.526+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "user-alerting"} -2024-09-27T10:48:19.526+0200 | INFO | FUNCTIONS | common/alerting.go:24 | Checking if alerting references are set | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.526+0200 | DEBUG | FUNCTIONS | common/alerting.go:26 | Transforming | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "obj": {"Log":{},"Config":{"kind":"ConfigMap","apiVersion":"v1","metadata":{"name":"xfn-config","creationTimestamp":null,"labels":{"name":"xfn-config"}},"data":{"bucketEndpoint":"http://minio-server.minio:9000","bucketRegion":"ch-gva-2","controlNamespace":"syn-appcat-control","crossplaneNamespace":"syn-crossplane","emailAlertingEnabled":"true","emailAlertingSecretName":"mailgun-smtp-credentials","emailAlertingSecretNamespace":"syn-appcat","emailAlertingSmtpFromAddress":"myuser@example.com","emailAlertingSmtpHost":"smtp.eu.mailgun.org:465","emailAlertingSmtpUsername":"myuser@example.com","externalDatabaseConnectionsEnabled":"true","imageTag":"v4.94.0","initContainers":"{\"clusterReconciliationCycle\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"200Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"pgbouncerAuthFile\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"relocateBinaries\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"setDbopsRunning\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}}, \"setupArbitraryUser\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"500Mi\"}}, \"setupScripts\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"500Mi\"}}}","isOpenshift":"false","keepMetrics":"[\"pg_locks_count\", \"pg_postmaster_start_time_seconds\", \"pg_replication_lag\", \"pg_settings_effective_cache_size_bytes\", \"pg_settings_maintenance_work_mem_bytes\", \"pg_settings_max_connections\", \"pg_settings_max_parallel_workers\", \"pg_settings_max_wal_size_bytes\", \"pg_settings_max_worker_processes\", \"pg_settings_shared_buffers_bytes\", \"pg_settings_work_mem_bytes\", \"pg_stat_activity_count\", \"pg_stat_bgwriter_buffers_alloc_total\", \"pg_stat_bgwriter_buffers_backend_fsync_total\", \"pg_stat_bgwriter_buffers_backend_total\", \"pg_stat_bgwriter_buffers_checkpoint_total\", \"pg_stat_bgwriter_buffers_clean_total\", \"pg_stat_database_blks_hit\", \"pg_stat_database_blks_read\", \"pg_stat_database_conflicts\", \"pg_stat_database_deadlocks\", \"pg_stat_database_temp_bytes\", \"pg_stat_database_xact_commit\", \"pg_stat_database_xact_rollback\", \"pg_static\", \"pg_up\", \"pgbouncer_show_stats_total_xact_count\", \"pgbouncer_show_stats_totals_bytes_received\", \"pgbouncer_show_stats_totals_bytes_sent\"]","loadbalancerAnnotations":"foo: bar\n","ownerGroup":"vshn.appcat.vshn.io","ownerKind":"XVSHNPostgreSQL","ownerVersion":"v1","plans":"{\"plus-2\": {\"note\": \"Will be scheduled on APPUiO Cloud plus nodes\", \"scheduling\": {\"nodeSelector\": {\"appuio.io/node-class\": \"plus\"}}, \"size\": {\"cpu\": \"400m\", \"disk\": \"20Gi\", \"enabled\": true, \"memory\": \"1936Mi\"}}, \"plus-4\": {\"note\": \"Will be scheduled on APPUiO Cloud plus nodes\", \"scheduling\": {\"nodeSelector\": {\"appuio.io/node-class\": \"plus\"}}, \"size\": {\"cpu\": \"900m\", \"disk\": \"40Gi\", \"enabled\": true, \"memory\": \"3984Mi\"}}, \"standard-2\": {\"size\": {\"cpu\": \"400m\", \"disk\": \"20Gi\", \"enabled\": true, \"memory\": \"1936Mi\"}}, \"standard-4\": {\"size\": {\"cpu\": \"900m\", \"disk\": \"40Gi\", \"enabled\": true, \"memory\": \"3984Mi\"}}}","proxyEndpoint":"172.17.0.1:9443","quotasEnabled":"false","serviceName":"postgresql","sgNamespace":"stackgres","sideCars":"{\"clusterController\": {\"limits\": {\"cpu\": \"32m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"32m\", \"memory\": \"128Mi\"}}, \"createBackup\": {\"limits\": {\"cpu\": \"400m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}, \"envoy\": {\"limits\": {\"cpu\": \"64m\", \"memory\": \"64Mi\"}, \"requests\": {\"cpu\": \"32m\", \"memory\": \"64Mi\"}}, \"pgbouncer\": {\"limits\": {\"cpu\": \"32m\", \"memory\": \"20Mi\"}, \"requests\": {\"cpu\": \"16m\", \"memory\": \"4Mi\"}}, \"postgresUtil\": {\"limits\": {\"cpu\": \"20m\", \"memory\": \"20Mi\"}, \"requests\": {\"cpu\": \"10m\", \"memory\": \"4Mi\"}}, \"prometheusPostgresExporter\": {\"limits\": {\"cpu\": \"150m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"10m\", \"memory\": \"16Mi\"}}, \"runDbops\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}, \"setDbopsResult\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}}","sliNamespace":"appcat-slos"}}}} -2024-09-27T10:48:19.526+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "restart"} -2024-09-27T10:48:19.529+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "random-default-schedule"} -2024-09-27T10:48:19.529+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "encrypted-pvc-secret"} -2024-09-27T10:48:19.529+0200 | INFO | FUNCTIONS | vshnpostgres/encrypted_pvc.go:31 | Check if encrypted storage is enabled | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.529+0200 | DEBUG | FUNCTIONS | vshnpostgres/encrypted_pvc.go:33 | Transforming | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.529+0200 | INFO | FUNCTIONS | vshnpostgres/encrypted_pvc.go:38 | Encryption not enabled | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.529+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "maintenance-job"} -2024-09-27T10:48:19.530+0200 | INFO | FUNCTIONS | maintenance/maintenance.go:126 | Adding maintenance cronjob to the instance | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.532+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "mailgun-alerting"} -2024-09-27T10:48:19.532+0200 | INFO | FUNCTIONS | common/mailgun_alerting.go:22 | Starting mailgun-alerting function | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.532+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "extensions"} -2024-09-27T10:48:19.532+0200 | INFO | FUNCTIONS | vshnpostgres/extensions.go:27 | Starting extensions function | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.532+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "load-balancer"} -2024-09-27T10:48:19.534+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "delay-cluster-deployment"} -2024-09-27T10:48:19.536+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "non-sla-prometheus-rules"} -2024-09-27T10:48:19.536+0200 | INFO | FUNCTIONS | nonsla/non_sla_prom_rules.go:19 | Starting non SLA prometheus rules | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.536+0200 | DEBUG | FUNCTIONS | nonsla/non_sla_prom_rules.go:21 | Transforming | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "obj": {"Log":{},"Config":{"kind":"ConfigMap","apiVersion":"v1","metadata":{"name":"xfn-config","creationTimestamp":null,"labels":{"name":"xfn-config"}},"data":{"bucketEndpoint":"http://minio-server.minio:9000","bucketRegion":"ch-gva-2","controlNamespace":"syn-appcat-control","crossplaneNamespace":"syn-crossplane","emailAlertingEnabled":"true","emailAlertingSecretName":"mailgun-smtp-credentials","emailAlertingSecretNamespace":"syn-appcat","emailAlertingSmtpFromAddress":"myuser@example.com","emailAlertingSmtpHost":"smtp.eu.mailgun.org:465","emailAlertingSmtpUsername":"myuser@example.com","externalDatabaseConnectionsEnabled":"true","imageTag":"v4.94.0","initContainers":"{\"clusterReconciliationCycle\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"200Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"pgbouncerAuthFile\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"relocateBinaries\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"setDbopsRunning\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}}, \"setupArbitraryUser\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"500Mi\"}}, \"setupScripts\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"500Mi\"}}}","isOpenshift":"false","keepMetrics":"[\"pg_locks_count\", \"pg_postmaster_start_time_seconds\", \"pg_replication_lag\", \"pg_settings_effective_cache_size_bytes\", \"pg_settings_maintenance_work_mem_bytes\", \"pg_settings_max_connections\", \"pg_settings_max_parallel_workers\", \"pg_settings_max_wal_size_bytes\", \"pg_settings_max_worker_processes\", \"pg_settings_shared_buffers_bytes\", \"pg_settings_work_mem_bytes\", \"pg_stat_activity_count\", \"pg_stat_bgwriter_buffers_alloc_total\", \"pg_stat_bgwriter_buffers_backend_fsync_total\", \"pg_stat_bgwriter_buffers_backend_total\", \"pg_stat_bgwriter_buffers_checkpoint_total\", \"pg_stat_bgwriter_buffers_clean_total\", \"pg_stat_database_blks_hit\", \"pg_stat_database_blks_read\", \"pg_stat_database_conflicts\", \"pg_stat_database_deadlocks\", \"pg_stat_database_temp_bytes\", \"pg_stat_database_xact_commit\", \"pg_stat_database_xact_rollback\", \"pg_static\", \"pg_up\", \"pgbouncer_show_stats_total_xact_count\", \"pgbouncer_show_stats_totals_bytes_received\", \"pgbouncer_show_stats_totals_bytes_sent\"]","loadbalancerAnnotations":"foo: bar\n","ownerGroup":"vshn.appcat.vshn.io","ownerKind":"XVSHNPostgreSQL","ownerVersion":"v1","plans":"{\"plus-2\": {\"note\": \"Will be scheduled on APPUiO Cloud plus nodes\", \"scheduling\": {\"nodeSelector\": {\"appuio.io/node-class\": \"plus\"}}, \"size\": {\"cpu\": \"400m\", \"disk\": \"20Gi\", \"enabled\": true, \"memory\": \"1936Mi\"}}, \"plus-4\": {\"note\": \"Will be scheduled on APPUiO Cloud plus nodes\", \"scheduling\": {\"nodeSelector\": {\"appuio.io/node-class\": \"plus\"}}, \"size\": {\"cpu\": \"900m\", \"disk\": \"40Gi\", \"enabled\": true, \"memory\": \"3984Mi\"}}, \"standard-2\": {\"size\": {\"cpu\": \"400m\", \"disk\": \"20Gi\", \"enabled\": true, \"memory\": \"1936Mi\"}}, \"standard-4\": {\"size\": {\"cpu\": \"900m\", \"disk\": \"40Gi\", \"enabled\": true, \"memory\": \"3984Mi\"}}}","proxyEndpoint":"172.17.0.1:9443","quotasEnabled":"false","serviceName":"postgresql","sgNamespace":"stackgres","sideCars":"{\"clusterController\": {\"limits\": {\"cpu\": \"32m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"32m\", \"memory\": \"128Mi\"}}, \"createBackup\": {\"limits\": {\"cpu\": \"400m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}, \"envoy\": {\"limits\": {\"cpu\": \"64m\", \"memory\": \"64Mi\"}, \"requests\": {\"cpu\": \"32m\", \"memory\": \"64Mi\"}}, \"pgbouncer\": {\"limits\": {\"cpu\": \"32m\", \"memory\": \"20Mi\"}, \"requests\": {\"cpu\": \"16m\", \"memory\": \"4Mi\"}}, \"postgresUtil\": {\"limits\": {\"cpu\": \"20m\", \"memory\": \"20Mi\"}, \"requests\": {\"cpu\": \"10m\", \"memory\": \"4Mi\"}}, \"prometheusPostgresExporter\": {\"limits\": {\"cpu\": \"150m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"10m\", \"memory\": \"16Mi\"}}, \"runDbops\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}, \"setDbopsResult\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}}","sliNamespace":"appcat-slos"}}}} -2024-09-27T10:48:19.536+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "pgbouncer-settings"} -2024-09-27T10:48:19.536+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "pg-exporter-Workaround"} -2024-09-27T10:48:19.537+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "ensure-objectbucket-labels"} -2024-09-27T10:48:19.537+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "user-management"} -2024-09-27T10:48:19.537+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "pdb"} -2024-09-27T10:48:19.538+0200 | INFO | FUNCTIONS | common/pdb.go:27 | Checking if PDB is needed | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "service": "postgresql-widera-test3-n2flr", "instances": 1} -2024-09-27T10:48:19.539+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:876 | Running readiness check for objects | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "count": 20} -2024-09-27T10:48:19.539+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "cluster"} -2024-09-27T10:48:19.539+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "cluster"} -2024-09-27T10:48:19.539+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "pg-bucket"} -2024-09-27T10:48:19.539+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "pg-bucket"} -2024-09-27T10:48:19.539+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "podmonitor"} -2024-09-27T10:48:19.539+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "podmonitor"} -2024-09-27T10:48:19.539+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenancejob"} -2024-09-27T10:48:19.539+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenancejob"} -2024-09-27T10:48:19.540+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-claim-ns-observer"} -2024-09-27T10:48:19.540+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-claim-ns-observer"} -2024-09-27T10:48:19.540+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-ns-conf-observer"} -2024-09-27T10:48:19.540+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-ns-conf-observer"} -2024-09-27T10:48:19.540+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "pg-conf"} -2024-09-27T10:48:19.540+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "pg-conf"} -2024-09-27T10:48:19.540+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "sg-backup"} -2024-09-27T10:48:19.540+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "sg-backup"} -2024-09-27T10:48:19.540+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-serviceaccount"} -2024-09-27T10:48:19.540+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-serviceaccount"} -2024-09-27T10:48:19.540+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "local-ca"} -2024-09-27T10:48:19.540+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "local-ca"} -2024-09-27T10:48:19.540+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "profile"} -2024-09-27T10:48:19.540+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "profile"} -2024-09-27T10:48:19.540+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "certificate"} -2024-09-27T10:48:19.540+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "certificate"} -2024-09-27T10:48:19.540+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-primary-service"} -2024-09-27T10:48:19.540+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-primary-service"} -2024-09-27T10:48:19.540+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr"} -2024-09-27T10:48:19.541+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr"} -2024-09-27T10:48:19.541+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "namespace-conditions"} -2024-09-27T10:48:19.541+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "namespace-conditions"} -2024-09-27T10:48:19.541+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-netpol"} -2024-09-27T10:48:19.541+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-netpol"} -2024-09-27T10:48:19.541+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-secret"} -2024-09-27T10:48:19.541+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-secret"} -2024-09-27T10:48:19.541+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-non-slo-rules"} -2024-09-27T10:48:19.542+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-non-slo-rules"} -2024-09-27T10:48:19.542+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-role"} -2024-09-27T10:48:19.542+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-role"} -2024-09-27T10:48:19.542+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-rolebinding"} -2024-09-27T10:48:19.542+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-rolebinding"} -2024-09-27T10:48:19.997+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:132 | Function triggered -2024-09-27T10:48:19.997+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:150 | Running service | {"name": "postgresql"} -2024-09-27T10:48:19.997+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "deploy"} -2024-09-27T10:48:19.997+0200 | INFO | FUNCTIONS | vshnpostgres/postgresql_deploy.go:49 | Bootstrapping instance namespace and rbac rules | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.997+0200 | INFO | FUNCTIONS | common/instance_namespace.go:36 | creating namespace observer for postgresql claim namespace | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:19.998+0200 | INFO | FUNCTIONS | common/instance_namespace.go:42 | Creating namespace for postgresql instance | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:20.001+0200 | INFO | FUNCTIONS | common/instance_namespace.go:48 | Creating rbac rules for postgresql instance | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:20.004+0200 | INFO | FUNCTIONS | common/instance_namespace.go:54 | Creating namespace policy to allow access to postgresql instance | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:20.004+0200 | INFO | FUNCTIONS | common/instance_namespace.go:60 | Add instance namespace to status | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:20.004+0200 | INFO | FUNCTIONS | common/instance_namespace.go:66 | Add default quotas to namespace | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:20.004+0200 | INFO | FUNCTIONS | common/instance_namespace.go:289 | Quotas disabled, skipping | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:20.004+0200 | INFO | FUNCTIONS | vshnpostgres/postgresql_deploy.go:55 | Create tls certificate | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:20.005+0200 | INFO | FUNCTIONS | vshnpostgres/postgresql_deploy.go:61 | Create Stackgres objects | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:20.005+0200 | INFO | FUNCTIONS | vshnpostgres/postgresql_deploy.go:67 | Create ObjectBucket | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:20.005+0200 | INFO | FUNCTIONS | vshnpostgres/postgresql_deploy.go:73 | Create SgObjectStorage | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:20.008+0200 | INFO | FUNCTIONS | vshnpostgres/postgresql_deploy.go:79 | Create podMonitor | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:20.008+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "connectiondetails"} -2024-09-27T10:48:20.008+0200 | INFO | FUNCTIONS | vshnpostgres/connection_details.go:44 | Making sure the cluster exposed connection details | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:20.009+0200 | INFO | FUNCTIONS | vshnpostgres/connection_details.go:56 | Creating connection details | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:20.009+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "user-alerting"} -2024-09-27T10:48:20.009+0200 | INFO | FUNCTIONS | common/alerting.go:24 | Checking if alerting references are set | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:20.009+0200 | DEBUG | FUNCTIONS | common/alerting.go:26 | Transforming | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "obj": {"Log":{},"Config":{"kind":"ConfigMap","apiVersion":"v1","metadata":{"name":"xfn-config","creationTimestamp":null,"labels":{"name":"xfn-config"}},"data":{"bucketEndpoint":"http://minio-server.minio:9000","bucketRegion":"ch-gva-2","controlNamespace":"syn-appcat-control","crossplaneNamespace":"syn-crossplane","emailAlertingEnabled":"true","emailAlertingSecretName":"mailgun-smtp-credentials","emailAlertingSecretNamespace":"syn-appcat","emailAlertingSmtpFromAddress":"myuser@example.com","emailAlertingSmtpHost":"smtp.eu.mailgun.org:465","emailAlertingSmtpUsername":"myuser@example.com","externalDatabaseConnectionsEnabled":"true","imageTag":"v4.94.0","initContainers":"{\"clusterReconciliationCycle\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"200Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"pgbouncerAuthFile\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"relocateBinaries\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"setDbopsRunning\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}}, \"setupArbitraryUser\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"500Mi\"}}, \"setupScripts\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"500Mi\"}}}","isOpenshift":"false","keepMetrics":"[\"pg_locks_count\", \"pg_postmaster_start_time_seconds\", \"pg_replication_lag\", \"pg_settings_effective_cache_size_bytes\", \"pg_settings_maintenance_work_mem_bytes\", \"pg_settings_max_connections\", \"pg_settings_max_parallel_workers\", \"pg_settings_max_wal_size_bytes\", \"pg_settings_max_worker_processes\", \"pg_settings_shared_buffers_bytes\", \"pg_settings_work_mem_bytes\", \"pg_stat_activity_count\", \"pg_stat_bgwriter_buffers_alloc_total\", \"pg_stat_bgwriter_buffers_backend_fsync_total\", \"pg_stat_bgwriter_buffers_backend_total\", \"pg_stat_bgwriter_buffers_checkpoint_total\", \"pg_stat_bgwriter_buffers_clean_total\", \"pg_stat_database_blks_hit\", \"pg_stat_database_blks_read\", \"pg_stat_database_conflicts\", \"pg_stat_database_deadlocks\", \"pg_stat_database_temp_bytes\", \"pg_stat_database_xact_commit\", \"pg_stat_database_xact_rollback\", \"pg_static\", \"pg_up\", \"pgbouncer_show_stats_total_xact_count\", \"pgbouncer_show_stats_totals_bytes_received\", \"pgbouncer_show_stats_totals_bytes_sent\"]","loadbalancerAnnotations":"foo: bar\n","ownerGroup":"vshn.appcat.vshn.io","ownerKind":"XVSHNPostgreSQL","ownerVersion":"v1","plans":"{\"plus-2\": {\"note\": \"Will be scheduled on APPUiO Cloud plus nodes\", \"scheduling\": {\"nodeSelector\": {\"appuio.io/node-class\": \"plus\"}}, \"size\": {\"cpu\": \"400m\", \"disk\": \"20Gi\", \"enabled\": true, \"memory\": \"1936Mi\"}}, \"plus-4\": {\"note\": \"Will be scheduled on APPUiO Cloud plus nodes\", \"scheduling\": {\"nodeSelector\": {\"appuio.io/node-class\": \"plus\"}}, \"size\": {\"cpu\": \"900m\", \"disk\": \"40Gi\", \"enabled\": true, \"memory\": \"3984Mi\"}}, \"standard-2\": {\"size\": {\"cpu\": \"400m\", \"disk\": \"20Gi\", \"enabled\": true, \"memory\": \"1936Mi\"}}, \"standard-4\": {\"size\": {\"cpu\": \"900m\", \"disk\": \"40Gi\", \"enabled\": true, \"memory\": \"3984Mi\"}}}","proxyEndpoint":"172.17.0.1:9443","quotasEnabled":"false","serviceName":"postgresql","sgNamespace":"stackgres","sideCars":"{\"clusterController\": {\"limits\": {\"cpu\": \"32m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"32m\", \"memory\": \"128Mi\"}}, \"createBackup\": {\"limits\": {\"cpu\": \"400m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}, \"envoy\": {\"limits\": {\"cpu\": \"64m\", \"memory\": \"64Mi\"}, \"requests\": {\"cpu\": \"32m\", \"memory\": \"64Mi\"}}, \"pgbouncer\": {\"limits\": {\"cpu\": \"32m\", \"memory\": \"20Mi\"}, \"requests\": {\"cpu\": \"16m\", \"memory\": \"4Mi\"}}, \"postgresUtil\": {\"limits\": {\"cpu\": \"20m\", \"memory\": \"20Mi\"}, \"requests\": {\"cpu\": \"10m\", \"memory\": \"4Mi\"}}, \"prometheusPostgresExporter\": {\"limits\": {\"cpu\": \"150m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"10m\", \"memory\": \"16Mi\"}}, \"runDbops\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}, \"setDbopsResult\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}}","sliNamespace":"appcat-slos"}}}} -2024-09-27T10:48:20.009+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "restart"} -2024-09-27T10:48:20.013+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "random-default-schedule"} -2024-09-27T10:48:20.013+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "encrypted-pvc-secret"} -2024-09-27T10:48:20.013+0200 | INFO | FUNCTIONS | vshnpostgres/encrypted_pvc.go:31 | Check if encrypted storage is enabled | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:20.013+0200 | DEBUG | FUNCTIONS | vshnpostgres/encrypted_pvc.go:33 | Transforming | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:20.013+0200 | INFO | FUNCTIONS | vshnpostgres/encrypted_pvc.go:38 | Encryption not enabled | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:20.013+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "maintenance-job"} -2024-09-27T10:48:20.014+0200 | INFO | FUNCTIONS | maintenance/maintenance.go:126 | Adding maintenance cronjob to the instance | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:20.014+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "mailgun-alerting"} -2024-09-27T10:48:20.014+0200 | INFO | FUNCTIONS | common/mailgun_alerting.go:22 | Starting mailgun-alerting function | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:20.015+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "extensions"} -2024-09-27T10:48:20.015+0200 | INFO | FUNCTIONS | vshnpostgres/extensions.go:27 | Starting extensions function | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:20.015+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "load-balancer"} -2024-09-27T10:48:20.017+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "delay-cluster-deployment"} -2024-09-27T10:48:20.019+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "non-sla-prometheus-rules"} -2024-09-27T10:48:20.019+0200 | INFO | FUNCTIONS | nonsla/non_sla_prom_rules.go:19 | Starting non SLA prometheus rules | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3"} -2024-09-27T10:48:20.019+0200 | DEBUG | FUNCTIONS | nonsla/non_sla_prom_rules.go:21 | Transforming | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "obj": {"Log":{},"Config":{"kind":"ConfigMap","apiVersion":"v1","metadata":{"name":"xfn-config","creationTimestamp":null,"labels":{"name":"xfn-config"}},"data":{"bucketEndpoint":"http://minio-server.minio:9000","bucketRegion":"ch-gva-2","controlNamespace":"syn-appcat-control","crossplaneNamespace":"syn-crossplane","emailAlertingEnabled":"true","emailAlertingSecretName":"mailgun-smtp-credentials","emailAlertingSecretNamespace":"syn-appcat","emailAlertingSmtpFromAddress":"myuser@example.com","emailAlertingSmtpHost":"smtp.eu.mailgun.org:465","emailAlertingSmtpUsername":"myuser@example.com","externalDatabaseConnectionsEnabled":"true","imageTag":"v4.94.0","initContainers":"{\"clusterReconciliationCycle\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"200Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"pgbouncerAuthFile\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"relocateBinaries\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"100Mi\"}}, \"setDbopsRunning\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}}, \"setupArbitraryUser\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"500Mi\"}}, \"setupScripts\": {\"limits\": {\"cpu\": \"300m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"500Mi\"}}}","isOpenshift":"false","keepMetrics":"[\"pg_locks_count\", \"pg_postmaster_start_time_seconds\", \"pg_replication_lag\", \"pg_settings_effective_cache_size_bytes\", \"pg_settings_maintenance_work_mem_bytes\", \"pg_settings_max_connections\", \"pg_settings_max_parallel_workers\", \"pg_settings_max_wal_size_bytes\", \"pg_settings_max_worker_processes\", \"pg_settings_shared_buffers_bytes\", \"pg_settings_work_mem_bytes\", \"pg_stat_activity_count\", \"pg_stat_bgwriter_buffers_alloc_total\", \"pg_stat_bgwriter_buffers_backend_fsync_total\", \"pg_stat_bgwriter_buffers_backend_total\", \"pg_stat_bgwriter_buffers_checkpoint_total\", \"pg_stat_bgwriter_buffers_clean_total\", \"pg_stat_database_blks_hit\", \"pg_stat_database_blks_read\", \"pg_stat_database_conflicts\", \"pg_stat_database_deadlocks\", \"pg_stat_database_temp_bytes\", \"pg_stat_database_xact_commit\", \"pg_stat_database_xact_rollback\", \"pg_static\", \"pg_up\", \"pgbouncer_show_stats_total_xact_count\", \"pgbouncer_show_stats_totals_bytes_received\", \"pgbouncer_show_stats_totals_bytes_sent\"]","loadbalancerAnnotations":"foo: bar\n","ownerGroup":"vshn.appcat.vshn.io","ownerKind":"XVSHNPostgreSQL","ownerVersion":"v1","plans":"{\"plus-2\": {\"note\": \"Will be scheduled on APPUiO Cloud plus nodes\", \"scheduling\": {\"nodeSelector\": {\"appuio.io/node-class\": \"plus\"}}, \"size\": {\"cpu\": \"400m\", \"disk\": \"20Gi\", \"enabled\": true, \"memory\": \"1936Mi\"}}, \"plus-4\": {\"note\": \"Will be scheduled on APPUiO Cloud plus nodes\", \"scheduling\": {\"nodeSelector\": {\"appuio.io/node-class\": \"plus\"}}, \"size\": {\"cpu\": \"900m\", \"disk\": \"40Gi\", \"enabled\": true, \"memory\": \"3984Mi\"}}, \"standard-2\": {\"size\": {\"cpu\": \"400m\", \"disk\": \"20Gi\", \"enabled\": true, \"memory\": \"1936Mi\"}}, \"standard-4\": {\"size\": {\"cpu\": \"900m\", \"disk\": \"40Gi\", \"enabled\": true, \"memory\": \"3984Mi\"}}}","proxyEndpoint":"172.17.0.1:9443","quotasEnabled":"false","serviceName":"postgresql","sgNamespace":"stackgres","sideCars":"{\"clusterController\": {\"limits\": {\"cpu\": \"32m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"32m\", \"memory\": \"128Mi\"}}, \"createBackup\": {\"limits\": {\"cpu\": \"400m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}, \"envoy\": {\"limits\": {\"cpu\": \"64m\", \"memory\": \"64Mi\"}, \"requests\": {\"cpu\": \"32m\", \"memory\": \"64Mi\"}}, \"pgbouncer\": {\"limits\": {\"cpu\": \"32m\", \"memory\": \"20Mi\"}, \"requests\": {\"cpu\": \"16m\", \"memory\": \"4Mi\"}}, \"postgresUtil\": {\"limits\": {\"cpu\": \"20m\", \"memory\": \"20Mi\"}, \"requests\": {\"cpu\": \"10m\", \"memory\": \"4Mi\"}}, \"prometheusPostgresExporter\": {\"limits\": {\"cpu\": \"150m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"10m\", \"memory\": \"16Mi\"}}, \"runDbops\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}, \"setDbopsResult\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}}","sliNamespace":"appcat-slos"}}}} -2024-09-27T10:48:20.020+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "pgbouncer-settings"} -2024-09-27T10:48:20.020+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "pg-exporter-Workaround"} -2024-09-27T10:48:20.021+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "ensure-objectbucket-labels"} -2024-09-27T10:48:20.021+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "user-management"} -2024-09-27T10:48:20.021+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "pdb"} -2024-09-27T10:48:20.022+0200 | INFO | FUNCTIONS | common/pdb.go:27 | Checking if PDB is needed | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "service": "postgresql-widera-test3-n2flr", "instances": 1} -2024-09-27T10:48:20.026+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:876 | Running readiness check for objects | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "count": 20} -2024-09-27T10:48:20.026+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-claim-ns-observer"} -2024-09-27T10:48:20.026+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-claim-ns-observer"} -2024-09-27T10:48:20.026+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "certificate"} -2024-09-27T10:48:20.026+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "certificate"} -2024-09-27T10:48:20.026+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "profile"} -2024-09-27T10:48:20.026+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "profile"} -2024-09-27T10:48:20.026+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "pg-bucket"} -2024-09-27T10:48:20.026+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "pg-bucket"} -2024-09-27T10:48:20.026+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "podmonitor"} -2024-09-27T10:48:20.026+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "podmonitor"} -2024-09-27T10:48:20.026+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-role"} -2024-09-27T10:48:20.026+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-role"} -2024-09-27T10:48:20.026+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-primary-service"} -2024-09-27T10:48:20.026+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-primary-service"} -2024-09-27T10:48:20.026+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "namespace-conditions"} -2024-09-27T10:48:20.027+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "namespace-conditions"} -2024-09-27T10:48:20.027+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "local-ca"} -2024-09-27T10:48:20.027+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "local-ca"} -2024-09-27T10:48:20.027+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "sg-backup"} -2024-09-27T10:48:20.027+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "sg-backup"} -2024-09-27T10:48:20.027+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenancejob"} -2024-09-27T10:48:20.027+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenancejob"} -2024-09-27T10:48:20.027+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-non-slo-rules"} -2024-09-27T10:48:20.027+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-non-slo-rules"} -2024-09-27T10:48:20.027+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-ns-conf-observer"} -2024-09-27T10:48:20.027+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-ns-conf-observer"} -2024-09-27T10:48:20.027+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "pg-conf"} -2024-09-27T10:48:20.027+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "pg-conf"} -2024-09-27T10:48:20.027+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-serviceaccount"} -2024-09-27T10:48:20.027+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-serviceaccount"} -2024-09-27T10:48:20.027+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-rolebinding"} -2024-09-27T10:48:20.027+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-rolebinding"} -2024-09-27T10:48:20.027+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-netpol"} -2024-09-27T10:48:20.027+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-netpol"} -2024-09-27T10:48:20.027+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "cluster"} -2024-09-27T10:48:20.028+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "cluster"} -2024-09-27T10:48:20.028+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-secret"} -2024-09-27T10:48:20.028+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-secret"} -2024-09-27T10:48:20.028+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr"} -2024-09-27T10:48:20.029+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr"} -roller\": {\"limits\": {\"cpu\": \"32m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"32m\", \"memory\": \"128Mi\"}}, \"createBackup\": {\"limits\": {\"cpu\": \"400m\", \"memory\": \"500Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}, \"envoy\": {\"limits\": {\"cpu\": \"64m\", \"memory\": \"64Mi\"}, \"requests\": {\"cpu\": \"32m\", \"memory\": \"64Mi\"}}, \"pgbouncer\": {\"limits\": {\"cpu\": \"32m\", \"memory\": \"20Mi\"}, \"requests\": {\"cpu\": \"16m\", \"memory\": \"4Mi\"}}, \"postgresUtil\": {\"limits\": {\"cpu\": \"20m\", \"memory\": \"20Mi\"}, \"requests\": {\"cpu\": \"10m\", \"memory\": \"4Mi\"}}, \"prometheusPostgresExporter\": {\"limits\": {\"cpu\": \"150m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"10m\", \"memory\": \"16Mi\"}}, \"runDbops\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}, \"setDbopsResult\": {\"limits\": {\"cpu\": \"250m\", \"memory\": \"256Mi\"}, \"requests\": {\"cpu\": \"100m\", \"memory\": \"64Mi\"}}}","sliNamespace":"appcat-slos"}}}} -2024-09-27T10:48:20.020+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "pgbouncer-settings"} -2024-09-27T10:48:20.020+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "pg-exporter-Workaround"} -2024-09-27T10:48:20.021+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "ensure-objectbucket-labels"} -2024-09-27T10:48:20.021+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "user-management"} -2024-09-27T10:48:20.021+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:174 | Running step | {"name": "pdb"} -2024-09-27T10:48:20.022+0200 | INFO | FUNCTIONS | common/pdb.go:27 | Checking if PDB is needed | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "service": "postgresql-widera-test3-n2flr", "instances": 1} -2024-09-27T10:48:20.026+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:876 | Running readiness check for objects | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "count": 20} -2024-09-27T10:48:20.026+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-claim-ns-observer"} -2024-09-27T10:48:20.026+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-claim-ns-observer"} -2024-09-27T10:48:20.026+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "certificate"} -2024-09-27T10:48:20.026+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "certificate"} -2024-09-27T10:48:20.026+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "profile"} -2024-09-27T10:48:20.026+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "profile"} -2024-09-27T10:48:20.026+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "pg-bucket"} -2024-09-27T10:48:20.026+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "pg-bucket"} -2024-09-27T10:48:20.026+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "podmonitor"} -2024-09-27T10:48:20.026+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "podmonitor"} -2024-09-27T10:48:20.026+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-role"} -2024-09-27T10:48:20.026+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-role"} -2024-09-27T10:48:20.026+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-primary-service"} -2024-09-27T10:48:20.026+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-primary-service"} -2024-09-27T10:48:20.026+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "namespace-conditions"} -2024-09-27T10:48:20.027+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "namespace-conditions"} -2024-09-27T10:48:20.027+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "local-ca"} -2024-09-27T10:48:20.027+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "local-ca"} -2024-09-27T10:48:20.027+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "sg-backup"} -2024-09-27T10:48:20.027+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "sg-backup"} -2024-09-27T10:48:20.027+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenancejob"} -2024-09-27T10:48:20.027+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenancejob"} -2024-09-27T10:48:20.027+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-non-slo-rules"} -2024-09-27T10:48:20.027+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-non-slo-rules"} -2024-09-27T10:48:20.027+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-ns-conf-observer"} -2024-09-27T10:48:20.027+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-ns-conf-observer"} -2024-09-27T10:48:20.027+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "pg-conf"} -2024-09-27T10:48:20.027+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "pg-conf"} -2024-09-27T10:48:20.027+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-serviceaccount"} -2024-09-27T10:48:20.027+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-serviceaccount"} -2024-09-27T10:48:20.027+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-rolebinding"} -2024-09-27T10:48:20.027+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-rolebinding"} -2024-09-27T10:48:20.027+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-netpol"} -2024-09-27T10:48:20.027+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-netpol"} -2024-09-27T10:48:20.027+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "cluster"} -2024-09-27T10:48:20.028+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "cluster"} -2024-09-27T10:48:20.028+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-secret"} -2024-09-27T10:48:20.028+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr-maintenance-secret"} -2024-09-27T10:48:20.028+0200 | DEBUG | FUNCTIONS | runtime/function_mgr.go:904 | Found desired resource with unknown readiness | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr"} -2024-09-27T10:48:20.029+0200 | INFO | FUNCTIONS | runtime/function_mgr.go:909 | Automatically determined that composed resource is ready | {"resource": "postgresql-widera-test3-n2flr", "claimNamespace": "widera-testing", "claimName": "postgresql-widera-test3", "composed-resource-name": "postgresql-widera-test3-n2flr"} diff --git a/log.log b/log.log deleted file mode 100644 index ac1553df19..0000000000 --- a/log.log +++ /dev/null @@ -1,531 +0,0 @@ -AWS_ACCESS_KEY_ID -AWS_SECRET_ACCESS_KEY -resource: - unstructured: - object: - apiVersion: appcat.vshn.io/v1 - kind: XObjectBucket - metadata: - annotations: - appcat.vshn.io/forward-events-to: vshn.appcat.vshn.io/v1/VSHNPostgreSQL/widera-testing/postgresql-widera-test3 - crossplane.io/composition-resource-name: pg-bucket - creationTimestamp: "2024-09-26T14:37:32Z" - finalizers: - - composite.apiextensions.crossplane.io - generateName: postgresql-widera-test3-n2flr- - generation: 3 - labels: - appcat.vshn.io/ownerapiversion: v1 - appcat.vshn.io/ownergroup: vshn.appcat.vshn.io - appcat.vshn.io/ownerkind: XVSHNPostgreSQL - crossplane.io/claim-name: postgresql-widera-test3 - crossplane.io/claim-namespace: widera-testing - crossplane.io/composite: postgresql-widera-test3-n2flr - managedFields: - - apiVersion: appcat.vshn.io/v1 - fieldsType: FieldsV1 - fieldsV1: - f:metadata: - f:annotations: - f:appcat.vshn.io/forward-events-to: {} - f:crossplane.io/composition-resource-name: {} - f:generateName: {} - f:labels: - f:appcat.vshn.io/ownerapiversion: {} - f:appcat.vshn.io/ownergroup: {} - f:appcat.vshn.io/ownerkind: {} - f:crossplane.io/claim-name: {} - f:crossplane.io/claim-namespace: {} - f:crossplane.io/composite: {} - f:ownerReferences: - k:{"uid":"4d072f13-029d-4d9d-bc24-0e4f622a9d3a"}: {} - f:spec: - f:parameters: - f:bucketName: {} - f:region: {} - f:security: - f:allowAllNamespaces: {} - f:deletionProtection: {} - f:writeConnectionSecretToRef: - f:name: {} - f:namespace: {} - manager: apiextensions.crossplane.io/composed/2885a68b201da2e02fd5c8b706e6c42c4fa18d7952cb653501ddeea35876d605 - operation: Apply - time: "2024-09-26T14:37:32Z" - - apiVersion: appcat.vshn.io/v1 - fieldsType: FieldsV1 - fieldsV1: - f:spec: - f:resourceRefs: {} - manager: apiextensions.crossplane.io/composite - operation: Apply - time: "2024-09-26T14:37:32Z" - - apiVersion: appcat.vshn.io/v1 - fieldsType: FieldsV1 - fieldsV1: - f:metadata: - f:finalizers: - .: {} - v:"composite.apiextensions.crossplane.io": {} - f:spec: - f:compositionRef: - .: {} - f:name: {} - f:compositionRevisionRef: - .: {} - f:name: {} - manager: crossplane - operation: Update - time: "2024-09-26T14:37:32Z" - - apiVersion: appcat.vshn.io/v1 - fieldsType: FieldsV1 - fieldsV1: - f:status: - .: {} - f:conditions: - .: {} - k:{"type":"Ready"}: - .: {} - f:lastTransitionTime: {} - f:reason: {} - f:status: {} - f:type: {} - k:{"type":"Synced"}: - .: {} - f:lastTransitionTime: {} - f:message: {} - f:reason: {} - f:status: {} - f:type: {} - f:connectionDetails: - .: {} - f:lastPublishedTime: {} - manager: crossplane - operation: Update - subresource: status - time: "2024-09-27T08:25:00Z" - name: postgresql-widera-test3-n2flr - ownerReferences: - - apiVersion: vshn.appcat.vshn.io/v1 - blockOwnerDeletion: true - controller: true - kind: XVSHNPostgreSQL - name: postgresql-widera-test3-n2flr - uid: 4d072f13-029d-4d9d-bc24-0e4f622a9d3a - resourceVersion: "537039" - uid: 4bd90991-a184-4ef9-bf6b-bd04a937a758 - spec: - compositionRef: - name: minio.objectbuckets.appcat.vshn.io - compositionRevisionRef: - name: minio.objectbuckets.appcat.vshn.io-bf7c734 - compositionUpdatePolicy: Automatic - parameters: - bucketDeletionPolicy: DeleteAll - bucketName: postgresql-widera-test3-n2flr - region: ch-gva-2 - security: - allowAllNamespaces: false - deletionProtection: false - resourceRefs: - - apiVersion: minio.crossplane.io/v1 - kind: Bucket - name: postgresql-widera-test3-n2flr - - apiVersion: minio.crossplane.io/v1 - kind: Policy - name: postgresql-widera-test3-n2flr - - apiVersion: minio.crossplane.io/v1 - kind: User - name: postgresql-widera-test3-n2flr - writeConnectionSecretToRef: - name: pgbucket-postgresql-widera-test3-n2flr - namespace: vshn-postgresql-postgresql-widera-test3-n2flr - status: - conditions: - - lastTransitionTime: "2024-09-27T08:25:00Z" - message: 'cannot compose resources: cannot run Composition pipeline step - "miniobucket-func": cannot run Function "function-appcat": rpc error: - code = Unavailable desc = connection error: desc = "transport: Error while - dialing: dial tcp 172.17.0.1:9443: connect: connection refused"' - reason: ReconcileError - status: "False" - type: Synced - - lastTransitionTime: "2024-09-26T14:37:37Z" - reason: Available - status: "True" - type: Ready - connectionDetails: - lastPublishedTime: "2024-09-26T14:37:37Z" -connectiondetails: - AWS_ACCESS_KEY_ID: - - 112 - - 111 - - 115 - - 116 - - 103 - - 114 - - 101 - - 115 - - 113 - - 108 - - 45 - - 119 - - 105 - - 100 - - 101 - - 114 - - 97 - - 45 - - 116 - - 101 - - 115 - - 116 - - 51 - - 45 - - 110 - - 50 - - 102 - - 108 - - 114 - AWS_REGION: - - 99 - - 104 - - 45 - - 103 - - 118 - - 97 - - 45 - - 50 - AWS_SECRET_ACCESS_KEY: - - 104 - - 99 - - 115 - - 65 - - 100 - - 65 - - 119 - - 48 - - 77 - - 107 - - 74 - - 69 - - 109 - - 103 - - 83 - - 108 - - 77 - - 84 - - 87 - - 111 - - 119 - - 86 - - 99 - - 111 - - 97 - - 116 - - 100 - - 68 - - 76 - - 53 - - 79 - - 114 - - 84 - - 81 - - 70 - - 104 - - 52 - - 108 - - 90 - - 81 - - 81 - - 108 - - 107 - - 98 - - 69 - - 55 - - 87 - - 110 - - 67 - - 116 - - 88 - - 85 - - 109 - - 71 - - 116 - - 65 - - 57 - - 111 - - 121 - - 118 - - 120 - - 109 - - 105 - - 88 - BUCKET_NAME: - - 112 - - 111 - - 115 - - 116 - - 103 - - 114 - - 101 - - 115 - - 113 - - 108 - - 45 - - 119 - - 105 - - 100 - - 101 - - 114 - - 97 - - 45 - - 116 - - 101 - - 115 - - 116 - - 51 - - 45 - - 110 - - 50 - - 102 - - 108 - - 114 - ENDPOINT: - - 109 - - 105 - - 110 - - 105 - - 111 - - 45 - - 115 - - 101 - - 114 - - 118 - - 101 - - 114 - - 46 - - 109 - - 105 - - 110 - - 105 - - 111 - - 46 - - 115 - - 118 - - 99 - - 58 - - 57 - - 48 - - 48 - - 48 - ENDPOINT_URL: - - 104 - - 116 - - 116 - - 112 - - 58 - - 47 - - 47 - - 109 - - 105 - - 110 - - 105 - - 111 - - 45 - - 115 - - 101 - - 114 - - 118 - - 101 - - 114 - - 46 - - 109 - - 105 - - 110 - - 105 - - 111 - - 46 - - 115 - - 118 - - 99 - - 58 - - 57 - - 48 - - 48 - - 48 - - 47 - -AWS_ACCESS_KEY_ID -AWS_SECRET_ACCESS_KEY -resource: - unstructured: - object: - apiVersion: appcat.vshn.io/v1 - kind: XObjectBucket - metadata: - annotations: - appcat.vshn.io/forward-events-to: vshn.appcat.vshn.io/v1/VSHNPostgreSQL/widera-testing/postgresql-widera-test3 - crossplane.io/composition-resource-name: pg-bucket - creationTimestamp: "2024-09-26T14:37:32Z" - finalizers: - - composite.apiextensions.crossplane.io - generateName: postgresql-widera-test3-n2flr- - generation: 3 - labels: - appcat.vshn.io/ownerapiversion: v1 - appcat.vshn.io/ownergroup: vshn.appcat.vshn.io - appcat.vshn.io/ownerkind: XVSHNPostgreSQL - crossplane.io/claim-name: postgresql-widera-test3 - crossplane.io/claim-namespace: widera-testing - crossplane.io/composite: postgresql-widera-test3-n2flr - managedFields: - - apiVersion: appcat.vshn.io/v1 - fieldsType: FieldsV1 - fieldsV1: - f:metadata: - f:annotations: - f:appcat.vshn.io/forward-events-to: {} - f:crossplane.io/composition-resource-name: {} - f:generateName: {} - f:labels: - f:appcat.vshn.io/ownerapiversion: {} - f:appcat.vshn.io/ownergroup: {} - f:appcat.vshn.io/ownerkind: {} - f:crossplane.io/claim-name: {} - f:crossplane.io/claim-namespace: {} - f:crossplane.io/composite: {} - f:ownerReferences: - k:{"uid":"4d072f13-029d-4d9d-bc24-0e4f622a9d3a"}: {} - f:spec: - f:parameters: - f:bucketName: {} - f:region: {} - f:security: - f:allowAllNamespaces: {} - f:deletionProtection: {} - f:writeConnectionSecretToRef: - f:name: {} - f:namespace: {} - manager: apiextensions.crossplane.io/composed/2885a68b201da2e02fd5c8b706e6c42c4fa18d7952cb653501ddeea35876d605 - operation: Apply - time: "2024-09-26T14:37:32Z" - - apiVersion: appcat.vshn.io/v1 - fieldsType: FieldsV1 - fieldsV1: - f:spec: - f:resourceRefs: {} - manager: apiextensions.crossplane.io/composite - operation: Apply - time: "2024-09-26T14:37:32Z" - - apiVersion: appcat.vshn.io/v1 - fieldsType: FieldsV1 - fieldsV1: - f:metadata: - f:finalizers: - .: {} - v:"composite.apiextensions.crossplane.io": {} - f:spec: - f:compositionRef: - .: {} - f:name: {} - f:compositionRevisionRef: - .: {} - f:name: {} - manager: crossplane - operation: Update - time: "2024-09-26T14:37:32Z" - - apiVersion: appcat.vshn.io/v1 - fieldsType: FieldsV1 - fieldsV1: - f:status: - .: {} - f:conditions: - .: {} - k:{"type":"Ready"}: - .: {} - f:lastTransitionTime: {} - f:reason: {} - f:status: {} - f:type: {} - k:{"type":"Synced"}: - .: {} - f:lastTransitionTime: {} - f:message: {} - f:reason: {} - f:status: {} - f:type: {} - f:connectionDetails: - .: {} - f:lastPublishedTime: {} - manager: crossplane - operation: Update - subresource: status - time: "2024-09-27T08:25:00Z" - name: postgresql-widera-test3-n2flr - ownerReferences: - - apiVersion: vshn.appcat.vshn.io/v1 - blockOwnerDeletion: true - controller: true - kind: XVSHNPostgreSQL - name: postgresql-widera-test3-n2flr - uid: 4d072f13-029d-4d9d-bc24-0e4f622a9d3a - resourceVersion: "537039" - uid: 4bd90991-a184-4ef9-bf6b-bd04a937a758 - spec: - compositionRef: - name: minio.objectbuckets.appcat.vshn.io - compositionRevisionRef: - name: minio.objectbuckets.appcat.vshn.io-bf7c734 - compositionUpdatePolicy: Automatic - parameters: - bucketDeletionPolicy: DeleteAll - bucketName: postgresql-widera-test3-n2flr - region: ch-gva-2 - security: - allowAllNamespaces: false - deletionProtection: false - resourceRefs: - - apiVersion: minio.crossplane.io/v1 - kind: Bucket - name: postgresql-widera-test3-n2flr - - apiVersion: minio.crossplane.io/v1 - kind: Policy - name: postgresql-widera-test3-n2flr - - apiVersion: minio.crossplane.io/v1 - kind: User - name: postgresql-widera-test3-n2flr - writeConnectionSecretToRef: - name: pgbucket-postgresql-widera-test3-n2flr - namespace: vshn-postgresql-postgresql-widera-test3-n2flr - status: - conditions: - - lastTransitionTime: "2024-09-27T08:25:00Z" - message: 'cannot compose resources: cannot run Composition pipeline step - "miniobucket-func": cannot run Function "function-appcat": rpc error: - code = Unavailable desc = connection error: desc = "transport: Error while - dialing: dial tcp 172.17.0.1:9443: connect: connection refused"' - reason: ReconcileError - status: "False" - type: Synced - - lastTransitionTime: "2024-09-26T14:37:37Z" - reason: Available - status: "True" - type: Ready - connectionDetails: - lastPublishedTime: "2024-09-26T14:37:37Z" -connectiondetails: - AWS_ACCESS_KEY_ID: - - 114 - AWS_REGION: - - 99 - - AWS_SECRET_ACCESS_KEY: - - 88 - BUCKET_NAME: - - 114 - ENDPOINT: - - 48 - ENDPOINT_URL: - - 104 - \ No newline at end of file diff --git a/pkg/comp-functions/functions/vshnpostgres/postgresql_deploy.go b/pkg/comp-functions/functions/vshnpostgres/postgresql_deploy.go index 7cb506e7c1..ca4664deac 100644 --- a/pkg/comp-functions/functions/vshnpostgres/postgresql_deploy.go +++ b/pkg/comp-functions/functions/vshnpostgres/postgresql_deploy.go @@ -19,7 +19,6 @@ import ( sgv1beta1 "github.com/vshn/appcat/v4/apis/stackgres/v1beta1" appcatv1 "github.com/vshn/appcat/v4/apis/v1" vshnv1 "github.com/vshn/appcat/v4/apis/vshn/v1" - "gopkg.in/yaml.v2" "github.com/vshn/appcat/v4/pkg/common/utils" "github.com/vshn/appcat/v4/pkg/comp-functions/functions/common" @@ -491,13 +490,6 @@ func createSgObjectStorage(comp *vshnv1.VSHNPostgreSQL, svc *runtime.ServiceRunt return fmt.Errorf("waiting for dependencies: %w", err) } - all, _ := svc.GetAllObserved() - yaml, err := yaml.Marshal(all["pg-bucket"]) - if err != nil { - return fmt.Errorf("cannot marshal all observed: %w", err) - } - fmt.Println(string(yaml)) - sgObjectStorage := &sgv1beta1.SGObjectStorage{ ObjectMeta: metav1.ObjectMeta{ Name: "sgbackup-" + comp.GetName(), diff --git a/pkg/comp-functions/functions/vshnpostgres/postgresql_deploy_test.go b/pkg/comp-functions/functions/vshnpostgres/postgresql_deploy_test.go index 199bf588a0..bbe964d892 100644 --- a/pkg/comp-functions/functions/vshnpostgres/postgresql_deploy_test.go +++ b/pkg/comp-functions/functions/vshnpostgres/postgresql_deploy_test.go @@ -26,12 +26,10 @@ func TestPostgreSqlDeploy(t *testing.T) { ctx := context.TODO() assert.Nil(t, DeployPostgreSQL(ctx, &vshnv1.VSHNPostgreSQL{}, svc)) - return assert.Nil(t, addSchedules(ctx, &vshnv1.VSHNPostgreSQL{}, svc)) ns := &corev1.Namespace{} assert.NoError(t, svc.GetDesiredKubeObject(ns, "namespace-conditions")) assert.Equal(t, string("vshn"), ns.GetLabels()[utils.OrgLabelName]) - roleBinding := &rbacv1.RoleBinding{} assert.NoError(t, svc.GetDesiredKubeObject(roleBinding, "namespace-permissions")) diff --git a/pkg/comp-functions/runtime/function_mgr.go b/pkg/comp-functions/runtime/function_mgr.go index d1e08597f7..2f12bbd079 100644 --- a/pkg/comp-functions/runtime/function_mgr.go +++ b/pkg/comp-functions/runtime/function_mgr.go @@ -1026,9 +1026,6 @@ func (s *ServiceRuntime) WaitForDependenciesWithConnectionDetails(mainResource s return false, nil } - jsonized, _ := json.MarshalIndent(s.req.Observed.Resources, " ", " ") - fmt.Println("Checking connection details for object", "object", string(jsonized)) - cd, err := s.GetObservedComposedResourceConnectionDetails(dep) if err != nil { return false, err diff --git a/test/functions/vshn-postgres/deploy/01_default.yaml b/test/functions/vshn-postgres/deploy/01_default.yaml index 92a07b421e..927522219c 100644 --- a/test/functions/vshn-postgres/deploy/01_default.yaml +++ b/test/functions/vshn-postgres/deploy/01_default.yaml @@ -27,14 +27,7 @@ desired: writeConnectionSecretToRef: {} status: instanceNamespace: vshn-postgresql-pgsql-gc9x4 - "pg-bucket": - connectionDetails: - AWS_ACCESS_KEY_ID: whatever - AWS_REGION: whatever - AWS_SECRET_ACCESS_KEY: whatever - BUCKET_NAME: whatever - ENDPOINT: whatever - ENDPOINT_URL: whatever + "pg-bucket": resource: apiVersion: appcat.vshn.io/v1 kind: XObjectBucket @@ -68,12 +61,6 @@ desired: status: "True" type: Ready connectionDetails: - AWS_ACCESS_KEY_ID: whatever - AWS_REGION: whatever - AWS_SECRET_ACCESS_KEY: whatever - BUCKET_NAME: whatever - ENDPOINT: whatever - ENDPOINT_URL: whatever lastPublishedTime: "2024-09-26T14:37:37Z" input: apiVersion: v1 @@ -170,7 +157,7 @@ observed: #here resources: "pg-bucket": - connectionDetails: + connection_details: AWS_ACCESS_KEY_ID: whatever AWS_REGION: whatever AWS_SECRET_ACCESS_KEY: whatever @@ -178,13 +165,6 @@ observed: ENDPOINT: whatever ENDPOINT_URL: whatever resource: - connectionDetails: - AWS_ACCESS_KEY_ID: whatever - AWS_REGION: whatever - AWS_SECRET_ACCESS_KEY: whatever - BUCKET_NAME: whatever - ENDPOINT: whatever - ENDPOINT_URL: whatever apiVersion: appcat.vshn.io/v1 kind: XObjectBucket metadata: @@ -206,13 +186,6 @@ observed: writeConnectionSecretToRef: name: pgsql-gc9x4 namespace: vshn-postgresql-pgsql-gc9x4 - connectionDetails: - AWS_ACCESS_KEY_ID: whatever - AWS_REGION: whatever - AWS_SECRET_ACCESS_KEY: whatever - BUCKET_NAME: whatever - ENDPOINT: whatever - ENDPOINT_URL: whatever status: conditions: - lastTransitionTime: "2024-09-27T08:06:34Z" @@ -224,12 +197,6 @@ observed: status: "True" type: Ready connectionDetails: - AWS_ACCESS_KEY_ID: whatever - AWS_REGION: whatever - AWS_SECRET_ACCESS_KEY: whatever - BUCKET_NAME: whatever - ENDPOINT: whatever - ENDPOINT_URL: whatever lastPublishedTime: "2024-09-26T14:37:37Z" namespace-conditions: diff --git a/test/functions/vshn-postgres/deploy/02_with_pg_config.yaml b/test/functions/vshn-postgres/deploy/02_with_pg_config.yaml index e6ae7e67a0..c96141d2ff 100644 --- a/test/functions/vshn-postgres/deploy/02_with_pg_config.yaml +++ b/test/functions/vshn-postgres/deploy/02_with_pg_config.yaml @@ -125,6 +125,140 @@ observed: status: instanceNamespace: vshn-postgresql-pgsql-gc9x4 resources: + certificate: + resource: + apiVersion: kubernetes.crossplane.io/v1alpha2 + kind: Object + metadata: + annotations: + crossplane.io/composition-resource-name: certificate + crossplane.io/external-create-pending: "2024-09-26T14:37:32Z" + crossplane.io/external-create-succeeded: "2024-09-26T14:37:32Z" + crossplane.io/external-name: pgsql-gc9x4-certificate + creationTimestamp: "2024-09-26T14:37:32Z" + finalizers: + - finalizer.managedresource.crossplane.io + generateName: pgsql-gc9x4- + generation: 38 + labels: + appcat.vshn.io/ownerapiversion: v1 + appcat.vshn.io/ownergroup: vshn.appcat.vshn.io + appcat.vshn.io/ownerkind: XVSHNPostgreSQL + crossplane.io/claim-name: postgresql-widera-test3 + crossplane.io/claim-namespace: widera-testing + crossplane.io/composite: pgsql-gc9x4 + manager: crossplane-kubernetes-provider + operation: Update + subresource: status + time: "2024-09-26T14:37:34Z" + name: pgsql-gc9x4-certificate + ownerReferences: + - apiVersion: vshn.appcat.vshn.io/v1 + blockOwnerDeletion: true + controller: true + kind: XVSHNPostgreSQL + name: pgsql-gc9x4 + uid: 4d072f13-029d-4d9d-bc24-0e4f622a9d3a + resourceVersion: "531293" + uid: 1ffeef69-4add-4d17-98ae-5c210cdd0503 + spec: + deletionPolicy: Delete + forProvider: + manifest: + apiVersion: cert-manager.io/v1 + kind: Certificate + metadata: + annotations: + appcat.vshn.io/forward-events-to: vshn.appcat.vshn.io/v1/VSHNPostgreSQL/widera-testing/postgresql-widera-test3 + labels: + appcat.vshn.io/ownerapiversion: v1 + appcat.vshn.io/ownergroup: vshn.appcat.vshn.io + appcat.vshn.io/ownerkind: XVSHNPostgreSQL + crossplane.io/composite: pgsql-gc9x4 + name: pgsql-gc9x4 + namespace: vshn-postgresql-pgsql-gc9x4 + spec: + dnsNames: + - pgsql-gc9x4.vshn-postgresql-pgsql-gc9x4.svc.cluster.local + - pgsql-gc9x4.vshn-postgresql-pgsql-gc9x4.svc + duration: 87600h0m0s + issuerRef: + group: cert-manager.io + kind: Issuer + name: pgsql-gc9x4 + privateKey: + algorithm: RSA + encoding: PKCS1 + size: 4096 + renewBefore: 2400h0m0s + secretName: tls-certificate + subject: + organizations: + - vshn-appcat + usages: + - server auth + - client auth + status: {} + managementPolicies: + - '*' + providerConfigRef: + name: kubernetes + readiness: + policy: SuccessfulCreate + watch: false + status: + conditions: + - lastTransitionTime: "2024-09-26T14:37:33Z" + reason: Available + status: "True" + type: Ready + - lastTransitionTime: "2024-09-26T14:37:32Z" + reason: ReconcileSuccess + status: "True" + type: Synced + + "pg-bucket": + connection_details: + AWS_ACCESS_KEY_ID: whatever + AWS_REGION: whatever + AWS_SECRET_ACCESS_KEY: whatever + BUCKET_NAME: whatever + ENDPOINT: whatever + ENDPOINT_URL: whatever + resource: + apiVersion: appcat.vshn.io/v1 + kind: XObjectBucket + metadata: + name: pgsql-gc9x4 + labels: + appuio.io/organization: vshn + crossplane.io/claim-name: pgsql + crossplane.io/claim-namespace: unit-test + crossplane.io/composite: pgsql-gc9x4 + spec: + parameters: + bucketName: pgsql-gc9x4 + providerRef: + name: s3 + region: ch-gva-2 + security: + deletionProtection: false + allowAllNamespaces: false + writeConnectionSecretToRef: + name: pgsql-gc9x4 + namespace: vshn-postgresql-pgsql-gc9x4 + status: + conditions: + - lastTransitionTime: "2024-09-27T08:06:34Z" + reason: ReconcileSuccess + status: "True" + type: Synced + - lastTransitionTime: "2024-09-26T14:37:37Z" + reason: Available + status: "True" + type: Ready + connectionDetails: + lastPublishedTime: "2024-09-26T14:37:37Z" namespace-conditions: resource: apiVersion: kubernetes.crossplane.io/v1alpha2 diff --git a/test/functions/vshn-postgres/deploy/03_with_restore.yaml b/test/functions/vshn-postgres/deploy/03_with_restore.yaml index d3c7561423..b4ec225ce1 100644 --- a/test/functions/vshn-postgres/deploy/03_with_restore.yaml +++ b/test/functions/vshn-postgres/deploy/03_with_restore.yaml @@ -129,6 +129,140 @@ observed: status: instanceNamespace: vshn-postgresql-pgsql-gc9x4 resources: + certificate: + resource: + apiVersion: kubernetes.crossplane.io/v1alpha2 + kind: Object + metadata: + annotations: + crossplane.io/composition-resource-name: certificate + crossplane.io/external-create-pending: "2024-09-26T14:37:32Z" + crossplane.io/external-create-succeeded: "2024-09-26T14:37:32Z" + crossplane.io/external-name: pgsql-gc9x4-certificate + creationTimestamp: "2024-09-26T14:37:32Z" + finalizers: + - finalizer.managedresource.crossplane.io + generateName: pgsql-gc9x4- + generation: 38 + labels: + appcat.vshn.io/ownerapiversion: v1 + appcat.vshn.io/ownergroup: vshn.appcat.vshn.io + appcat.vshn.io/ownerkind: XVSHNPostgreSQL + crossplane.io/claim-name: postgresql-widera-test3 + crossplane.io/claim-namespace: widera-testing + crossplane.io/composite: pgsql-gc9x4 + manager: crossplane-kubernetes-provider + operation: Update + subresource: status + time: "2024-09-26T14:37:34Z" + name: pgsql-gc9x4-certificate + ownerReferences: + - apiVersion: vshn.appcat.vshn.io/v1 + blockOwnerDeletion: true + controller: true + kind: XVSHNPostgreSQL + name: pgsql-gc9x4 + uid: 4d072f13-029d-4d9d-bc24-0e4f622a9d3a + resourceVersion: "531293" + uid: 1ffeef69-4add-4d17-98ae-5c210cdd0503 + spec: + deletionPolicy: Delete + forProvider: + manifest: + apiVersion: cert-manager.io/v1 + kind: Certificate + metadata: + annotations: + appcat.vshn.io/forward-events-to: vshn.appcat.vshn.io/v1/VSHNPostgreSQL/widera-testing/postgresql-widera-test3 + labels: + appcat.vshn.io/ownerapiversion: v1 + appcat.vshn.io/ownergroup: vshn.appcat.vshn.io + appcat.vshn.io/ownerkind: XVSHNPostgreSQL + crossplane.io/composite: pgsql-gc9x4 + name: pgsql-gc9x4 + namespace: vshn-postgresql-pgsql-gc9x4 + spec: + dnsNames: + - pgsql-gc9x4.vshn-postgresql-pgsql-gc9x4.svc.cluster.local + - pgsql-gc9x4.vshn-postgresql-pgsql-gc9x4.svc + duration: 87600h0m0s + issuerRef: + group: cert-manager.io + kind: Issuer + name: pgsql-gc9x4 + privateKey: + algorithm: RSA + encoding: PKCS1 + size: 4096 + renewBefore: 2400h0m0s + secretName: tls-certificate + subject: + organizations: + - vshn-appcat + usages: + - server auth + - client auth + status: {} + managementPolicies: + - '*' + providerConfigRef: + name: kubernetes + readiness: + policy: SuccessfulCreate + watch: false + status: + conditions: + - lastTransitionTime: "2024-09-26T14:37:33Z" + reason: Available + status: "True" + type: Ready + - lastTransitionTime: "2024-09-26T14:37:32Z" + reason: ReconcileSuccess + status: "True" + type: Synced + + "pg-bucket": + connection_details: + AWS_ACCESS_KEY_ID: whatever + AWS_REGION: whatever + AWS_SECRET_ACCESS_KEY: whatever + BUCKET_NAME: whatever + ENDPOINT: whatever + ENDPOINT_URL: whatever + resource: + apiVersion: appcat.vshn.io/v1 + kind: XObjectBucket + metadata: + name: pgsql-gc9x4 + labels: + appuio.io/organization: vshn + crossplane.io/claim-name: pgsql + crossplane.io/claim-namespace: unit-test + crossplane.io/composite: pgsql-gc9x4 + spec: + parameters: + bucketName: pgsql-gc9x4 + providerRef: + name: s3 + region: ch-gva-2 + security: + deletionProtection: false + allowAllNamespaces: false + writeConnectionSecretToRef: + name: pgsql-gc9x4 + namespace: vshn-postgresql-pgsql-gc9x4 + status: + conditions: + - lastTransitionTime: "2024-09-27T08:06:34Z" + reason: ReconcileSuccess + status: "True" + type: Synced + - lastTransitionTime: "2024-09-26T14:37:37Z" + reason: Available + status: "True" + type: Ready + connectionDetails: + lastPublishedTime: "2024-09-26T14:37:37Z" namespace-conditions: resource: apiVersion: kubernetes.crossplane.io/v1alpha2