-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathkubeconfig.yaml
49 lines (49 loc) · 995 Bytes
/
kubeconfig.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
apiVersion: v1
kind: Service
metadata:
name: opens
namespace: default
spec:
selector:
app: opens
ports:
- port: 80
targetPort: 3000
type: LoadBalancer
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: opens
spec:
replicas: 1
selector:
matchLabels:
app: opens
template:
metadata:
labels:
app: opens
spec:
containers:
- name: opens
image: varunramg/opens:latest
ports:
- containerPort: 8080
env:
- name: OPENS_PORT
value: 8081
- name: OPENS_POP
value: 8081
- name: OPENS_SB
value: 8081
- name: OPENX_URL
value: 8081
- name: OPENX_INSECURE
value: false
- name: OPENX_CODE
valueFrom:
secretKeyRef:
name: openx-code
key: OPENX_CODE
imagePullPolicy: Always