Skip to content

Instantly share code, notes, and snippets.

View alejovicu's full-sized avatar

Alejandro Rosero Vicuña alejovicu

View GitHub Profile
@sallyom
sallyom / idp.sh
Last active February 21, 2019 14:36
okd-configure-htpasswd
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
# not sure this is still necessary, but can't hurt...
# kick the console pods because they cache oauth metadata (temporary, should not be required)
oc delete pods -n openshift-console --all --force --grace-period=0
@F21
F21 / gist:08bfc2e3592bed1e931ec40b8d2ab6f5
Last active October 23, 2022 12:36
Minikube RBAC Quick Start
minikube start --kubernetes-version=v1.7.0 --extra-config=apiserver.Authorization.Mode=RBAC
kubectl create clusterrolebinding add-on-cluster-admin --clusterrole=cluster-admin --serviceaccount=kube-system:default
minikube dashboard