Skip to content

Commit 18015d5

Browse files
feat: Add NIC WAF shortcode for easier updating versions (#1366)
Co-authored-by: Alan Dooley <a.dooley@f5.com>
1 parent 47e2bbe commit 18015d5

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

content/includes/nic/compatibility-tables/nic-nap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ The following table shows compatibility between NGINX Ingress Controller (NIC) a
33
{{< bootstrap-table "table table-striped table-responsive" >}}
44
| NIC Version | NAP-WAF Version | Config Manager | Enforcer |
55
| ------------------- | --------------- | -------------- | -------- |
6-
| {{< nic-version >}} | 35+5.527 | 5.9.0 | 5.9.0 |
6+
| {{< nic-version >}} | 35+{{< appprotect-compiler-version>}} | {{< nic-waf-release-version >}} | {{< nic-waf-release-version >}} |
77
| 5.1.1 | 35+5.498 | 5.8.0 | 5.8.0 |
88
| 5.0.0 | 34+5.342 | 5.6.0 | 5.6.0 |
99
| 4.0.1 | 33+5.264 | 5.5.0 | 5.5.0 |

content/nic/installation/installing-nic/deploy-with-nap-using-helm.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ This is accomplished with the following steps:
4444
Pull the `waf-compiler` image with:
4545

4646
```shell
47-
docker pull private-registry.nginx.com/nap/waf-compiler:5.9.0
47+
docker pull private-registry.nginx.com/nap/waf-compiler:{{<nic-waf-release-version>}}
4848
```
4949

5050
Download the [provided WAF Policy JSON](https://raw.githubusercontent.com/nginx/kubernetes-ingress/main/tests/data/ap-waf-v5/wafv5.json):
@@ -53,13 +53,13 @@ Download the [provided WAF Policy JSON](https://raw.githubusercontent.com/nginx/
5353
curl -L https://raw.githubusercontent.com/nginx/kubernetes-ingress/main/tests/data/ap-waf-v5/wafv5.json -o /tmp/wafv5.json
5454
```
5555

56-
Use your pulled NAP Docker image (`private-registry.nginx.com/nap/waf-compiler:5.9.0`) to compile the policy bundle:
56+
Use your pulled NAP Docker image (`private-registry.nginx.com/nap/waf-compiler:{{<nic-waf-release-version>}}`) to compile the policy bundle:
5757

5858
```shell
5959
# Using your newly created image
6060
docker run --rm \
6161
-v /tmp:/tmp \
62-
private-registry.nginx.com/nap/waf-compiler:5.9.0 \
62+
private-registry.nginx.com/nap/waf-compiler:{{<nic-waf-release-version>}} \
6363
-p /tmp/wafv5.json \
6464
-o /tmp/compiled_policy.tgz
6565
```
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5.9.0

0 commit comments

Comments
 (0)