Skip to content

Commit

Permalink
Remove Pgpool pcp service
Browse files Browse the repository at this point in the history
Signed-off-by: MobarakHsn <[email protected]>
  • Loading branch information
MobarakHsn committed May 31, 2024
1 parent 063e5bd commit 8b60ab7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions apis/kubedb/v1alpha2/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ const (
PgpoolContainerName = "pgpool"
PgpoolDefaultServicePort = 9999
PgpoolMonitoringDefaultServicePort = 9719
PgpoolPcpServicePort = 9595
PgpoolPcpPort = 9595
PgpoolExporterDatabase = "postgres"
EnvPgpoolExporterDatabase = "POSTGRES_DATABASE"
EnvPgpoolService = "PGPOOL_SERVICE"
Expand All @@ -597,7 +597,7 @@ const (
PgpoolRootUser = "postgres"
PgpoolPrimaryServicePortName = "primary"
PgpoolDatabasePortName = "db"
PgpoolPcpServicePortName = "pcp"
PgpoolPcpPortName = "pcp"
PgpoolCustomConfigFile = "pgpool.conf"
// ========================================== ZooKeeper Constants =================================================//

Expand Down
4 changes: 0 additions & 4 deletions apis/kubedb/v1alpha2/pgpool_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,6 @@ func (p *Pgpool) ServiceName() string {
return p.OffshootName()
}

func (p *Pgpool) PcpServiceName() string {
return meta_util.NameWithSuffix(p.ServiceName(), "pcp")
}

// Owner returns owner reference to resources
func (p *Pgpool) Owner() *meta.OwnerReference {
return meta.NewControllerRef(p, SchemeGroupVersion.WithKind(p.ResourceKind()))
Expand Down

0 comments on commit 8b60ab7

Please sign in to comment.