Skip to content

Commit

Permalink
chore: Align pgo objects name pattern (#57)
Browse files Browse the repository at this point in the history
Jira EPMDEDP-13363
Related #57

Change-Id: I0ff077a0c7d941b31365f29cfac10d0d48f55537
  • Loading branch information
Mykola Serdiuk committed Mar 20, 2024
1 parent 4dda632 commit 4444789
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion add-ons/harbor-ha-okd/templates/postgres-cluster.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: postgres-operator.crunchydata.com/v1beta1
kind: PostgresCluster
metadata:
name: postgresql
name: harbor
spec:
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-14.8-0
postgresVersion: 14
Expand Down
4 changes: 2 additions & 2 deletions add-ons/harbor-ha-okd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ harbor:
database:
type: external
external:
host: "postgresql-primary.harbor.svc"
host: "harbor-primary.harbor.svc"
port: "5432"
username: "harbor"
existingSecret: "postgresql-pguser-harbor"
existingSecret: "harbor-pguser-harbor"
sslmode: "require"

redis:
Expand Down
2 changes: 1 addition & 1 deletion add-ons/harbor-ha/templates/postgres-cluster.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: postgres-operator.crunchydata.com/v1beta1
kind: PostgresCluster
metadata:
name: postgresql
name: harbor
spec:
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-14.8-0
postgresVersion: 14
Expand Down
4 changes: 2 additions & 2 deletions add-ons/harbor-ha/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ harbor:
database:
type: external
external:
host: "postgresql-primary.harbor.svc"
host: "harbor-primary.harbor.svc"
port: "5432"
username: "harbor"
existingSecret: "postgresql-pguser-harbor"
existingSecret: "harbor-pguser-harbor"

redis:
type: external
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: postgres-operator.crunchydata.com/v1beta1
kind: PostgresCluster
metadata:
name: postgresql
name: reportportal
spec:
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-13.8-0
postgresVersion: 13
Expand Down
2 changes: 1 addition & 1 deletion add-ons/report-portal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ reportportal:
postgresql:
SecretName: "reportportal-postgresql-creds"
endpoint:
address: postgresql-primary.report-portal.svc.cluster.local
address: reportportal-primary.report-portal.svc.cluster.local

elasticsearch:
endpoint: opensearch-cluster-master.report-portal.svc.cluster.local:9200
Expand Down
2 changes: 1 addition & 1 deletion add-ons/sonar/templates/postgres-cluster.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: postgres-operator.crunchydata.com/v1beta1
kind: PostgresCluster
metadata:
name: postgresql
name: sonar
spec:
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-14.8-0
postgresVersion: 14
Expand Down
4 changes: 2 additions & 2 deletions add-ons/sonar/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ sonarqube:

jdbcOverwrite:
enable: true
jdbcUrl: "jdbc:postgresql://postgresql-primary.sonar:5432/sonar?socketTimeout=1500"
jdbcUrl: "jdbc:postgresql://sonar-primary.sonar:5432/sonar?socketTimeout=1500"
jdbcUsername: "sonar"
jdbcSecretName: postgresql-pguser-sonar
jdbcSecretName: sonar-pguser-sonar
jdbcSecretPasswordKey: "password"

0 comments on commit 4444789

Please sign in to comment.