-
Notifications
You must be signed in to change notification settings - Fork 0
/
MISE.yaml
50 lines (50 loc) · 1023 Bytes
/
MISE.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
43
44
45
46
47
48
49
50
apiVersion: apps/v1
kind: Deployment
metadata:
name: mise-auth
namespace: ingress-basic
spec:
replicas: 1
selector:
matchLabels:
app: mise-auth
template:
metadata:
labels:
app: mise-auth
spec:
containers:
- name: mise
image: jonathan34c.azurecr.io/mise-sidecar:dev
env:
- name: MISE_APPSETTINGS_LOCATION
value: "/app/etc/appsettings.json"
ports:
- containerPort: 5000
name: http-auth
volumeMounts:
- name: config
mountPath: /app/etc
readOnly: true
volumes:
- name: config
configMap:
name: mise-appsettings
items:
- key: appsettings.json
path: appsettings.json
---
apiVersion: v1
kind: Service
metadata:
name: mise-auth
namespace: ingress-basic
spec:
type: ClusterIP
ports:
- port: 80
protocol: TCP
targetPort: http-auth
name: http-auth
selector:
app: mise-auth