kind: Secret
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/sh | |
| EMAIL="${1}" | |
| if [ "${#}" -ne 1 ]; then | |
| echo "USAGE: os4-acme-certs.sh email@example.com" | |
| echo "QUITTING" | |
| exit 1 | |
| fi | |
| OUT="$(env | grep ^AWS | wc -l)" |
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
| # This is a sample config used to pull content in from Quay.io | |
| # and present it as published content through the in cluster Operator Catalog | |
| # atop OpenShift. | |
| # https://github.com/operator-framework/operator-marketplace/blob/master/README.md | |
| # | |
| # To use this change: | |
| # OperatorSource | |
| # - metadata.name | |
| # - spec.registryNamespace | |
| # - spec.displayName |
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 | |
| SWITCH="\033[" | |
| NORMAL="${SWITCH}0m" | |
| RED="${SWITCH}1;31m" | |
| GREEN="${SWITCH}1;32m" | |
| YELLOW="${SWITCH}1;33m" | |
| PURPLE="${SWITCH}1;35m" | |
| BLUE="${SWITCH}1;34m" | |
| CYAN="${SWITCH}1;36m" |
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 python3 | |
| # | |
| # rpm2mc.py -- Generate a Kubernetes machine-config from an RPM | |
| # Copyright (c) 2019 Brian 'redbeard' Harrington <redbeard@dead-city.org> | |
| # | |
| # This program is free software: you can redistribute it and/or modify it under | |
| # the terms of the GNU Affero General Public License as published by the Free | |
| # Software Foundation, either version 3 of the License, or (at your option) any | |
| # later version. | |
| # |
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 python3 | |
| # requires the requests library: | |
| # pip install requests | |
| import requests | |
| import json | |
| RHCOS_BUILDS="https://raw.githubusercontent.com/openshift/installer/master/data/data/rhcos.json" |
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 python | |
| import re | |
| import sys | |
| x=sys.argv[1] | |
| # Check to see if the string is only binary | |
| nonbin = re.search(r'[2-9A-Fa-f]', x) | |
| # First, check to see if there were matches in binary, if not |
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/sh | |
| DOMAIN="${1}" | |
| EMAIL="${2}" | |
| if [ "${#}" -ne 2 ]; then | |
| echo "USAGE: os4-acme-certs.sh clustername.basedomain.tld email@example.com" | |
| echo "QUITTING" | |
| exit 1 | |
| fi | |
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 | |
| set -e -u -o pipefail | |
| # Provide a default list of users. This can be overriden by supplying the | |
| # environment variable "USERS" | |
| USERS=${USERS:-'brianredbeard chancez crawford ivancherepov kbrwn'} | |
| for name in ${USERS}; do | |
| curl -Ls http://github.com/${name}.keys | \ |
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/sh | |
| # This script will make two connected output sources mirrors of each other: | |
| # | |
| # | |
| # +---------------+ +---------------+ | |
| # | | | | | |
| # | Primary | | DisplayLink | | |
| # | Display | | (DP-2-2) | | |
| # | (e-DPI-1) | | (Screen 2/3) | |