Commit aafc775b authored by Soukaina Khalkhouli's avatar Soukaina Khalkhouli
Browse files

test2

parent ae8bdd97
......@@ -47,6 +47,7 @@ parameters:
description: Postresql admin password
required: true
objects:
## Secrets
- kind: Secret # WEBHOOK SECRET
apiVersion: v1
......@@ -147,15 +148,15 @@ objects:
app: ${POSTGRESQL_APPNAME}
spec:
volumes:
- name: ${POSTGRESQL_PVCNAME}
- name: postgres-storage-pvc-2
persistentVolumeClaim:
claimName: postgres-storage-pvc
claimName: postgres-storage-pvc-2
initContainers:
- name: ${POSTGRESQL_APPNAME}-init # INIT CONTAINER ${POSTGRESQL_APPNAME}-init
image: image-registry.openshift-image-registry.svc:5000/${NAMESPACE}/${POSTGRESQL_APPNAME}-init:latest
volumeMounts:
- mountPath: /pvc/postgres
name: ${POSTGRESQL_PVCNAME}
name: postgres-storage-pvc-2
selector:
name: ${POSTGRESQL_APPNAME}
containers:
......@@ -176,7 +177,7 @@ objects:
value: ${POSTGRESQL_ADMIN_PASSWORD}
volumeMounts:
- mountPath: /opt/app-root/src/postgresql-start
name: ${POSTGRESQL_PVCNAME}
name: postgres-storage-pvc-2
triggers:
- type: ConfigChange
- type: ImageChange
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment