Skip to content

Commit d83d6de

Browse files
authored
Fix rendering of kapp examples (#770)
Signed-off-by: German Lashevich <german.lashevich@gmail.com>
1 parent 80b818a commit d83d6de

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

site/content/kbld/_index.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h3>Immutable image references</h3>
7878
</div>
7979
<div class="text-content" id="examples">
8080
<h2>Basic Usage</h2>
81-
{{< highlight bash "" >}}
81+
{{< highlight bash "" >}}
8282
# Configurations picked up from a directory
8383
$ kbld -f examples/cassandra/ | kubectl apply -f -
8484
# Can be used with helm charts
@@ -90,7 +90,7 @@ <h2>Basic Usage</h2>
9090
<h3>Examples</h3>
9191
<p>Resolves name-tag pair reference (<code>nginx:1.17</code>) into digest reference (<code>index.docker.io/library/nginx@sha256:2539d4344...</code>)</p>
9292
<p>Input:</p>
93-
{{< highlight yaml "" >}}
93+
{{< highlight yaml "" >}}
9494
apiVersion: apps/v1
9595
kind: Deployment
9696
metadata:
@@ -114,7 +114,7 @@ <h3>Examples</h3>
114114
- containerPort: 80
115115
{{< / highlight >}}
116116
<p>Output:</p>
117-
{{< highlight yaml "" >}}
117+
{{< highlight yaml "" >}}
118118
apiVersion: apps/v1
119119
kind: Deployment
120120
metadata:
@@ -146,7 +146,7 @@ <h3>Examples</h3>
146146
{{< / highlight >}}
147147
<p>Builds app from local directory (configured via Config's <code>sources</code>), pushes image as <code>docker.io/hk/simple-app</code> (configured via Config's <code>destinations</code>), and finally resolves it to a digest reference <code>index.docker.io/hk/simple-app@sha256:e932e46fd...</code>.</p>
148148
<p>Input:</p>
149-
{{< highlight yaml "" >}}
149+
{{< highlight yaml "" >}}
150150
apiVersion: apps/v1
151151
kind: Deployment
152152
metadata:
@@ -179,7 +179,7 @@ <h3>Examples</h3>
179179
newImage: docker.io/hk/simple-app # <-- where to push app1 image
180180
{{< / highlight >}}
181181
<p>Output:</p>
182-
{{< highlight yaml "" >}}
182+
{{< highlight yaml "" >}}
183183
apiVersion: apps/v1
184184
kind: Deployment
185185
metadata:

0 commit comments

Comments
 (0)