Setup GCP Server
kubectl create serviceaccount --namespace kube-system tiller
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'
Get Jenkins Credentials
Get jenkins password
printf $(kubectl get secret --namespace default steely-zebra-jenkins -o jsonpath="{.data.jenkins-admin-password}" | base64 --decode);echo
Get jenkins URL
export SERVICE_IP=$(kubectl get svc --namespace default steely-zebra-jenkins --template "{{ range (index .status.loadBalancer.ingress 0) }}{{ . }}{{ end }}")
Add Repo
helm repo add sample https://raw.githubusercontent.com/mikaelvg/charts/master/
Add Repo from github
helm repo add mikaelvg https://raw.githubusercontent.com/mikaelvg/jenkins-aws-kubernetes/master/kubernetes/