2023-10-20 11:29:42 +00:00
|
|
|
#+DATE: 2023-10-18
|
|
|
|
|
2023-12-23 09:12:35 +00:00
|
|
|
#+BEGIN_HTML
|
2023-12-23 09:18:56 +00:00
|
|
|
<p>
|
2023-12-23 09:14:10 +00:00
|
|
|
<div align="center">
|
|
|
|
<img src="https://helm.sh/img/helm.svg" align="center" width="144px" height="144px"/>
|
2023-12-23 09:20:19 +00:00
|
|
|
<h3>Minimal and Opinionated Helm Charts</h3>
|
|
|
|
<p><i>... powered by a Norwegian bear 🐻</i></p>
|
2023-12-23 09:14:10 +00:00
|
|
|
</div>
|
2023-12-23 10:06:35 +00:00
|
|
|
|
|
|
|
<p> </p>
|
|
|
|
|
2023-12-23 10:05:46 +00:00
|
|
|
<div align="center">
|
|
|
|
<a href="https://github.com/tommy-skaug/charts/actions/workflows/build-and-publish.yml" class="badge">
|
|
|
|
<img src="https://github.com/tommy-skaug/charts/actions/workflows/build-and-publish.yml/badge.svg" alt="Relases building" /></a>
|
|
|
|
|
|
|
|
|
2023-12-23 09:14:10 +00:00
|
|
|
|
2023-12-23 10:05:46 +00:00
|
|
|
<a href="https://github.com/tommy-skaug/charts/actions/workflows/pages/pages-build-deployment" class="badge">
|
|
|
|
<img src="https://github.com/tommy-skaug/charts/actions/workflows/pages/pages-build-deployment/badge.svg" alt="Index Updates" />
|
|
|
|
</a>
|
|
|
|
</div>
|
2023-12-23 09:18:56 +00:00
|
|
|
</p>
|
2023-12-23 10:06:42 +00:00
|
|
|
<p> </p>
|
2023-12-23 09:12:35 +00:00
|
|
|
#+END_HTML
|
2023-10-20 11:29:42 +00:00
|
|
|
|
2023-12-23 08:49:47 +00:00
|
|
|
Backend-focused and UX optimized minmal charts built for use with deployments based on Flux. Generally
|
|
|
|
contains Helm charts for infrastructure and some related to security operations.
|
2023-10-29 08:43:04 +00:00
|
|
|
|
2023-12-23 08:49:47 +00:00
|
|
|
This is a Helm Chart repository that provides packages for [[https://helm.sh/][Helm]], the Kubernetes
|
|
|
|
package manager. The builds are made available on GitHub Releases and on GitHub Pages.
|
2023-10-29 08:43:04 +00:00
|
|
|
|
2023-12-23 08:49:47 +00:00
|
|
|
Some charts only have Docker images available somewhere else or built by me, and others have badly
|
|
|
|
implemented Charts which I've chosen to simplify: opinionated and minimal. Opinionated means that
|
2023-12-23 10:07:21 +00:00
|
|
|
they're adapted to [[https://fluxcd.io/][FluxCD]] and uses best practices such as [[https://external-secrets.io/latest/][external-secrets]].
|
2023-12-15 17:54:46 +00:00
|
|
|
|
2023-12-23 10:07:40 +00:00
|
|
|
As with everything Kubernetes it is a learning journey, so feel free to open an issue.
|
2023-12-15 17:54:46 +00:00
|
|
|
|
2023-12-23 08:49:47 +00:00
|
|
|
Below you'll find an overview of the charts and an intro to get you started.
|
|
|
|
|
2023-12-23 09:06:28 +00:00
|
|
|
*** 📖 Overview
|
2023-10-20 11:29:42 +00:00
|
|
|
|
2023-12-23 08:49:47 +00:00
|
|
|
- [[charts/conduit][Conduit]]: An efficient and self-contained Matrix server using an embedded RocksDB
|
|
|
|
database.
|
2023-10-20 11:29:42 +00:00
|
|
|
|
2023-12-23 08:49:47 +00:00
|
|
|
- [[charts/attic][Attic]]: Nix Binary Cache server that reduces the time to compile and distribute
|
2023-12-23 10:08:04 +00:00
|
|
|
builds ([[https://discourse.nixos.org/t/introducing-attic-a-self-hostable-nix-binary-cache-server/24343][intro post]])
|
2023-10-20 11:29:42 +00:00
|
|
|
|
2023-12-23 08:49:47 +00:00
|
|
|
- [[charts/][Dispatch]]: A incident management and coordination system developed by Netflix.
|
2023-10-20 11:29:42 +00:00
|
|
|
|
2023-12-23 08:49:47 +00:00
|
|
|
- [[charts/foundationdb][FoundationDB]]: Distributed database with ACID transactions developed by Apple.
|
2023-10-28 06:28:23 +00:00
|
|
|
|
2023-12-23 08:49:47 +00:00
|
|
|
- [[charts/hasura-engine][Hasura]]: Connects to databases and services to provide a realtime GraphQL API.
|
2023-10-28 06:28:23 +00:00
|
|
|
|
2023-12-23 08:49:47 +00:00
|
|
|
- [[charts/netbox][Netbox]]: Modeling and docs for IP address management (IPAM) and datacenter
|
|
|
|
infrastructure management (DCIM).
|
2023-10-20 11:29:42 +00:00
|
|
|
|
2023-12-23 10:14:52 +00:00
|
|
|
*** 🧑💻 Usage
|
2023-10-20 11:29:42 +00:00
|
|
|
|
2023-12-23 10:08:23 +00:00
|
|
|
**** Exploration
|
2023-10-20 11:29:42 +00:00
|
|
|
|
2023-12-23 08:49:47 +00:00
|
|
|
You can explore this repo by using the following commands if you have the Kubernetes package manager
|
|
|
|
installed:
|
2023-10-20 11:29:42 +00:00
|
|
|
|
2023-12-23 08:49:47 +00:00
|
|
|
#+BEGIN_SRC shell
|
2023-12-23 09:06:28 +00:00
|
|
|
# add the package source
|
2023-12-23 08:49:47 +00:00
|
|
|
helm repo add 252 https://charts.252.no
|
2023-12-23 09:06:28 +00:00
|
|
|
|
|
|
|
# search for a specific chart
|
2023-12-23 08:49:47 +00:00
|
|
|
helm search repo dispatch
|
2023-12-23 09:06:28 +00:00
|
|
|
# or list all available charts
|
|
|
|
helm search repo 252 -l
|
2023-10-20 11:29:42 +00:00
|
|
|
|
2023-12-23 09:06:28 +00:00
|
|
|
# show configuration options
|
2023-12-23 08:49:47 +00:00
|
|
|
helm show values 252/dispatch
|
2023-10-20 11:42:46 +00:00
|
|
|
|
2023-12-23 09:06:28 +00:00
|
|
|
# install a chart
|
|
|
|
helm install dispatch helm-charts/charts/dispatch --namespace=toolbox
|
|
|
|
#+END_SRC
|
|
|
|
|
2023-12-23 08:49:47 +00:00
|
|
|
**** As Code with FluxCD
|
2023-12-15 17:54:46 +00:00
|
|
|
|
2023-12-23 08:49:47 +00:00
|
|
|
First take care to setup the chart:
|
2023-12-15 17:54:46 +00:00
|
|
|
|
2023-12-23 08:49:47 +00:00
|
|
|
#+BEGIN_SRC yaml
|
|
|
|
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
|
|
|
kind: HelmRepository
|
|
|
|
metadata:
|
|
|
|
name: 252-charts
|
|
|
|
namespace: flux-system
|
|
|
|
spec:
|
|
|
|
interval: 15m
|
|
|
|
url: https://charts.252.no
|
|
|
|
#+END_SRC
|
2023-12-15 17:54:46 +00:00
|
|
|
|
2023-12-23 08:49:47 +00:00
|
|
|
You can reference e.g. the Dispatch chart like this:
|
|
|
|
|
|
|
|
#+BEGIN_SRC yaml
|
|
|
|
---
|
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: &app dispatch
|
|
|
|
spec:
|
|
|
|
interval: 30m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: dispatch
|
|
|
|
version: 0.3.2
|
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: 252-charts
|
|
|
|
namespace: flux-system
|
|
|
|
maxHistory: 2
|
|
|
|
install:
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
upgrade:
|
|
|
|
cleanupOnFail: true
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
uninstall:
|
|
|
|
keepHistory: false
|
|
|
|
values:
|
|
|
|
envFromSecret: &secret dispatch-secret
|
|
|
|
[...]
|
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
Check out the ingress configuration in [[./docs/ingress.org][ingress.org]]
|
2023-12-15 17:54:46 +00:00
|
|
|
|
2023-12-23 10:14:52 +00:00
|
|
|
** 🤩 Licenses and Gratitude
|
2023-12-15 17:54:46 +00:00
|
|
|
|
2023-12-23 08:49:47 +00:00
|
|
|
Repo was inspired by [[https://gitlab.com/ananace/charts][ananace]] (some parts imported and rewritten).
|
2023-12-15 17:54:46 +00:00
|
|
|
|
2023-12-23 08:49:47 +00:00
|
|
|
The general license of this repo is DWTFYWTPB, but respect Apache v2 in some of the repos which were
|
|
|
|
built on other's work. See the individual chart directory for details and these applies.
|