run this
./openshift-install create cluster --dir=. --log-level=info
to destroy
./openshift-install destroy cluster
mv terraform.tfstate old-terraform.tfstate-MM-DD-YY
alias brew='arch -x86_64 brew' |
#!/bin/bash | |
# Prevent running assemble in builders different than official STI image. | |
# The official nodejs:8-onbuild already run npm install and use different | |
# application folder. | |
[ -d "/usr/src/app" ] && exit 0 | |
set -e | |
# FIXME: Linking of global modules is disabled for now as it causes npm failures |
#!/bin/bash | |
# Simple script to help configuring which kubectl CLI to use when you | |
# have a need to keep multiple versions and switch between them. | |
# Install and notes: | |
# 1. put this in /usr/local/bin and chmod +x | |
# 2. keep all the versions of kubectl in the /Applications directory | |
# 3. name kubectl executables with corresponding version - e.g. /Applications/kubectl-1.19.0 |
#!/bin/bash | |
# Simple script to help configuring which oc CLI to use when you | |
# have a need to keep multiple versions and switch between them. | |
# Install and notes: | |
# 1. put this in /usr/local/bin and chmod +x | |
# 2. keep all the versions of oc in the /Applications directory | |
# 3. name oc executables with corresponding version - e.g. /Applications/oc-4.5.0 |
#!/bin/bash | |
# Simple script to help configuring which kn CLI to use when you | |
# have a need to keep multiple versions and switch between them. | |
# Install and notes: | |
# 1. put this in /usr/local/bin and chmod +x | |
# 2. keep all the versions of kn in the /Applications directory | |
# 3. name kn executables with corresponding version - e.g. /Applications/kn-0.14.0 |
#!/bin/bash | |
echo "Here are all the knative related API resources" | |
oc api-resources --api-group ignore.me;oc api-resources | grep knative | |
#oc api-resources --api-group serving.knative.dev | |
#oc api-resources --api-group eventing.knative.dev |
# kubeps1 custom config (on off with kubeon and kubeoff) | |
# https://github.com/jonmosco/kube-ps1 | |
source "/usr/local/opt/kube-ps1/share/kube-ps1.sh" | |
function get_cluster_short() { | |
echo "$1" | cut -d / -f2 | cut -d : -f1 | |
} | |
KUBE_PS1_BINARY=oc | |
KUBE_PS1_CLUSTER_FUNCTION=get_cluster_short | |
PS1='$(kube_ps1)'$PS1 |
#!/bin/bash | |
# Loops to create an igress for each in the list | |
declare -a servicenames=( | |
# ===== Put all the services you want exposed here ===== | |
"confluence" | |
"gitlab" | |
"jira" | |
"keycloak" | |
"mattermost" |
# Resources for AddonComponents grafana component | |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: istio-grafana-configuration-dashboards-citadel-dashboard | |
namespace: istio-system | |
labels: | |
app: grafana | |
release: istio |