simplekube / controller-lite

kubernetes controllers as composers
Apache License 2.0
0 stars 0 forks source link

DeploymentACME API #1

Open AmitKumarDas opened 2 years ago

AmitKumarDas commented 2 years ago

ProblemStatement

Composing a Kubernetes Deployment around ACME

Resources Involved:

Notes

References

AmitKumarDas commented 2 years ago

Out Of Scope

Design Notes

Persona: Scripter

Persona: Operator

Persona: Dev

Development Notes

Testing Notes

AmitKumarDas commented 2 years ago

Intent

# Annotations to create a ACME related resources corresponding to this Deployment
kind: Deployment
metadata:
  annotations:
    controller-lite/reconciler-provider: controller-lite # Worker, etc. # understood by controller-lite controller
    controller-lite/is-reconciled: "true" # default
    controller-lite/reconcile-interval: "30mts" # optional
    controller-lite/composer: deployment-acme # only one type supported in this resource i.e. Deployment
    deployment-acme.controller-lite/garbage-collected: "true" # default
    deployment-acme.controller-lite/version: "v1" # optional
    port-mapping.deployment-acme.controller-lite/myapp: "8080:8080"
    port-type.deployment-acme.controller-lite/myapp: "TCP" # default