Skip to content

Commit 7de267a

Browse files
author
Laurent Gougeon
committed
Moved kubernetes to a dedicated directory deploy under root directory.
1 parent b1f5aa0 commit 7de267a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -188,13 +188,13 @@ make clean
188188

189189
## Deployment
190190

191-
If you have successfully built the OpenECPDS containers and enabled Kubernetes in Docker, navigate to the following directory where another [Makefile](run/bin/ecpds/Kubernetes/Makefile) is available:
191+
If you have successfully built the OpenECPDS containers and enabled Kubernetes in Docker, navigate to the following directory where a [Makefile](deploy/kubernetes/Makefile) is available:
192192

193193
```
194-
cd run/bin/ecpds/Kubernetes
194+
cd deploy/kubernetes
195195
```
196196

197-
To convert the [docker-compose.yml](run/bin/ecpds/Kubernetes/docker-compose.yml) file into Kubernetes YAML files in the `k8s-configs` directory and start the pods, run:
197+
To convert the [docker-compose.yml](deploy/kubernetes/docker-compose.yml) file into Kubernetes YAML files in the `k8s-configs` directory and start the pods, run:
198198

199199
```
200200
make build

run/bin/ecpds/Kubernetes/Makefile deploy/kubernetes/Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ ETC_ECPDS_MOVER_SIZE=50Mi
4545
SHELL=/bin/bash
4646

4747
# Extract the version and build number from the Maven file
48-
VERSION=$(shell grep '<version>' ../../../../pom.xml | head -n 1 | sed 's/.*>\(.*\)<.*/\1/')
49-
BUILD=$(shell grep '<build.number>' ../../../../pom.xml | head -n 1 | sed 's/.*>\(.*\)<.*/\1/')
48+
VERSION=$(shell grep '<version>' ../../pom.xml | head -n 1 | sed 's/.*>\(.*\)<.*/\1/')
49+
BUILD=$(shell grep '<build.number>' ../../pom.xml | head -n 1 | sed 's/.*>\(.*\)<.*/\1/')
5050

5151
# Set the TAG (export to be available in the compose file)
5252
export TAG=$(VERSION)-$(BUILD)
5353

5454
# Set the run path to be used inside the Makefile
55-
LOCAL_ROOT_PATH = $(realpath ../../..)
55+
LOCAL_ROOT_PATH = $(realpath ../../run)
5656

5757
# Output the help for each task
5858
.PHONY: help build .volume volumes kompose start yaml ports clean info

0 commit comments

Comments
 (0)