samba-in-kubernetes / samba-operator

An operator for a Samba as a service on PVCs in kubernetes
Apache License 2.0
103 stars 24 forks source link

controllers: set controller watches on owned configmaps & statefulsets #250

Closed phlogistonjohn closed 1 year ago

phlogistonjohn commented 1 year ago

When a configmap or statefulset is created by the operator in response to an SmbShare resource, we set the SmbShare as the owner (controller owner). We want our reconcile loop to be called when a change is made to one of these resources.