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

test2

parent ae8bdd97
...@@ -47,6 +47,7 @@ parameters: ...@@ -47,6 +47,7 @@ parameters:
description: Postresql admin password description: Postresql admin password
required: true required: true
objects: objects:
## Secrets ## Secrets
- kind: Secret # WEBHOOK SECRET - kind: Secret # WEBHOOK SECRET
apiVersion: v1 apiVersion: v1
...@@ -147,15 +148,15 @@ objects: ...@@ -147,15 +148,15 @@ objects:
app: ${POSTGRESQL_APPNAME} app: ${POSTGRESQL_APPNAME}
spec: spec:
volumes: volumes:
- name: ${POSTGRESQL_PVCNAME} - name: postgres-storage-pvc-2
persistentVolumeClaim: persistentVolumeClaim:
claimName: postgres-storage-pvc claimName: postgres-storage-pvc-2
initContainers: initContainers:
- name: ${POSTGRESQL_APPNAME}-init # INIT CONTAINER ${POSTGRESQL_APPNAME}-init - name: ${POSTGRESQL_APPNAME}-init # INIT CONTAINER ${POSTGRESQL_APPNAME}-init
image: image-registry.openshift-image-registry.svc:5000/${NAMESPACE}/${POSTGRESQL_APPNAME}-init:latest image: image-registry.openshift-image-registry.svc:5000/${NAMESPACE}/${POSTGRESQL_APPNAME}-init:latest
volumeMounts: volumeMounts:
- mountPath: /pvc/postgres - mountPath: /pvc/postgres
name: ${POSTGRESQL_PVCNAME} name: postgres-storage-pvc-2
selector: selector:
name: ${POSTGRESQL_APPNAME} name: ${POSTGRESQL_APPNAME}
containers: containers:
...@@ -176,7 +177,7 @@ objects: ...@@ -176,7 +177,7 @@ objects:
value: ${POSTGRESQL_ADMIN_PASSWORD} value: ${POSTGRESQL_ADMIN_PASSWORD}
volumeMounts: volumeMounts:
- mountPath: /opt/app-root/src/postgresql-start - mountPath: /opt/app-root/src/postgresql-start
name: ${POSTGRESQL_PVCNAME} name: postgres-storage-pvc-2
triggers: triggers:
- type: ConfigChange - type: ConfigChange
- type: ImageChange - type: ImageChange
......
Markdown is supported
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