Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rendering of kapp examples #770

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading