summaryrefslogtreecommitdiffstats
path: root/samples/services/modsecurity/yaml/modsecurity-service.yaml
diff options
context:
space:
mode:
authorStephen Wong <stephen.kf.wong@gmail.com>2018-09-05 05:03:24 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-09-05 05:03:25 +0000
commit05873b82e85d913838dc7aed9a21bc99a713a92d (patch)
treec459e76c659de259a2c04cf1dd34b9d57313a1fa /samples/services/modsecurity/yaml/modsecurity-service.yaml
parent420759bf152ce60da2152ec06c44f70f144d1d79 (diff)
parent09f09a34328079f04d372ff5fb7faf9e180cc7e4 (diff)
Merge "Modsecurity as a service"
Diffstat (limited to 'samples/services/modsecurity/yaml/modsecurity-service.yaml')
-rw-r--r--samples/services/modsecurity/yaml/modsecurity-service.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/samples/services/modsecurity/yaml/modsecurity-service.yaml b/samples/services/modsecurity/yaml/modsecurity-service.yaml
new file mode 100644
index 0000000..8548dca
--- /dev/null
+++ b/samples/services/modsecurity/yaml/modsecurity-service.yaml
@@ -0,0 +1,13 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: modsecurity-crs
+spec:
+ type: NodePort
+ ports:
+ - port: 80
+ name: http-modsecurity-crs
+ protocol: TCP
+ targetPort: 80
+ selector:
+ app: modsecurity-crs