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
| # 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 |
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 | |
| # 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" |
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
| # 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 |
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 | |
| 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 |
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 | |
| # 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 |
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 | |
| # 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 |
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 | |
| # 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 |
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 | |
| # 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 |
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
| alias brew='arch -x86_64 brew' |
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 | |
| # source: https://gist.github.com/dudash/f7cef9a30a76f59ca7f9ebfa3d803b0e/ | |
| # docs: https://docs.openshift.com/container-platform/4.7/cli_reference/openshift_cli/extending-cli-plugins.html | |
| # | |
| # To use this: | |
| # put this script in /usr/local/bin | |
| # chmod a+x oc-version+ | |
| # oc version+ | |
| oc version | |
| echo "Cluster ID:" $(oc get clusterversion -o jsonpath='{.items[].spec.clusterID}') |