Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: pages

on:
push:
branches: [$default-branch]
branches: [main]
paths:
- "docs/**"
- "modules/**"
Expand Down
4 changes: 1 addition & 3 deletions docs/content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

Kubernetes management with Nix

<p align="center" style="margin: 2em auto;">
<img src="./docs/static/logo.svg" alt="nixos logo in kubernetes blue" width="350"/>
</p>
{{< figure src="/logo.svg" alt="nixos logo in kubernetes blue" width="350" class="text-center" >}}

> **WARN**: this is a work in progress, expect breaking [changes](https://github.com/hall/kubenix/blob/main/CHANGELOG.md)

Expand Down
4 changes: 4 additions & 0 deletions docs/content/examples/deployment/_index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: "Deployment"
---

As a more complete example, let's define some high-level variables and then split our module out into another file as we start to grow.

{{< source "default.nix" >}}
Expand Down
4 changes: 4 additions & 0 deletions docs/content/examples/helm/_index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: "Helm"
---

To define a Helm release, use the {{< option "kubernetes.helm.releases" >}} option.

{{< source "default.nix" >}}
Expand Down
1 change: 1 addition & 0 deletions docs/content/examples/image/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
title: "Image"
weight: 30
---

Expand Down
4 changes: 4 additions & 0 deletions docs/content/examples/namespaces/_index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: "Namespaces"
---

This example demonstrates the use of kubenix submodules, which are built atop of nixos submodule system, to create resources in multiple namespaces.

{{< source "default.nix" >}}
Expand Down
1 change: 1 addition & 0 deletions docs/content/examples/pod/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
title: "Pod"
weight: 10
---

Expand Down
4 changes: 4 additions & 0 deletions docs/content/examples/testing/_index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: "Testing"
---

Testing is still very much in flux (contributions welcome!) but here's a rough example.

{{< source "default.nix" >}}
Expand Down
Loading