forked from skupperproject/openshift-site-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDeployment.json
More file actions
88 lines (88 loc) · 2.42 KB
/
Deployment.json
File metadata and controls
88 lines (88 loc) · 2.42 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"labels": {
"app.kubernetes.io/part-of": "skupper-network-observer",
"app.kubernetes.io/name": "network-observer"
},
"name": "network-observer"
},
"spec": {
"replicas": 1,
"selector": {
"matchLabels": {
"app.kubernetes.io/part-of": "skupper-network-observer",
"app.kubernetes.io/name": "network-observer"
}
},
"template": {
"metadata": {
"labels": {
"app.kubernetes.io/part-of": "skupper-network-observer",
"app.kubernetes.io/name": "network-observer",
"app.kubernetes.io/component": "server"
}
},
"spec": {
"containers": [
{
"image": "quay.io/skupper/network-observer:v2-dev",
"imagePullPolicy": "Always",
"name": "network-observer",
"args": [
"-listen=:8443",
"-cors-allow-all",
"-tls-cert=/etc/console/tls.crt",
"-tls-key=/etc/console/tls.key",
"-router-endpoint=amqps://skupper-router-local",
"-router-tls-ca=/etc/messaging/ca.crt",
"-router-tls-cert=/etc/messaging/tls.crt",
"-router-tls-key=/etc/messaging/tls.key"
],
"securityContext": {
"allowPrivilegeEscalation": false,
"capabilities": {
"drop": ["ALL"]
},
"runAsNonRoot": true
},
"volumeMounts": [
{
"mountPath": "/etc/console/",
"name": "network-observer-certs"
},
{
"mountPath": "/etc/messaging/",
"name": "skupper-management-client"
}
],
"ports": [
{
"containerPort": 8443,
"name": "https",
"protocol": "TCP"
}
]
}
],
"volumes": [
{
"name": "network-observer-certs",
"secret": {
"defaultMode": 420,
"secretName": "network-observer-certs"
}
},
{
"name": "skupper-management-client",
"secret": {
"defaultMode": 420,
"secretName": "skupper-management-client"
}
}
]
}
}
}
}