This script helps users resolve "certificate not found" errors when upgrading to Traefik v3 by automating the process of creating Kubernetes TLS secrets for your certificates.
Before using this script, ensure that:
#!/usr/bin/env bash | |
# Check for Docker CLI | |
if ! command -v docker &> /dev/null | |
then | |
echo "Docker CLI not found. Please install Docker." | |
exit 1 | |
fi | |
# Check for yq CLI |
@font-face { | |
font-family: 'OpenDyslexic 3'; | |
src: url('https://wiki.boop.ninja/fonts/opendyslexic3-regular.ttf') format('truetype'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
html, html * { | |
font-family: 'OpenDyslexic 3', sans-serif !important; | |
} |
# Following this tutorial: https://markentier.tech/posts/2022/01/speedy-rust-builds-under-wsl2/ | |
# This makes developing on windows significantly easier for rust projects!! | |
SOURCE_DIR = $(PWD) | |
# `notdir` returns the part after the last `/` | |
# so if the source was "/some/nested/project", only "project" remains | |
BUILD_DIR = ~/tmp/$(notdir $(SOURCE_DIR)) | |
wsl.build: wsl.sync | |
cd $(BUILD_DIR) && cargo build |
#!/usr/bin/env sh | |
ANSIBLE_USER="ansible" | |
ANSIBLE_PUB_KEY="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMGGvMjigF1/Sm30OWfP/Fsh3jYyO26HRd2anCooO68K ansible" | |
GITHUB_GIST_URL="https://gist.githubusercontent.com/mbround18/f49c06af1fe4c6c420f5b99cbc5deb6f/raw/57b1280bea0a2086a8806b923c611f2577b50563/pub-key" | |
# Install Deps | |
apt-get update && apt-get install -y curl wget gosu openssh-server openssh-client sudo | |
# Initialize ssh |
// 890 AN Birth of Garth | |
// 997 AN Current Garth | |
[ | |
{ | |
"time": 890, | |
"title": "What am I?", | |
"event": "Garth found himself? herself? floating within the cosmos roaming freely before feeling a tug at the strings of their soul." | |
}, | |
{ |
# Node | |
(?d)node_modules | |
(?d)dist | |
(?d).yarn/cache | |
(?d).yarn/unplugged | |
(?d).bundle | |
# Universal |