From 0feca527e8b1293457991ae45055106fd1ed85bd Mon Sep 17 00:00:00 2001 From: ycz008 Date: Tue, 19 Dec 2023 16:41:01 +0800 Subject: [PATCH] add pg and sonarqube --- dev-upgrade/pg/pg.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-upgrade/pg/pg.yaml b/dev-upgrade/pg/pg.yaml index 721d0de..ecf7305 100644 --- a/dev-upgrade/pg/pg.yaml +++ b/dev-upgrade/pg/pg.yaml @@ -19,7 +19,7 @@ spec: ports: - containerPort: 5432 volumeMounts: - - name: postgresql_data + - name: postgresql-data mountPath: /var/lib/postgresql/data env: - name: POSTGRES_USER @@ -29,7 +29,7 @@ spec: - name: POSTGRES_DB value: "sonar" volumes: - - name: postgresql_data + - name: postgresql-data hostPath: path: /data/sonarqube/postgresql/data affinity: