diff --git a/README.md b/README.md index b0b41d92195b2a5a42b47008e0a47ced10a67508..4ecd703bed34359683f0b9d84817b755fa3ab14f 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