Issue #1: Get a minikube configuration working for local Molecule testing.

This commit is contained in:
Jeff Geerling
2019-11-06 16:24:11 -06:00
parent 94ce7b49a2
commit 2c527990fa
11 changed files with 254 additions and 140 deletions

View File

@@ -2,4 +2,17 @@
[![Build Status](https://travis-ci.com/geerlingguy/tower-operator.svg?branch=master)](https://travis-ci.com/geerlingguy/tower-operator)
A Tower operator for Kubernetes built with Operator SDK.
An [Ansible Tower](https://www.ansible.com/products/tower) operator for Kubernetes built with [Operator SDK](https://github.com/operator-framework/operator-sdk) and Ansible.
## Testing
This Operator includes a molecule-based test framework, which can be executed standalone in Docker (e.g. in CI or in a single Docker container anywhere), or inside any kind of Kubernetes cluster (e.g. Minikube).
### Testing in Docker (standalone)
1. `molecule converge -s test-local`
### Testing in Minikube
1. `minikube start`
1. `molecule converge -s test-minikube`