integr8ly / 3scale-operator-old

3scale operator
2 stars 3 forks source link

3scale-operator

A Kubernetes Operator based on the Operator SDK for installing and syncing resources in 3Scale.

Build Status

Project Info
License: Apache License, Version 2.0
IRC #integreatly channel in the freenode network.

Deploying

make setup/dep

NOTE: The above command should be run only once on initial setup.

#create required resources
make cluster/prepare
#deploy the latest version of the operator
make cluster/deploy
#create example threescale custom resource
make cluster/create/examples

Development

make cluster/prepare code/run

You should see something like:

operator-sdk up local --namespace=3scale --operator-flags="--resync=10 --log-level=debug"
INFO[0000] Go Version: go1.10.1                         
INFO[0000] Go OS/Arch: linux/amd64                      
INFO[0000] operator-sdk Version: 0.0.6                  
INFO[0000] 3Scale Version: 2.4.0.GA                     
INFO[0001] Watching 3scale.net/v1alpha1, ThreeScale, 3scale, 10000000000 
DEBU[0001] starting threescales controller

Building

#builds image: quay.io/integreatly/3scale-operator:<tag>
make image/build

Running tests

make test/unit