Skip to content

The submariner-operator installs and maintains your submariner deployment.

License

Notifications You must be signed in to change notification settings

maayanf24/submariner-operator

 
 

Repository files navigation

Submariner Operator

The submariner operator installs the submariner components on a Kubernetes cluster.

It's available on OperatorHub:submariner.

Quickstart

Please refer the quickstart guides:

Development

Prerequisites

The build environment uses Dapper, which requires a working Docker setup. You will also need GNU Make.

Build Operator

You can compile the operator image running:

make build-operator

The source code can be validated (golint, gofmt, unit testing) running:

make validate test

Build Subctl

To build subctl locally

go mod vendor
make bin/subctl

You will be able to run subctl using ./bin/subctl from the submariner-operator directory.

Testing

To run end-to-end tests:

make e2e cleanup

Setup development environment

You will need docker installed in your system, and at least 8GB of RAM. Run:

make deploy

Reference

For reference, here's a link to the script generating the scaffold code of the 0.0.1 version of the operator gen_subm_operator.sh.

Updating OperatorHub

The OperatorHub definitions can be found here:

About

The submariner-operator installs and maintains your submariner deployment.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 91.6%
  • Shell 8.0%
  • Other 0.4%