-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapps-03-configmap-3-apps.yml
112 lines (112 loc) · 3.68 KB
/
apps-03-configmap-3-apps.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
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
kind: ConfigMap
apiVersion: v1
metadata:
name: f5-as3-declaration
namespace: default
labels:
f5type: virtual-server
as3: "true"
data:
template: |
{
"class": "AS3",
"declaration": {
"class": "ADC",
"schemaVersion": "3.10.0",
"id": "urn:uuid:33045210-3ab8-4636-9b2a-c98d22ab915d",
"label": "http",
"remark": "Simple HTTP application with RR pool",
"Common": {
"class": "Tenant",
"Shared": {
"class": "Application",
"template": "shared",
"XFF_HTTP_Profile": {
"class": "HTTP_Profile",
"xForwardedFor": true
}
}
},
"AS3": {
"class": "Tenant",
"A1": {
"class": "Application",
"template": "generic",
"ingress": {
"class": "Service_HTTP",
"virtualAddresses": [
"10.2.1.7"
],
"pool": "web_pool"
},
"web_pool": {
"class": "Pool",
"monitors": [
"http"
],
"members": [
{
"servicePort": 8080,
"serverAddresses": []
}
]
}
},
"A2": {
"class": "Application",
"template": "generic",
"ingress": {
"class": "Service_HTTP",
"virtualAddresses": [
"10.2.1.8"
],
"pool": "hackazone_pool"
},
"hackazone_pool": {
"class": "Pool",
"monitors": [
"http"
],
"members": [
{
"servicePort": 80,
"serverAddresses": []
}
]
}
},
"A3": {
"class": "Application",
"template": "generic",
"ingress": {
"class": "Service_HTTP",
"virtualAddresses": [
"10.2.1.6"
],
"virtualPort": 80,
"remark":"ingress: nginx.waf.http.v1",
"pool": "nginx_pool",
"profileHTTP":{"use": "/Common/Shared/XFF_HTTP_Profile"},
"policyWAF":{"bigip":"/Common/linux-low"},
"securityLogProfiles": [
{
"bigip": "/Common/Log all requests"
}
]
},
"nginx_pool": {
"class": "Pool",
"monitors": [
"http"
],
"members": [
{
"servicePort": 80,
"serverAddresses": []
}
]
}
}
}
}
}