Skip to content

Commit 214a8e8

Browse files
committed
fix(config): removed per service config.yaml
1 parent 6c1647a commit 214a8e8

File tree

12 files changed

+12
-178
lines changed

12 files changed

+12
-178
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ ARG VERSION=0.0.1
5454
ARG TYPE=service
5555
ARG TARGET=account
5656
COPY --from=builder /app /app
57-
COPY --from=builder src/config/base/service/${TARGET}/config /config
57+
COPY --from=builder src/config /config
5858

5959
# Declare the port on which the webserver will be exposed.
6060
# As we're going to run the executable as an unprivileged user, we can't bind

config/base/service/account/config/config.yaml

Lines changed: 0 additions & 48 deletions
This file was deleted.

config/base/service/account/kustomization.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ resources:
1313
- service.yaml
1414

1515
configMapGenerator:
16-
- name: config
17-
files:
18-
- config/config.yaml
1916
- name: env-vars
2017
literals:
2118
- MICRO_SERVER_NAME=mkit.service.account

config/base/service/emailer/config/config.yaml

Lines changed: 0 additions & 43 deletions
This file was deleted.

config/base/service/emailer/kustomization.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ resources:
1313
- service.yaml
1414

1515
configMapGenerator:
16-
- name: config
17-
files:
18-
- config/config.yaml
1916
- name: env-vars
2017
literals:
2118
- MICRO_SERVER_NAME=mkit.service.emailer

config/base/service/greeter/config/config.yaml

Lines changed: 0 additions & 36 deletions
This file was deleted.

config/base/service/greeter/kustomization.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ resources:
1313
- service.yaml
1414

1515
configMapGenerator:
16-
- name: config
17-
files:
18-
- config/config.yaml
1916
- name: env-vars
2017
literals:
2118
- MICRO_SERVER_NAME=mkit.service.greeter

config/base/service/recorder/config/config.yaml

Lines changed: 0 additions & 36 deletions
This file was deleted.

config/base/service/recorder/kustomization.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ resources:
1313
- service.yaml
1414

1515
configMapGenerator:
16-
- name: config
17-
files:
18-
- config/config.yaml
1916
- name: env-vars
2017
literals:
2118
- MICRO_SERVER_NAME=mkit.service.recorder

config/config.prod.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
services:
2+
account:
3+
endpoint: dns:///account:8080
4+
greeter:
5+
endpoint: dns:///greeter:8080
6+
emailer:
7+
endpoint: dns:///emailer:8080
8+
recorder:
9+
endpoint: dns:///recorder:8080
10+
111
features:
212
tls:
313
cert_file: /config/certs/upstream-cert.pem

0 commit comments

Comments
 (0)