Skip to content

Commit f4482f9

Browse files
committed
Configure Postgres for failover logical replication slot sync
Signed-off-by: notTabassum <oyshee@appscode.com>
1 parent 594ec92 commit f4482f9

33 files changed

Lines changed: 1034 additions & 534 deletions

File tree

apis/installer/v1alpha1/ace_ace_types.go

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,16 @@ type Settings struct {
396396
Firebase FirebaseSettings `json:"firebase"`
397397
// +optional
398398
Marketplace *MarketplaceSettings `json:"marketplace,omitempty"`
399+
// +optional
400+
PgPool *PgPoolSettings `json:"pgpool,omitempty"`
401+
}
402+
403+
type PgPoolSettings struct {
404+
Enabled bool `json:"enabled"`
405+
Replicas int `json:"replicas"`
406+
Resources core.ResourceRequirements `json:"resources"`
407+
// +optional
408+
Config map[string]string `json:"config,omitempty"`
399409
}
400410

401411
type DBSettings struct {
@@ -541,7 +551,9 @@ type MarketplaceSettings struct {
541551
}
542552

543553
type AcePgOutbox struct {
544-
Enabled bool `json:"enabled"`
554+
Enabled bool `json:"enabled"`
555+
// +optional
556+
SynchronizedStandbySlots string `json:"synchronizedStandbySlots"`
545557
*kubeops_installer.PgoutboxSpec `json:",inline,omitempty"`
546558
}
547559

apis/installer/v1alpha1/ace_options_types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,9 @@ type AceOptionsIngressNginx struct {
205205
type AceOptionsGateway struct {
206206
Enabled bool `json:"enabled"`
207207
Annotations map[string]string `json:"annotations,omitempty"`
208+
ExposeVia ServiceType `json:"exposeVia"`
209+
// +optional
210+
ExternalIPs []string `json:"externalIPs"`
208211
}
209212

210213
// +kubebuilder:validation:Enum=Ingress;HostPort

apis/installer/v1alpha1/zz_generated.deepcopy.go

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
- alpine:3.20
2+
- bats/bats:1.11.0
3+
- ghcr.io/appscode-images/registry:3.1.1
4+
- ghcr.io/appscode/ace:v0.2.0
5+
- ghcr.io/appscode/acerproxy:v0.2.0
6+
- ghcr.io/appscode/aceshifter:v0.0.3
7+
- ghcr.io/appscode/b3:v2026.7.10
8+
- ghcr.io/appscode/billing-ui:2.4.0
9+
- ghcr.io/appscode/catalog-manager:v0.13.0
10+
- ghcr.io/appscode/cert-manager-webhook-ace:v0.0.2
11+
- ghcr.io/appscode/cloudflare-dns-proxy:v0.0.5
12+
- ghcr.io/appscode/cluster-presets:v0.0.12
13+
- ghcr.io/appscode/cluster-ui:2.4.0
14+
- ghcr.io/appscode/curl:alpine
15+
- ghcr.io/appscode/deploy-ui:0.3.6
16+
- ghcr.io/appscode/fileserver:v0.0.1
17+
- ghcr.io/appscode/gh-ci-webhook:v0.0.20
18+
- ghcr.io/appscode/gotenberg:8.25
19+
- ghcr.io/appscode/grafana:v2025.2.3
20+
- ghcr.io/appscode/inbox-server:postgres-latest
21+
- ghcr.io/appscode/inbox-ui:0.0.5
22+
- ghcr.io/appscode/kube-rbac-proxy:v0.18.2
23+
- ghcr.io/appscode/kubectl-nonroot:1.34
24+
- ghcr.io/appscode/kubedb-ui:2.4.0
25+
- ghcr.io/appscode/license-proxyserver:v0.1.1
26+
- ghcr.io/appscode/marketplace-ui:0.3.1
27+
- ghcr.io/appscode/maxmind-geoip:city-mmdb-latest
28+
- ghcr.io/appscode/offline-license-server:v0.0.76
29+
- ghcr.io/appscode/outboxsyncer:v0.5.0
30+
- ghcr.io/appscode/platform-ui:2.4.0
31+
- ghcr.io/appscode/s3proxy:sha-a82ca68
32+
- ghcr.io/appscode/service-provider:v0.0.2
33+
- ghcr.io/appscode/smtprelay:v0.0.4
34+
- ghcr.io/appscode/website:v2026.7.10
35+
- ghcr.io/voyagermesh/crd-manager:v0.2.0
36+
- ghcr.io/voyagermesh/echoserver:v20221109
37+
- ghcr.io/voyagermesh/envoy:v1.37.2-ac
38+
- ghcr.io/voyagermesh/gateway:v1.7.1
39+
- minio/minio:RELEASE.2023-01-12T02-06-16Z
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- ghcr.io/appscode-images/pgpool2:4.6.0
2+
- ghcr.io/appscode-images/pgpool2_exporter:v1.2.2
3+
- registry.k8s.io/git-sync/git-sync:v4.4.2

charts/ace-installer-certified-crds/README.md

Lines changed: 134 additions & 134 deletions
Large diffs are not rendered by default.

charts/ace-installer-certified-crds/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ helm:
9090
enabled: true
9191
version: "v2026.6.19"
9292
values: # +doc-gen:break
93+
global:
94+
featureGates:
95+
Pgpool: true
9396
kubedb-provisioner:
9497
enabled: true
9598
kubedb-catalog:

0 commit comments

Comments
 (0)