This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { | |
"theme": "kendall" | |
}, | |
"basics": { | |
"name": "Zachary Loeber", | |
"label": "Automation Engineer", | |
"image": "https://avatars.githubusercontent.com/u/4702624", | |
"email": "zloeber@gmail.com", | |
"phone": "630.730.1764", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Installs and configures a user syncthing deployment on Ubuntu | |
# Add the release PGP keys: | |
curl -s https://syncthing.net/release-key.txt | sudo apt-key add - | |
# Add the "stable" channel to your APT sources: | |
echo "deb https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource kubernetes_namespace deployment { | |
metadata { | |
name = var.namespace | |
} | |
} | |
// Example Secrets to expose as env vars in deployment | |
resource kubernetes_secret appsecrets { | |
metadata { | |
name = "appsecrets" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Work around script to get minikube running on Ubuntu 19.10 | |
# - Updates local firewall settings (ufw) | |
# - Whacks your local ./.kube and ./.minikube folders! | |
# - Runs sudo commands to get things running but does not require sudo to run thereafter | |
export MINIKUBE_WANTUPDATENOTIFICATION=false | |
export MINIKUBE_WANTREPORTERRORPROMPT=false | |
export MINIKUBE_HOME=$HOME | |
export CHANGE_MINIKUBE_NONE_USER=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ado-var-group-sync | |
trigger: | |
batch: true | |
branches: | |
include: | |
- master | |
paths: | |
include: | |
- config/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -a | |
. "${SOURCEFILE}" | |
set +a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## ado-variable-group.yml | |
# Use az cli to update or create an ADO variable group like a crazy person | |
# sourceFile is a generic .env file with entries in VAR=VALUE format. | |
parameters: | |
sourceFile: '' | |
groupName: '' | |
overwrite: 'true' | |
adoProject: '' | |
adoOrg: '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MYVAR=somevalue1 | |
MYVAR2=somevalue2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Login | |
az login --service-principal \ | |
--username "${SPNAPPID}" \ | |
--password "${SPNSECRET}" \ | |
--tenant "${TENANTID}" | |
# Add the cli extension | |
az extension add --name azure-devops | |
# Profit! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
count(kured_reboot_required) BY (instance) * ON (instance) GROUP_LEFT (node) kured_reboot_required > 0 |
NewerOlder