Moved docker images to project and updated database image
This commit is contained in:
@@ -15,13 +15,21 @@ spec:
|
||||
labels:
|
||||
app: postgres-hetzner
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: registry-creds
|
||||
containers:
|
||||
- name: postgres
|
||||
image: pgvector/pgvector:pg18-trixie
|
||||
image: rg.mariushome.lt/custom-postgres
|
||||
imagePullPolicy: IfNotPresent
|
||||
args:
|
||||
- -c
|
||||
- config_file=/etc/postgresql/postgresql.conf
|
||||
volumeMounts:
|
||||
- name: postgres-data
|
||||
mountPath: /var/lib/postgresql
|
||||
- name: postgres-config
|
||||
mountPath: /etc/postgresql
|
||||
readOnly: true
|
||||
env:
|
||||
- name: POSTGRES_PASSWORD
|
||||
valueFrom:
|
||||
@@ -36,4 +44,7 @@ spec:
|
||||
volumes:
|
||||
- name: postgres-data
|
||||
persistentVolumeClaim:
|
||||
claimName: postgres-hetzner-pvc
|
||||
claimName: postgres-hetzner-pvc
|
||||
- name: postgres-config
|
||||
configMap:
|
||||
name: postgres-hetzner-config
|
||||
Reference in New Issue
Block a user