Skip to content

Commit

Permalink
Fix rendering of kapp examples (#770)
Browse files Browse the repository at this point in the history
Signed-off-by: German Lashevich <[email protected]>
  • Loading branch information
Zebradil authored May 24, 2024
1 parent 80b818a commit d83d6de
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions site/content/kbld/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ <h3>Immutable image references</h3>
</div>
<div class="text-content" id="examples">
<h2>Basic Usage</h2>
{{< highlight bash "" >}}
{{< highlight bash "" >}}
# Configurations picked up from a directory
$ kbld -f examples/cassandra/ | kubectl apply -f -
# Can be used with helm charts
Expand All @@ -90,7 +90,7 @@ <h2>Basic Usage</h2>
<h3>Examples</h3>
<p>Resolves name-tag pair reference (<code>nginx:1.17</code>) into digest reference (<code>index.docker.io/library/nginx@sha256:2539d4344...</code>)</p>
<p>Input:</p>
{{< highlight yaml "" >}}
{{< highlight yaml "" >}}
apiVersion: apps/v1
kind: Deployment
metadata:
Expand All @@ -114,7 +114,7 @@ <h3>Examples</h3>
- containerPort: 80
{{< / highlight >}}
<p>Output:</p>
{{< highlight yaml "" >}}
{{< highlight yaml "" >}}
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -146,7 +146,7 @@ <h3>Examples</h3>
{{< / highlight >}}
<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>
<p>Input:</p>
{{< highlight yaml "" >}}
{{< highlight yaml "" >}}
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -179,7 +179,7 @@ <h3>Examples</h3>
newImage: docker.io/hk/simple-app # <-- where to push app1 image
{{< / highlight >}}
<p>Output:</p>
{{< highlight yaml "" >}}
{{< highlight yaml "" >}}
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down

0 comments on commit d83d6de

Please sign in to comment.