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 | |
#Install brew and qemu + cloud init metadata dependencies | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | |
brew install qemu | |
brew install cdrtools | |
rm -rf /tmp/ubuntuqemuboot | |
#download Ubuntu 20.04 Cloud Image and resize to 30 Gigs | |
mkdir -p /tmp/ubuntuqemuboot/images |
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 | |
#Install brew and qemu dependencies | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | |
brew install qemu | |
brew install jq | |
rm -rf /tmp/fedoracoreosqemu | |
#Download Fedora CoreOS Image and resize primary disk to 30G | |
mkdir -p /tmp/fedoracoreosqemu/image |
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 | |
#Install brew and qemu dependencies | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | |
brew install qemu | |
brew install jq | |
rm -rf /tmp/rhcosqemu | |
#Download RedHat CoreOS Image and resize primary disk to 30G | |
mkdir -p /tmp/rhcosqemu/image |
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
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: registry-configurator | |
data: | |
configure.sh: | | |
#!/usr/bin/env bash | |
set -x | |
#NOTE: based off ubi-minimal can be changed | |
microdnf install util-linux -y |
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
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: registry-configurator | |
data: | |
configure.sh: | | |
#!/usr/bin/env bash | |
set -x | |
#NOTE: based off ubi-minimal can be changed | |
microdnf install util-linux -y |
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
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
name: test-private-registry-pull-ds | |
spec: | |
selector: | |
matchLabels: | |
name: test-private-registry-pull-ds | |
template: | |
metadata: |
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
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: custom-dns | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: my-on-prem-application-17146 | |
namespace: custom-dns |
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
apiVersion: v1 | |
kind: List | |
metadata: | |
name: custom-dns | |
items: | |
- apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: custom-dns | |
- apiVersion: v1 |
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
apiVersion: operator.openshift.io/v1 | |
kind: DNS | |
metadata: | |
name: default | |
spec: | |
nodePlacement: {} | |
servers: | |
- forwardPlugin: | |
upstreams: | |
- 172.21.53.31 |
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
APISERVER_ENDPOINT=https://c100-e.us-east.containers.cloud.ibm.com:31581 | |
cat <<EOF >/tmp/sre-csr.json | |
{ | |
"CN": "myorg-sre-1", | |
"hosts": [ | |
], | |
"key": { | |
"algo": "rsa", | |
"size": 2048 | |
}, |
OlderNewer