One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
#! /bin/bash | |
# Minikube 0.19 has some issues with with xhyve driver after stop. Workaround. | |
xhyve_minikube_start() { | |
# Require the administrator password upfront. If the user already has a sudo | |
# session, sudo validate here will not prompt again, but will silently succeed. | |
sudo -v | |
if [ $? == 1 ]; then | |
echo 'You must enter an administrative password to use this script.' | |
exit 1 |
#! /bin/bash | |
## Useful for checking local chart dependencies before pushing the dependent | |
## chart local changes. | |
## | |
## Usage: | |
## ./package_dep.sh [MAIN_CHART_PATH] [DEP_CHART_PATH] <[DEP_PACKAGE_VERSION | 0.1.0]> | |
package_dep() { | |
INSTALLED_GO=false |
#!/bin/bash | |
echo 'Why did the guy get fired from the orange juice factory?'; read ANSWER; | |
echo "He couldn’t concentrate! 🍊😂😭. But '${ANSWER}' is funny too." |
#!/bin/sh | |
# See https://github.com/kubernetes/helm/blob/master/docs/rbac.md#tiller-and-role-based-access-control | |
echo 'apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: tiller | |
namespace: kube-system | |
--- |
The under-documented Match
keyword with this custom script solves the SSH issue on our VPN or any NBCU Proxy network because 3.3.172.116
will always be resolvable. See the Match section of the sshd_config man page.
Step-by-step for anyone interested:
Install Homebrew if you don’t have it. It’s just one line in your terminal:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install corkscrew
FROM bitnami/drupal:8 | |
# Allow user codebase to include a custom composer merge file. | |
# See https://github.com/wikimedia/composer-merge-plugin. | |
COPY merge-composer.json /opt/bitnami | |
RUN apt-get update && apt-get install -y jq | |
RUN cd /opt/bitnami/drupal \ | |
&& tmp=$(mktemp) \ | |
&& cat composer.json | jq '.extra."merge-plugin".include |= .+ ["../merge-composer.json"]' > "$tmp" \ | |
&& mv "$tmp" composer.json \ |
FROM bitnami/drupal:8 | |
COPY custom-app-entrypoint.sh / | |
ENTRYPOINT ["/custom-app-entrypoint.sh"] | |
CMD ["/run.sh"] |
I hereby claim:
To claim this, I am signing this object:
# Always signs commits for DCO (popularized by The Linux Foundation, required by | |
# most CNCF projects including Helm). | |
# See `git help commit`: | |
# > -s, --signoff | |
# > Add Signed-off-by line by the committer at the end of the commit log | |
# message. The meaning of a signoff depends on the project, but it typically | |
# certifies that committer has the rights to submit this work under the same | |
# license and agrees to a Developer Certificate of Origin (see | |
# http://developercertificate.org/ for more information). | |
git() { |