add pg and sonarqube
parent
307e904d29
commit
0feca527e8
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue