-
Notifications
You must be signed in to change notification settings - Fork 0
/
service.yaml
39 lines (39 loc) · 1.16 KB
/
service.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: quarkus-petclinic-rest
spec:
template:
spec:
containers:
- image: gcr.io/PROJECT_ID/IMAGE:TAG
resources:
requests:
cpu: 1000m
memory: 512M
env:
- name: "DB_HOST"
valueFrom:
secretKeyRef:
name: quarkus-petclinic-rest-credentials
key: db-host
- name: "DB_PORT"
valueFrom:
secretKeyRef:
name: quarkus-petclinic-rest-credentials
key: db-port
- name: "DB_DATABASE"
valueFrom:
secretKeyRef:
name: quarkus-petclinic-rest-credentials
key: db-database
- name: "DB_USERNAME"
valueFrom:
secretKeyRef:
name: quarkus-petclinic-rest-credentials
key: db-username
- name: "DB_PASSWORD"
valueFrom:
secretKeyRef:
name: quarkus-petclinic-rest-credentials
key: db-password