From 0625d18be2d0b4446039044d883d32bc02f87ad4 Mon Sep 17 00:00:00 2001 From: Cattani Luca <luca.cattani@eurac.edu> Date: Fri, 29 Sep 2017 15:13:39 +0200 Subject: [PATCH] Update README.md --- README.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b0b41d9..4ecd703 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,8 @@ This is the directory structure * `/kubernetes` - Kubernetes files * `/kubernetes/helm` - Chart Directory. Refer to https://github.com/kubernetes/helm/blob/master/docs/charts.md#the-chart-file-structure * `/kubernetes/yaml` - Useful for tests, but helm is a more flexible approach - -# Requirements +# Introduction +# Prerequisites * Kubernetes cluster @@ -59,4 +59,18 @@ docker pull gitlab.scientificnet.org:4567/commul/dspace/<my_image>:<my tag> ```console docker build -t gitlab.scientificnet.org:4567/commul/dspace/<my_image>:<my tag> -f Dockerfile.XX . docker push gitlab.scientificnet.org:4567/commul/dspace/<my_image>:<my tag> +``` + +# Installation +## PostgreSQL +To install PostgreSQL, we need some passwords, so we need Kubernetes secrets + +```console +$ kubectl -n dspace-dev create -f postgresql-secret.yaml +secret "dspace-postgresql" created + +$ kubectl -n dspace-dev get secrets +NAME TYPE DATA AGE +default-token-c1pd4 kubernetes.io/service-account-token 3 4d +dspace-postgresql Opaque 1 18s ``` \ No newline at end of file -- GitLab