diff options
author | JingLu5 <lvjing5@huawei.com> | 2018-08-24 10:55:14 +0800 |
---|---|---|
committer | JingLu5 <lvjing5@huawei.com> | 2018-08-28 16:29:03 +0800 |
commit | 09f09a34328079f04d372ff5fb7faf9e180cc7e4 (patch) | |
tree | f5571bfb0c7d0cb9a51a555567e4a2ee535b7e52 /samples/services/modsecurity/yaml/modsecurity-service.yaml | |
parent | c7e0f161092e6affccf50e4faf59d6eef4f4314d (diff) |
Modsecurity as a service
JIRA: CLOVER-68
1. Add Dockerfile and related files to build clover's modsecurity Docekr container
2. Add mainfest to install the Modsecurity in kubernetes cluster
Change-Id: Ia92926e730c04720f931999d7ec30565ce9e54be
Signed-off-by: JingLu5 <lvjing5@huawei.com>
Diffstat (limited to 'samples/services/modsecurity/yaml/modsecurity-service.yaml')
-rw-r--r-- | samples/services/modsecurity/yaml/modsecurity-service.yaml | 13 |
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
|