Skip to content

Instantly share code, notes, and snippets.

View bdfintechpy's full-sized avatar

Bruno Duarte bdfintechpy

View GitHub Profile
@bdfintechpy
bdfintechpy / install-mojaloop-locally-bdfintechpy.md
Last active August 23, 2018 21:30 — forked from mgoodness/nginx-ingress-controller-rbac.md
nginx-ingress-controller RBAC setup for K8s v1.8+ (tested on minikube)
#
# August 23rd, 2018
# This procedure assumes that you have VirtualBox, Minikube, kubectl, helm installed appropriately
#
# Clean install, in case you had another minikube before.

minikube stop
minikube delete
rm -rf .kube/
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
metadata:
name: nginx-ingress-controller
rules:
- apiGroups:
- ""
resources:
- configmaps
- pods
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: nginx-ingress-controller
rules:
- apiGroups:
- ""
resources:
- configmaps
- endpoints