This file contains hidden or 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
--- | |
services: | |
netbootxyz: | |
image: ghcr.io/netbootxyz/netbootxyz:latest | |
container_name: netbootxyz | |
environment: | |
- PUID=1000 | |
- PGID=1000 | |
- TZ=Etc/UTC | |
- MENU_VERSION=2.0.47 #optional |
This file contains hidden or 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 | |
if [ "$#" -lt 0 ]; then | |
echo "Usage: $0" | |
exit 1 | |
fi | |
echo "Generating nip.io based on found external IP" | |
FOUNDIP=$(docker run --rm --net=host appropriate/curl https://api.ipify.org) | |
APIFQDN="minio-api.${FOUNDIP}.nip.io" | |
FQDN="minio.${FOUNDIP}.nip.io" |
This file contains hidden or 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
package main | |
import ( | |
"crypto/aes" | |
"crypto/cipher" | |
"fmt" | |
"os" | |
) | |
const transformerPrefix = "k8s:enc:aescbc:v1:k-wcldg:" |
This file contains hidden or 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
#!/usr/bin/env bash | |
set -ex | |
if [ $# -ne 2 ]; then | |
echo "Usage: $0 [filename] [etcd_version] [decryption-key]" | |
exit 1 | |
fi | |
FILENAME=$1 |