Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Sign in
Toggle navigation
Menu
Open sidebar
Soukaina Khalkhouli
global-knewledge
Commits
ae8bdd97
Commit
ae8bdd97
authored
May 24, 2021
by
Soukaina Khalkhouli
Browse files
test2
parent
e936dc47
Changes
1
Hide whitespace changes
Inline
Side-by-side
postgres-init-sample/2tpl-postgres-init.yaml
View file @
ae8bdd97
...
...
@@ -47,21 +47,6 @@ parameters:
description
:
Postresql admin password
required
:
true
objects
:
## PVC
-
kind
:
PersistentVolumeClaim
# PVC persistent storage Postgres
apiVersion
:
v1
metadata
:
name
:
${POSTGRESQL_PVCNAME}
namespace
:
${NAMESPACE}
labels
:
deploymentconfig
:
${POSTGRESQL_APPNAME}
spec
:
accessModes
:
-
ReadWriteMany
resources
:
requests
:
storage
:
50Mi
storageClassName
:
ibmc-file-retain-bronze
## Secrets
-
kind
:
Secret
# WEBHOOK SECRET
apiVersion
:
v1
...
...
@@ -164,7 +149,7 @@ objects:
volumes
:
-
name
:
${POSTGRESQL_PVCNAME}
persistentVolumeClaim
:
claimName
:
${POSTGRESQL_PVCNAME}
claimName
:
postgres-storage-pvc
initContainers
:
-
name
:
${POSTGRESQL_APPNAME}-init
# INIT CONTAINER ${POSTGRESQL_APPNAME}-init
image
:
image-registry.openshift-image-registry.svc:5000/${NAMESPACE}/${POSTGRESQL_APPNAME}-init:latest
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment