From 1b4f39d39fc28d7c252e3a5e1db239289c22a557 Mon Sep 17 00:00:00 2001 From: Soichiro Hirata Date: Mon, 18 Mar 2024 13:17:55 +0900 Subject: [PATCH 1/3] Setup for sonarqube --- kustomize/postgres/postgres.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/kustomize/postgres/postgres.yaml b/kustomize/postgres/postgres.yaml index 5373b06f..1787e495 100644 --- a/kustomize/postgres/postgres.yaml +++ b/kustomize/postgres/postgres.yaml @@ -3,8 +3,8 @@ kind: PostgresCluster metadata: name: hippo spec: - image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-16.2-0 - postgresVersion: 16 + image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-15.2-0 + postgresVersion: 15 instances: - name: instance1 dataVolumeClaimSpec: @@ -13,6 +13,7 @@ spec: resources: requests: storage: 1Gi + storageClassName: storage-pure-ar-izanami-1a backups: pgbackrest: image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi8-2.49-0 @@ -25,3 +26,9 @@ spec: resources: requests: storage: 1Gi + storageClassName: storage-pure-ar-izanami-1a + users: + - name: sonarqube + databases: + - sonardb + options: "SUPERUSER" From 64ab9e5c456b3477ec2a065c0eab9250c17d4053 Mon Sep 17 00:00:00 2001 From: Soichiro Hirata Date: Tue, 2 Apr 2024 11:29:10 +0900 Subject: [PATCH 2/3] Change storage size --- kustomize/postgres/postgres.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kustomize/postgres/postgres.yaml b/kustomize/postgres/postgres.yaml index 1787e495..0b4a1e0a 100644 --- a/kustomize/postgres/postgres.yaml +++ b/kustomize/postgres/postgres.yaml @@ -12,7 +12,7 @@ spec: - "ReadWriteOnce" resources: requests: - storage: 1Gi + storage: 50Gi storageClassName: storage-pure-ar-izanami-1a backups: pgbackrest: @@ -25,7 +25,7 @@ spec: - "ReadWriteOnce" resources: requests: - storage: 1Gi + storage: 50Gi storageClassName: storage-pure-ar-izanami-1a users: - name: sonarqube From 58be484c923112916a81476fba252512f08dbb4f Mon Sep 17 00:00:00 2001 From: Soichiro Hirata Date: Tue, 2 Apr 2024 13:49:43 +0900 Subject: [PATCH 3/3] Change pgbackrest image tag --- kustomize/postgres/postgres.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kustomize/postgres/postgres.yaml b/kustomize/postgres/postgres.yaml index 0b4a1e0a..53cc59af 100644 --- a/kustomize/postgres/postgres.yaml +++ b/kustomize/postgres/postgres.yaml @@ -16,7 +16,7 @@ spec: storageClassName: storage-pure-ar-izanami-1a backups: pgbackrest: - image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi8-2.49-0 + image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi8-2.41-0 repos: - name: repo1 volume: