operator-database

command module
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

README

Database Operator

See below for instructions how to set up and run the database operator either locally or on Kubernetes.

Install prerequisites.

Run operator locally

From a terminal run this command:

$ make install run

From a second terminal run this command:

$ kubectl apply -f config/samples/database.sample_v1alpha1_database.yaml

Delete all resources:

$ kubectl delete -f config/samples/database.sample_v1alpha1_database.yaml
$ make uninstall

Run operator on Kubernetes

Deploy the operator:

$ make deploy IMG="docker.io/nheidloff/database-operator:v1.0.3"

From a terminal run this command:

$ kubectl apply -f config/samples/database.sample_v1alpha1_database.yaml

Delete all resources:

$ kubectl delete -f config/samples/database.sample_v1alpha1_database.yaml
$ make undeploy IMG="docker.io/nheidloff/database-operator:v1.0.3"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the database.sample v1alpha1 API group +kubebuilder:object:generate=true +groupName=database.sample.third.party
Package v1alpha1 contains API Schema definitions for the database.sample v1alpha1 API group +kubebuilder:object:generate=true +groupName=database.sample.third.party
controllers

Jump to

Keyboard shortcuts

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