ssp-operator

command module
v0.1.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

README

SSP Operator

Kubevirt SSP Operator

This operator is currently Work In Progress, the current SSP operator can be found here: https://github.com/kubevirt/kubevirt-ssp-operator

Building

To build the container image run:

make container-build

To upload the image to the default repository run:

make container-push

The repository and image name and tag can be changed with these variables:

export IMAGE_REGISTRY=<registry>
export OPERATOR_IMAGE=<image_name>
export IMAGE_TAG=<image_tag>

The binary without a container can be build using:

make manager
Changing API

When the API definition in api/v1beta1 is changed, the generated code and CRDs need to be regenerated:

make generate
make manifests
Testing

To run unittests, use this command:

make unittest

The functional tests can be run on a cluster without deploying the operator to the cluster. The KUBECONFIG environment variable has to be set to access the cluster. These are the steps:

make install                    # Install CRDs to the cluster
make run ENABLE_WEBHOOKS=false  # Start the operator locally
make functest                   # Execute functional tests
make uninstall                  # Remove CRDs from the cluster

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api module
v1beta1
Package v1beta1 contains API Schema definitions for the ssp v1beta1 API group +kubebuilder:object:generate=true +groupName=ssp.kubevirt.io
Package v1beta1 contains API Schema definitions for the ssp v1beta1 API group +kubebuilder:object:generate=true +groupName=ssp.kubevirt.io
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL