lilic / travis-minikube

Run minikube on Travis CI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

travis-minikube

Quick example of running minikube on Travis CI with Kubernetes version 1.18.1. To read more in detail check out my guest blog post on the Travis CI blog.

To switch Kubernetes cluster versions just replace the 1.18.1 version in the .travis.yml file.

Note that RBAC is not enabled on this cluster by default. To enable RBAC, you need to start minikube with the --extra-config=apiserver.authorization-mode=RBAC flag. Starting Minikube with RBAC enabled requires the appropriate RBAC roles to be created in the kube-system namespace, so all components work as expected. One of the possible solutions is to give the default ServiceAccount in the kube-system namespace the cluster-admin permissions. For more details see the issue #1722.

About

Run minikube on Travis CI

License:Apache License 2.0