Skip to content

Instantly share code, notes, and snippets.

View adaphi's full-sized avatar

Philip Adams adaphi

  • Stockholm, SE
View GitHub Profile
@adaphi
adaphi / vals2yaml.awk
Last active October 6, 2022 11:25
Convert Helm .Value references to yaml format
#! /usr/bin/gawk -f
# Convert Helm .Value references to yaml format.
# This is a convenient way to create a skeleton values.yaml file when making new Helm charts.
# This does not produce a usable values file, the output will need filling in with comments, default values, etc.
# Input should be a sorted unique list of Helm template variables that are references to .Values,
# as might be the result of a command like:
# egrep -oh '.Values.[^ ]+' templates/* | sort -u
# e.g.
#
@adaphi
adaphi / keybase.md
Created April 9, 2018 19:38
Keybase proof

Keybase proof

I hereby claim:

  • I am adaphi on github.
  • I am adaphi (https://keybase.io/adaphi) on keybase.
  • I have a public key whose fingerprint is 27AA 276C 5959 A569 C0CD E53C 2AF1 DC34 2D31 1BCA

To claim this, I am signing this object: