Skip to content

Instantly share code, notes, and snippets.

View hoegaarden's full-sized avatar

Hannes Hörl hoegaarden

  • ex-Pivotal, ex-VMware
  • Vienna, Austria
View GitHub Profile
@hoegaarden
hoegaarden / data-values.yml
Last active September 26, 2022 08:30
ytt-defaults
#@data/values
---
inline:
- a: not_a
b: not_b
annotation:
- a: not_a
b: not_b
@hoegaarden
hoegaarden / uaa-ldap.yml
Last active June 23, 2022 17:51
UAA LDAP auth ops file: Can we use this ops file to configure the UAA that comes with concourse to talk to LDAP?
## Configure UAA to talk to LDAP
- type: replace
path: /instance_groups/name=web/jobs/name=uaa/properties/uaa/ldap?
value:
# description: "Set to true to enable LDAP"
# default: false
enabled: true
# description: |
# Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @prefix_highlight_show_copy_mode 'on'
set -g @prefix_highlight_copy_mode_attr 'fg=black,bg=yellow'
@hoegaarden
hoegaarden / curler.sh
Created October 11, 2021 16:16
curler fooo
#!/usr/bin/env bash
set -e
set -u
set -o pipefail
URL='https://github.com/laidbackware/nsx-search/releases/download/v0.0.1/nsxsearch-darwin-0.0'
# URL='google.com'
# Should behave exaclty like curl and takes all the same args, except:
@hoegaarden
hoegaarden / k-filter
Last active November 13, 2020 08:44
k-filter -- for when kubectl talks too much
#!/usr/bin/env bash
set -e
set -u
set -o pipefail
declare -rA FILTERS=(
# Remove some mostly unintersting fields
['klean']='
del( .. | .metadata?
@hoegaarden
hoegaarden / install-github-runner.sh
Last active March 30, 2020 15:59
install github runner
#!/usr/bin/env bash
set -e
set -u
set -o pipefail
readonly RUNNER_URL='https://github.com/actions/runner/releases/download/v2.165.2/actions-runner-linux-x64-2.165.2.tar.gz'
main() {
local org="${1}"
@hoegaarden
hoegaarden / cloudbuild.yaml
Created November 29, 2019 16:11
k/build/debian-* on GCB
steps:
- name: gcr.io/cloud-builders/git
dir: go/src/k8s.io/
args:
- clone
- "${_K8S_GIT_URL}"
- --branch
- "${_K8S_GIT_BRANCH}"
waitFor: [ '-' ]
id: clone
@hoegaarden
hoegaarden / awks.sh
Created June 17, 2019 14:38
all them awks
#!/usr/bin/env bash
set -e
set -u
set -o pipefail
AWKS=(
/usr/bin/original-awk
/usr/bin/gawk
hhoerl@pfah:/tmp $ /tmp/test.sh
####
#### running fresh container 20772fb5860ae45dbcbb41b72faa9e6c0a7a3f9bdaff1baa31466b226f157cc4
####
## command: apt-get -y --allow-downgrades install kubeadm=1.13.3-00 kubelet=1.13.3-00 kubernetes-cni=0.6.0-00
Reading package lists...
@hoegaarden
hoegaarden / README.md
Last active August 7, 2019 16:18
screenshot & upload failing testgrid boards

Running

# using defaults:
#   BOARDS: sig-release-master-blocking sig-release-master-upgrade
#   STATES: FAILING
./shot.sh