Skip to content
kadet-hubPublic

About

CI-checked examples behind kadet-hub.org: Helm vs Kustomize vs Pulumi vs Kapitan, Bitnami recipes on kind, server-side dry runs, cosign, gVisor.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

338 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

examples

Runnable examples behind the posts on the kadet-hub.org blog and its guides. Each folder belongs to one page and has a script that exits non-zero when what the page claims no longer holds.

Folder Page Script
same-app https://kadet-hub.org/guides/same-app/ same-app/check
apiserver-dry-run https://kadet-hub.org/guides/apiserver-dry-run/ apiserver-dry-run/check
first-platform https://kadet-hub.org/guides/first-platform/ first-platform/check
bitnami https://kadet-hub.org/guides/bitnami/ bitnami/run.sh
verify-oci https://kadet-hub.org/guides/verify-oci/ verify-oci/verify kubernetes 1.2.0 47
gvisor-ci https://kadet-hub.org/guides/gvisor-ci/ gvisor-ci/check
config-tools https://kadet-hub.org/guides/config-tools/ config-tools/check
timoni-vs-kapitan https://kadet-hub.org/blog/timoni-vs-kapitan/ timoni-vs-kapitan/check
kcl-vs-kapitan https://kadet-hub.org/blog/kcl-vs-kapitan/ kcl-vs-kapitan/check
talos-machine-config https://kadet-hub.org/guides/talos-machine-config/ talos-machine-config/check
helm-vs-terraform https://kadet-hub.org/guides/helm-vs-terraform/ helm-vs-terraform/check
argocd-vs-flux https://kadet-hub.org/guides/argocd-vs-flux/ argocd-vs-flux/check argocd, argocd-vs-flux/check flux
helm-mutate https://kadet-hub.org/guides/patch-helm-chart/ helm-mutate/check kubectl, helm-mutate/check argocd, helm-mutate/check flux
cert-manager-mutate https://kadet-hub.org/guides/cert-manager-helm-chart-patches/ cert-manager-mutate/check
open-webui-searxng https://kadet-hub.org/blog/open-webui-searxng-kubernetes/ open-webui-searxng/check
platform-baseline https://kadet-hub.org/blog/kubernetes-cluster-add-ons/ platform-baseline/check
immich-cnpg https://kadet-hub.org/blog/immich-kubernetes/ immich-cnpg/check
pihole-powerdns https://kadet-hub.org/blog/pihole-powerdns-kubernetes/ pihole-powerdns/check
helmfile-vs-kapitan https://kadet-hub.org/blog/helmfile-vs-kapitan/ helmfile-vs-kapitan/check
argocd-cmp https://kadet-hub.org/blog/argocd-config-management-plugin-kapitan/ argocd-cmp/check
policy-checks https://kadet-hub.org/blog/kyverno-cli-conftest-ci/ policy-checks/check
secrets-end-to-end https://kadet-hub.org/blog/external-secrets-operator-vault-kapitan/ secrets-end-to-end/check
multi-env https://kadet-hub.org/blog/kapitan-multiple-environments/ multi-env/check
talos-apps https://kadet-hub.org/blog/talos-homelab-kapitan/ talos-apps/check
compose-kubernetes https://kadet-hub.org/blog/docker-compose-kubernetes/ compose-kubernetes/check
sso-keycloak https://kadet-hub.org/blog/keycloak-sso-self-hosted-apps/ sso-keycloak/check
matrix-federation https://kadet-hub.org/recipes/matrix-synapse/ matrix-federation/check
open-webui-rag https://kadet-hub.org/blog/open-webui-rag-kubernetes/ open-webui-rag/check

Running

Run a script from anywhere, for example same-app/check. The comment at the top of each script lists the tools it needs on PATH; the examples workflow pins their versions and checksums. gh has to be logged in for every example that verifies kadet-hub attestations: all but apiserver-dry-run and gvisor-ci.

apiserver-dry-run/dry-run is the script from the post and exits 1 on purpose, because five of the manifests are broken. apiserver-dry-run/check runs it and expects exactly those five to be rejected. In the same way, gvisor-ci/run prints what the escape scripts do and gvisor-ci/check compares that with the post.

first-platform is meant to be copied to the root of a repository: its .github/workflows/compile.yml and .kapitan-sandbox.yaml only take effect there.

CI

The examples workflow runs every script on pushes to main and weekly, so a change in a tool, a generator or the signed index that breaks a post shows up as a failed run. A pull request runs the scripts of the example folders it changes. Renovate updates versions and digests; for pins Renovate cannot hash, the pins job prints the new hash on the Renovate PR.

Requirements: docs/specs/examples.md.

License

Apache-2.0

About

CI-checked examples behind kadet-hub.org: Helm vs Kustomize vs Pulumi vs Kapitan, Bitnami recipes on kind, server-side dry runs, cosign, gVisor.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages