Skip to content

Instantly share code, notes, and snippets.

View josharrington's full-sized avatar

Josh Arrington josharrington

View GitHub Profile
@josharrington
josharrington / install-kubernetes-flannel-centos7.md
Last active February 22, 2023 05:04 — forked from rkaramandi/install-kubernetes-flannel-centos7.md
Installing Kubernetes with the Flannel Network Plugin on Ubuntu 22.04

Install Prerequisites on ALL (Worker and Master) Nodes

UPDATED FOR UBUNTU 22.04

Update all packages and install CRI-O container runtime

sudo apt update
sudo apt upgrade -y
@josharrington
josharrington / test.tf
Last active September 10, 2021 01:06
for_each over complex map
locals {
sqs_queues = {
usertrack = {
topics = ["foo", "bar", "baz"]
}
another = {
topics = ["asdf", "1234"]
}
}
@josharrington
josharrington / gist:9be84caa72431cfa900f2762d6c8fa0e
Last active January 26, 2022 16:59
AWS SSO Surface Account Name
// ==UserScript==
// @name AWS SSO Display Account
// @namespace http://tampermonkey.net/
// @version 0.6
// @description This will make the account switcher show the account name and role when using AWS SSO
// @author josharrington
// @include /^https?://([\-\d\w]+\.)?console\.aws\.amazon\.com/.*/
// @icon https://www.google.com/s2/favicons?domain=amazon.com
// ==/UserScript==
<?xml version="1.0" encoding="UTF-8"?>
<includes>
<include name="View-WideList-54">
<control type="group">
<visible>Control.IsVisible(54)</visible>
<visible>IntegerGreaterThan(Container.NumItems,-1) | !Container.IsUpdating</visible>
<include>views_animation</include>
<control type="group">
<control type="multiimage">
<posx>0</posx>