This cheatsheet provides a collection of common git commands.
$ git remote add name url
$ kubectl config set-cluster "$CLUSTER_NAME" --server="$SERVER_IP" --certificate-authority="$KUBE_CA_PEM" --embed-certs=true
$ kubectl config set-credentials "$KUBE_USER" --client-certificate="$CLIENT_CERT" --client-key="$CLIENT_KEY" --embed-certs=true
$ kubectl config set-context "$KUBE_CONTEXT" --cluster="$CLUSTER_NAME" --user="$KUBE_USER" --namespace="$KUBE_NAMESPACE"
$ kubectl config use-context "$KUBE_CONTEXT"kubectl apply -f https://raw.githubusercontent.com/openfaas/faas-netes/master/namespaces.ymlpassword=$(head -c 12 /dev/urandom | shasum | cut -d' ' -f1)
kubectl -n openfaas create secret generic basic-auth \
--from-literal=basic-auth-user=admin \
--from-literal=basic-auth-password=$password
| NODE_PATH=src/ | |
| REACT_APP_API_URL= |
mv /etc/yum.repos.d/*.repo /tmp/
sudo nano /etc/yum.repos.d/remote.repo