Skip to content

Commit 35cd66e

Browse files
Fix extra spaces appended to example lines (vaadin#3774)
1 parent 0d6be7e commit 35cd66e

File tree

1 file changed

+25
-6
lines changed

1 file changed

+25
-6
lines changed

articles/control-center/getting-started/index.adoc

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,33 @@ Also, you'll need to install https://helm.sh/[Helm]. It's a Kubernetes package m
2121

2222
To deploy Control Center to your Kubernetes cluster, run the following Helm command:
2323

24+
++++
25+
<style>
26+
.linenums code[class*='language-'] > span {
27+
counter-increment: line-number;
28+
}
29+
.linenums code[class*='language-'] > span::before {
30+
content: counter(line-number);
31+
color: var(--docs-code-comment-color);
32+
font-size: var(--docs-font-size-xs);
33+
display: inline-block;
34+
min-width: 1em;
35+
padding-inline-end: 0.5em;
36+
margin-inline-end: 1em;
37+
text-align: end;
38+
border-right: 1px solid var(--docs-code-comment-color);
39+
}
40+
</style>
41+
++++
42+
2443
.Terminal
25-
[source,bash]
44+
[.linenums,source,bash]
2645
----
27-
helm install control-center oci://docker.io/vaadin/control-center \ # (1)
28-
-n control-center --create-namespace \ # (2)
29-
--set serviceAccount.clusterAdmin=true \ # (3)
30-
--set service.type=LoadBalancer --set service.port=8000 \ # (4)
31-
--wait # (5)
46+
helm install control-center oci://docker.io/vaadin/control-center \
47+
-n control-center --create-namespace \
48+
--set serviceAccount.clusterAdmin=true \
49+
--set service.type=LoadBalancer --set service.port=8000 \
50+
--wait
3251
----
3352

3453
<1> This installs Control Center.

0 commit comments

Comments
 (0)