-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.yml
33 lines (33 loc) · 824 Bytes
/
app.yml
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
apiVersion: apps/v1
kind: Deployment
metadata:
name: order-processor
labels:
app: order-processor
spec:
selector:
matchLabels:
app: order-processor
template:
metadata:
labels:
app: order-processor
spec:
containers:
- name: order-processor
image: kedasamples/sample-dotnet-worker-servicebus-queue
env:
- name: KEDA_SERVICEBUS_QUEUE_CONNECTIONSTRING
valueFrom:
secretKeyRef:
name: secrets-order-consumer
key: servicebus-connectionstring
---
apiVersion: v1
kind: Secret
metadata:
name: secrets-order-consumer
labels:
app: order-processor
data:
servicebus-connectionstring: <COLOCA_TU_CADENA_DE_AZURE_SERVICE_BUS_AQUI_EN_BASE64>