File tree Expand file tree Collapse file tree 3 files changed +6
-10
lines changed
contribute/style/hugo-shortcodes Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -194,12 +194,12 @@ The tab **name** in a `tabs` definition must be unique within a content page.
194
194
195
195
``` go-text-template
196
196
{{</* tabs name="tab_with_code" >}}
197
- {{{ < tab name="Tab 1" codelang="bash" >}}
197
+ {{< tab name="Tab 1" codelang="bash" >}}
198
198
echo "This is tab 1."
199
199
{{< /tab >}}
200
200
{{< tab name="Tab 2" codelang="go" >}}
201
201
println "This is tab 2."
202
- {{< /tab >}}}
202
+ {{< /tab >}}
203
203
{{< /tabs */>}}
204
204
```
205
205
@@ -306,7 +306,6 @@ Add the shortcode:
306
306
307
307
before the item, or just below the heading for the specific item.
308
308
309
-
310
309
## Version strings
311
310
312
311
To generate a version string for inclusion in the documentation, you can choose from
@@ -378,4 +377,3 @@ Renders to:
378
377
* Learn about [ page content types] ( /docs/contribute/style/page-content-types/ ) .
379
378
* Learn about [ opening a pull request] ( /docs/contribute/new-content/open-a-pr/ ) .
380
379
* Learn about [ advanced contributing] ( /docs/contribute/advanced/ ) .
381
-
Original file line number Diff line number Diff line change @@ -31,12 +31,12 @@ Reload your shell and verify that bash-completion is correctly installed by typi
31
31
You now need to ensure that the kubectl completion script gets sourced in all your shell sessions. There are two ways in which you can do this:
32
32
33
33
{{< tabs name="kubectl_bash_autocompletion" >}}
34
- {{{ < tab name="User" codelang="bash" >}}
34
+ {{< tab name="User" codelang="bash" >}}
35
35
echo 'source <(kubectl completion bash)' >>~ /.bashrc
36
36
{{< /tab >}}
37
37
{{< tab name="System" codelang="bash" >}}
38
38
kubectl completion bash | sudo tee /etc/bash_completion.d/kubectl > /dev/null
39
- {{< /tab >}}}
39
+ {{< /tab >}}
40
40
{{< /tabs >}}
41
41
42
42
If you have an alias for kubectl, you can extend shell completion to work with that alias:
Original file line number Diff line number Diff line change @@ -68,10 +68,10 @@ into the cluster.
68
68
{{< /tab >}}
69
69
{{< tab name="violation.json" >}}
70
70
{{< codenew file="pods/security/seccomp/profiles/violation.json" >}}
71
- {{< /tab >}}}
71
+ {{< /tab >}}
72
72
{{< tab name="fine-grained.json" >}}
73
73
{{< codenew file="pods/security/seccomp/profiles/fine-grained.json" >}}
74
- {{< /tab >}}}
74
+ {{< /tab >}}
75
75
{{< /tabs >}}
76
76
77
77
Run these commands:
@@ -89,10 +89,8 @@ You should see three profiles listed at the end of the final step:
89
89
audit.json fine-grained.json violation.json
90
90
```
91
91
92
-
93
92
## Create a local Kubernetes cluster with kind
94
93
95
-
96
94
For simplicity, [ kind] ( https://kind.sigs.k8s.io/ ) can be used to create a single
97
95
node cluster with the seccomp profiles loaded. Kind runs Kubernetes in Docker,
98
96
so each node of the cluster is a container. This allows for files
You can’t perform that action at this time.
0 commit comments