-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtrips.yaml
42 lines (42 loc) · 1.57 KB
/
trips.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
40
41
42
apiVersion: apps/v1
kind: Deployment
metadata:
name: trips
spec:
selector:
matchLabels:
run: trips
replicas: 1
template:
metadata:
labels:
run: trips
spec:
containers:
- name: trips
image: registryqft0511.azurecr.io/tripinsights/trips:1.0
ports:
- containerPort: 80
volumeMounts:
- name: keyvault
mountPath: /secrets
readOnly: true
env:
- name: OPENAPI_DOCS_URI
value: "10.0.26.11:80"
- name: DEBUG_LOGGING
value: "NO"
volumes:
- name: keyvault
flexVolume:
driver: "azure/kv"
secretRef:
name: kvcredentials # [OPTIONAL] not required if using Pod Identity
options:
keyvaultname: "team14KeyVault" # the name of the KeyVault
keyvaultobjectnames: sql-dbname;sql-password;sql-server;sql-username # list of KeyVault object names (semi-colon separated)
keyvaultobjecttypes: secret;secret;secret;secret # list of KeyVault object types: secret, key or cert (semi-colon separated)
keyvaultobjectaliases: SQL_DBNAME;SQL_PASSWORD;SQL_SERVER;SQL_USER
resourcegroup: "teamResources" # [REQUIRED FOR < v0.0.14] the resource group of the KeyVault
subscriptionid: "c0b0ad00-c6a9-40a1-adaf-7d290c84721c" # [REQUIRED FOR < v0.0.14] the subscription ID of the KeyVault
tenantid: "13823b52-457a-4034-b4aa-4b5666eb72c1" # the tenant ID of the KeyVault