You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add shortcode for the latest version of NGINX Gateway Fabric
This commit adds a new shortcode to the layouts folder to store a string
representing the latest version of NGINX Gateway Fabric. This means that
instead of updating each file individually during a new release, only
the shortcode file needs to be modified.
It clarifies the versioning for documentation, which makes it easier to
review - and also reduces the amount of drift when updating, in the case
that a reference was overlooked. There may be old references that need
to be updated to use this shortcode.
Copy file name to clipboardExpand all lines: content/ngf/how-to/monitoring/prometheus.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,13 +119,13 @@ You can configure monitoring metrics for NGINX Gateway Fabric using Helm or Mani
119
119
120
120
### Using Helm
121
121
122
-
If you're setting up NGINX Gateway Fabric with Helm, you can adjust the `metrics.*` parameters to fit your needs. For detailed options and instructions, see the [Helm README](https://github.com/nginx/nginx-gateway-fabric/blob/v1.6.1/charts/nginx-gateway-fabric/README.md).
122
+
If you're setting up NGINX Gateway Fabric with Helm, you can adjust the `metrics.*` parameters to fit your needs. For detailed options and instructions, see the [Helm README](https://github.com/nginx/nginx-gateway-fabric/blob/v{{< version-ngf >}}/charts/nginx-gateway-fabric/README.md).
123
123
124
124
---
125
125
126
126
### Using Kubernetes manifests
127
127
128
-
For setups using Kubernetes manifests, change the metrics configuration by editing the NGINX Gateway Fabric manifest that you want to deploy. You can find some examples in the [deploy](https://github.com/nginx/nginx-gateway-fabric/tree/v1.6.1/deploy) directory.
128
+
For setups using Kubernetes manifests, change the metrics configuration by editing the NGINX Gateway Fabric manifest that you want to deploy. You can find some examples in the [deploy](https://github.com/nginx/nginx-gateway-fabric/tree/v{{< version-ngf >}}/deploy) directory.
Copy file name to clipboardExpand all lines: content/ngf/how-to/upgrade-apps-without-downtime.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ For example, an application can be exposed using a routing rule like below:
66
66
port: 80
67
67
```
68
68
69
-
{{< note >}} See the [Cafe example](https://github.com/nginx/nginx-gateway-fabric/tree/v1.6.1/examples/cafe-example) for a basic example. {{< /note >}}
69
+
{{< note >}} See the [Cafe example](https://github.com/nginx/nginx-gateway-fabric/tree/v{{< version-ngf >}}/examples/cafe-example) for a basic example. {{< /note >}}
70
70
71
71
The upgrade methods in the next sections cover:
72
72
@@ -137,4 +137,4 @@ By updating the rule you can further increase the share of traffic the new versi
137
137
weight: 1
138
138
```
139
139
140
-
See the [Traffic splitting example](https://github.com/nginx/nginx-gateway-fabric/tree/v1.6.1/examples/traffic-splitting) from our repository.
140
+
See the [Traffic splitting example](https://github.com/nginx/nginx-gateway-fabric/tree/v{{< version-ngf >}}/examples/traffic-splitting) from our repository.
You can find several examples of configuration options of the `values.yaml` file in the [helm examples](https://github.com/nginx/nginx-gateway-fabric/tree/v1.6.1/examples/helm) directory.
178
+
You can find several examples of configuration options of the `values.yaml` file in the [helm examples](https://github.com/nginx/nginx-gateway-fabric/tree/v{{< version-ngf >}}/examples/helm) directory.
179
179
180
180
---
181
181
@@ -202,13 +202,13 @@ To upgrade your Gateway API resources, take the following steps:
@@ -366,4 +366,4 @@ Follow these steps to uninstall NGINX Gateway Fabric and Gateway API from your K
366
366
367
367
## Additional configuration
368
368
369
-
For a full list of the Helm Chart configuration parameters, read [the NGINX Gateway Fabric Helm Chart](https://github.com/nginx/nginx-gateway-fabric/blob/v1.6.1/charts/nginx-gateway-fabric/README.md#configuration).
369
+
For a full list of the Helm Chart configuration parameters, read [the NGINX Gateway Fabric Helm Chart](https://github.com/nginx/nginx-gateway-fabric/blob/v{{< version-ngf >}}/charts/nginx-gateway-fabric/README.md#configuration).
@@ -118,7 +118,7 @@ NGINX Plus Docker registry, and the `imagePullSecretName` is the name of the Sec
118
118
The NGINX Plus JWT Secret used to run NGINX Plus is also specified in a volume mount and the `--usage-report-secret` parameter. These Secrets are created as part of the [Before you begin](#before-you-begin) section.
{{< note >}} Requires the Gateway APIs installed from the experimental channel. {{< /note >}}
@@ -142,7 +142,7 @@ NGINX Plus Docker registry, and the `imagePullSecretName` is the name of the Sec
142
142
The NGINX Plus JWT Secret used to run NGINX Plus is also specified in a volume mount and the `--usage-report-secret` parameter. These Secrets are created as part of the [Before you begin](#before-you-begin) section.
0 commit comments