Skip to content

Instantly share code, notes, and snippets.

View AndersBennedsgaard's full-sized avatar
🎯
Focusing

Anders Bennedsgaard AndersBennedsgaard

🎯
Focusing
View GitHub Profile
@AndersBennedsgaard
AndersBennedsgaard / helmrelease-diff.sh
Created September 25, 2023 13:31
Find differences in Flux HelmRelease versions
#!/bin/bash
set -euo pipefail
info() {
echo "INFO - $*"
}
warn() {
echo "WARNING - $*"
@AndersBennedsgaard
AndersBennedsgaard / kind-with-ingress.md
Last active March 24, 2024 16:29
Set up a Kind cluster with working ingress

To get a Kind cluster to work with an ingress controller such as NGINX Ingress Controller, you need some custom configuration of the cluster. Such a configuration file could look like:

kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
  - role: control-plane
    kubeadmConfigPatches:
      - |
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"alwaysShowTabs": true,
"initialCols": 80,
"initialRows": 20,
"initialPosition": "1804,35",
"requestedTheme": "dark",