Skip to content

Commit 0bf8dc9

Browse files
committed
fix: Revert tab formatting to use % instead of <>
1 parent f970a40 commit 0bf8dc9

File tree

3 files changed

+37
-33
lines changed

3 files changed

+37
-33
lines changed

content/includes/use-cases/credential-download-instructions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ These files grant access to the package repository from which the script will do
1010

1111
{{< tabs name="product_keys" >}}
1212

13-
{{< tab name="JSON Web Token" >}}
13+
{{% tab name="JSON Web Token" %}}
1414

1515
{{< include "licensing-and-reporting/download-jwt-from-myf5.md" >}}
1616

17-
{{< /tab >}}
17+
{{% /tab %}}
1818

19-
{{< tab name="SSL" >}}
19+
{{% tab name="SSL" %}}
2020

2121
{{< include "licensing-and-reporting/download-certificates-from-myf5.md" >}}
2222

23-
{{< /tab >}}
23+
{{% /tab %}}
2424

2525
{{< /tabs >}}

content/includes/use-cases/docker-registry-instructions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ For more details on Docker Engine security, you can refer to the [Docker Engine
1414

1515
{{< /call-out >}}
1616

17-
{{<tabs name="docker_login">}}
17+
{{< tabs name="docker_login" >}}
1818

19-
{{%tab name="JSON Web Token"%}}
19+
{{% tab name="JSON Web Token"%}}
2020

2121
Open the JSON Web Token file previously downloaded from [MyF5](https://my.f5.com) customer portal (for example, `nginx-repo-12345abc.jwt`) and copy its contents.
2222

@@ -28,7 +28,7 @@ docker login private-registry.nginx.com --username=<output_of_jwt_token> --passw
2828

2929
{{% /tab %}}
3030

31-
{{%tab name="SSL"%}}
31+
{{% tab name="SSL" %}}
3232

3333
Create a directory and copy your certificate and key to this directory:
3434

@@ -46,4 +46,4 @@ docker login private-registry.nginx.com
4646

4747
{{% /tab %}}
4848

49-
{{% /tabs %}}
49+
{{< /tabs >}}

content/nic/installation/upgrade-version.md

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -54,21 +54,21 @@ To upgrade a release named _my-release_, use the following command:
5454

5555
{{< tabs name="upgrade-chart" >}}
5656

57-
{{< tab name="OCI registry" >}}
57+
{{% tab name="OCI registry" %}}
5858

5959
```shell
6060
helm upgrade my-release oci://ghcr.io/nginx/charts/nginx-ingress --version {{< nic-helm-version >}}
6161
```
6262

63-
{{< /tab >}}
63+
{{% /tab %}}
6464

65-
{{< tab name="Source" >}}
65+
{{% tab name="Source" %}}
6666

6767
```shell
6868
helm upgrade my-release .
6969
```
7070

71-
{{< /tab >}}
71+
{{% /tab %}}
7272

7373
{{< /tabs >}}
7474

@@ -97,10 +97,9 @@ If the Helm chart you have been using is `v1.0.2` or earlier (NGINX Ingress Cont
9797

9898
The example below shows the change for a Policy resource: you must do the same for all GlobalConfiguration and TransportServer resources.
9999

100-
{{<tabs name="resource-version-update">}}
100+
{{< tabs name="resource-version-update" >}}
101101

102-
{{< comment >}} Keep this left aligned. {{< /comment >}}
103-
{{<tab name="Before">}}
102+
{{% tab name="Before" %}}
104103

105104
```yaml
106105
apiVersion: k8s.nginx.org/v1alpha1
@@ -113,9 +112,11 @@ spec:
113112
key: ${binary_remote_addr}
114113
zoneSize: 10M
115114
```
116-
{{< /tab >}}
117115
118-
{{<tab name="After">}}
116+
{{% /tab %}}
117+
118+
{{% tab name="After" %}}
119+
119120
```yaml
120121
apiVersion: k8s.nginx.org/v1
121122
kind: Policy
@@ -127,13 +128,16 @@ spec:
127128
key: ${binary_remote_addr}
128129
zoneSize: 10M
129130
```
130-
{{< /tab >}}
131131
132-
{{</tabs>}}
132+
{{% /tab %}}
133+
134+
{{< /tabs >}}
135+
136+
{{< call-out "warning" >}}
133137
134-
{{< warning >}}
135138
If a *GlobalConfiguration*, *Policy* or *TransportServer* resource is deployed with `apiVersion: k8s.nginx.org/v1alpha1`, it will be **deleted** during the upgrade process.
136-
{{</ warning >}}
139+
140+
{{</ call-out >}}
137141

138142
After you move the custom resources to `v1`, run the following `kubectl` commands before upgrading to v4.0.0 Custom Resource Definitions (CRDs) to avoid webhook errors caused by leftover `v1alpha1` resources. For details, see [GitHub issue #7010](https://github.com/nginx/kubernetes-ingress/issues/7010).
139143

@@ -160,9 +164,9 @@ To configure structured logging, you must update your log deployment arguments f
160164
| `error` | |
161165
| `fatal` | |
162166

163-
{{<tabs name="structured logging">}}
167+
{{< tabs name="structured logging" >}}
164168

165-
{{<tab name="Helm">}}
169+
{{% tab name="Helm" %}}
166170

167171
The Helm value `controller.logLevel` is now a string instead of an integer.
168172

@@ -173,9 +177,9 @@ controller:
173177
logLevel: info
174178
logFormat: json
175179
```
176-
{{< /tab >}}
180+
{{% /tab %}}
177181

178-
{{<tab name="Manifests">}}
182+
{{% tab name="Manifests" %}}
179183

180184
The command line argument `-v` has been replaced with `-log-level`, and takes a string instead of an integer. The argument `-logtostderr` has also been deprecated.
181185

@@ -186,9 +190,9 @@ args:
186190
- -log-level=info
187191
- -log-format=json
188192
```
189-
{{< /tab >}}
193+
{{% /tab %}}
190194

191-
{{</tabs>}}
195+
{{< /tabs >}}
192196

193197
### Create License secret
194198

@@ -210,9 +214,9 @@ To reduce downtime, update all resources to use the new naming convention. The f
210214

211215
The steps you should follow depend on your Helm release name:
212216

213-
{{<tabs name="upgrade-helm">}}
217+
{{< tabs name="upgrade-helm" >}}
214218

215-
{{<tab name="nginx-ingress">}}
219+
{{% tab name="nginx-ingress" %}}
216220

217221
Use `kubectl describe` on deployment/daemonset to get the `Selector` value:
218222

@@ -260,9 +264,9 @@ Normal ScalingReplicaSet 101s deployment-controller Scaled up replica set n
260264
Normal ScalingReplicaSet 98s deployment-controller Scaled down replica set nginx-ingress-nginx-ingress-<old_version> to 0 from 1
261265
```
262266

263-
{{</tab>}}
267+
{{% /tab %}}
264268

265-
{{<tab name="Other release names">}}
269+
{{< tab name="Other release names" >}}
266270

267271
Use `kubectl describe` on deployment/daemonset to get the `Selector` value:
268272

@@ -309,6 +313,6 @@ Normal ScalingReplicaSet 101s deployment-controller Scaled up replica set t
309313
Normal ScalingReplicaSet 98s deployment-controller Scaled down replica set test-release-nginx-ingress-<old_version> to 0 from 1
310314
```
311315

312-
{{</tab>}}
316+
{{% /tab %}}
313317

314-
{{</tabs>}}
318+
{{< /tabs >}}

0 commit comments

Comments
 (0)