feat(ch9lab): add placeholder fragment directory
This commit is contained in:
parent
137aecb997
commit
fea7be4519
4 changed files with 0 additions and 60 deletions
0
todo-api-micro/src/main/fabric8/.gitkeep
Normal file
0
todo-api-micro/src/main/fabric8/.gitkeep
Normal file
|
|
@ -1,21 +0,0 @@
|
||||||
spec:
|
|
||||||
template:
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
-
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: "0.2"
|
|
||||||
# memory: 256Mi
|
|
||||||
limits:
|
|
||||||
cpu: "1.0"
|
|
||||||
# memory: 256Mi
|
|
||||||
env:
|
|
||||||
- name: DATABASE_USER
|
|
||||||
value: '${database.user}'
|
|
||||||
- name: DATABASE_PASSWORD
|
|
||||||
value: '${database.password}'
|
|
||||||
- name: DATABASE_SVC_HOSTNAME
|
|
||||||
value: '${database.svc.hostname}'
|
|
||||||
- name: DATABASE_NAME
|
|
||||||
value: '${database.name}'
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Route
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
expose: "true"
|
|
||||||
app: ${project.artifactId}
|
|
||||||
provider: fabric8
|
|
||||||
version: "1.0"
|
|
||||||
group: com.redhat.training
|
|
||||||
name: ${project.artifactId}
|
|
||||||
spec:
|
|
||||||
host: ${hostname}
|
|
||||||
port:
|
|
||||||
targetPort: ${service-port}
|
|
||||||
to:
|
|
||||||
kind: Service
|
|
||||||
name: ${project.artifactId}
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
fabric8.io/iconUrl: img/icons/camel.svg
|
|
||||||
labels:
|
|
||||||
expose: "true"
|
|
||||||
app: ${project.artifactId}
|
|
||||||
provider: fabric8
|
|
||||||
version: "1.0"
|
|
||||||
group: com.redhat.training
|
|
||||||
name: ${project.artifactId}
|
|
||||||
spec:
|
|
||||||
ports:
|
|
||||||
- name: http
|
|
||||||
port: ${service-port}
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: ${service-port}
|
|
||||||
selector:
|
|
||||||
deploymentconfig: ${project.artifactId}
|
|
||||||
Loading…
Add table
Reference in a new issue