Skip to content

Instantly share code, notes, and snippets.

View davidrfreeman's full-sized avatar

David Freeman davidrfreeman

  • Seed Innovations
  • Colorado
  • 13:42 (UTC -06:00)
View GitHub Profile
@bburky
bburky / k8s-diff.py
Last active June 7, 2023 07:11
Offline Kubernetes manifest diff (does not use cluster state)
#!/usr/bin/env python3
# Offline `kubectl diff` style tool (does not use cluster state). Diff two
# local files containing templated manifests (e.g. kustomize or helm output).
#
# Resources in each file are matched by api, kind, namespace and name. This is
# also shown in the filename fields of the diff output.
#
# Usage:
# k8s-diff.py old-manifests.yaml new-manifests.yaml
# kustomize build . | k8s-diff.py /tmp/old-manifests.yaml -
@trevorlinton
trevorlinton / README.md
Last active August 20, 2024 14:00
Signing your commits on Github

OSX Steps:

  1. Install gpg if you dont have it.
brew install gpg
  1. See what email address and name you're using for git
git config --global user.email