email-operator is a Kubernetes operator designed for efficient email configuration and delivery using MailerSend and Mailgun, with support for cross-namespace functionality.
- go version v1.21.0+
- docker version 17.03+.
- kubectl version v1.11.3+.
- Access to a Kubernetes v1.11.3+ cluster.
- kustomize v5.4.1+
Build and push your image to the location specified by IMG
:
make docker-build docker-push IMG=<some-registry>/email-operator:tag
Deploy the operator to the cluster with the image specified by IMG
:
make deploy IMG=<some-registry>/email-operator:tag
NOTE: Image is automatically built and pushed to jovmilan95/email-operator:latest
using GitHub Actions and is publicly available.Here is the link to the DockerHub: DockerHub Repository
Apply test samples
You can apply the samples (examples) from the config/samples:
kubectl apply -k config/samples/
Delete the instances (CRs) from the cluster:
kubectl delete -k config/samples/
UnDeploy the operator from the cluster:
make undeploy