mailhog-operator

command module
v0.2.4 Latest Latest
Warning

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

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

README

mailhog-operator

mailhog-operator

A toy operator that deploys mailhog on codeready containers.

containers (dev) containers (tag) Tag GoDoc Go Report Card

Images

Check out the latest releases

Just the operator
### Get the latest tagged image release
podman pull ghcr.io/patrickmx/mailhog-operator:latest
### Current pre-release development image
podman pull ghcr.io/patrickmx/mailhog-operator:develop
Bundle
operator-sdk run bundle ghcr.io/patrickmx/mailhog-operator-bundle:latest
operator-sdk run bundle ghcr.io/patrickmx/mailhog-operator-bundle:develop
Catalog Source
# Install the CatalogSource on oc/crc/origin
oc -n openshift-marketplace create -f config/catalogsource/mailhog-catalogsource.yaml
# To watch multiple namespaces or watch a different one than where the operator is, add a separate operator group

CR Examples

Some example CR configurations can be found as OC Console Examples in console_examples.yaml or the bare minimal cr.

# Load Openshift Console Examples:
oc create -f config/codeready/mailhogInstance_console_examples.yaml

Development

Build current repo code and deploy to a local CRC installation:

### Deploy the operator to crc (tested on fedora)
make crc-deploy
### Check the MailhogInstance type in the web console, a sample should be ready to go

License

Apache 2

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the mailhog v1alpha1 API group +kubebuilder:object:generate=true +groupName=mailhog.operators.patrick.mx
Package v1alpha1 contains API Schema definitions for the mailhog v1alpha1 API group +kubebuilder:object:generate=true +groupName=mailhog.operators.patrick.mx

Jump to

Keyboard shortcuts

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