add pg and sonarqube
parent
307e904d29
commit
0feca527e8
|
@ -19,7 +19,7 @@ spec:
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 5432
|
- containerPort: 5432
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: postgresql_data
|
- name: postgresql-data
|
||||||
mountPath: /var/lib/postgresql/data
|
mountPath: /var/lib/postgresql/data
|
||||||
env:
|
env:
|
||||||
- name: POSTGRES_USER
|
- name: POSTGRES_USER
|
||||||
|
@ -29,7 +29,7 @@ spec:
|
||||||
- name: POSTGRES_DB
|
- name: POSTGRES_DB
|
||||||
value: "sonar"
|
value: "sonar"
|
||||||
volumes:
|
volumes:
|
||||||
- name: postgresql_data
|
- name: postgresql-data
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /data/sonarqube/postgresql/data
|
path: /data/sonarqube/postgresql/data
|
||||||
affinity:
|
affinity:
|
||||||
|
|
Loading…
Reference in New Issue