Skip to content

micro-company/go-mail-operator

Repository files navigation

go-mail-crd

Service(CRD) for work with mail by SMTP in kubernete

Feature

  • Integration with k8s
  • mail service
  • gRPC API

Getting start

go get -u k8s.io/client-go
go get -u k8s.io/apimachinery
go get -u k8s.io/apiextensions-apiserver
go get -u github.com/golang/protobuf/proto

protoc -I grpc/mail/ grpc/mail/mail.proto --go_out=plugins=grpc:grpc/mail

ENV

Name ENV Default value
SMTP_USERNAME smtpName
SMTP_PASSWORD secretKey
GRPC_PORT 50051

Stack

  • Go
  • gRPC
  • CustomResourceDefinition (Kubernetes)