Using a config map [1] in kubernetes is the way to go when you need to mount files into a pod.

The operator would mount the config map (specified in the koji-builder resource) into the koji-builder pod and restart the builder pod if needed (in case there is a config map change for a running builder).

[1] - https://kubernetes.io/docs/concepts/configuration/configmap/#configmaps-and-pods

On Thu, Oct 15, 2020 at 1:12 PM Patrick Riehecky <riehecky@fnal.gov> wrote:
This looks interesting.

I'll confess I'm not much of a kubernetes person, but how would I
inject my /etc/mock/site-defaults.cfg or any mock-plugins into this
framework?

Pat

On Thu, 2020-10-15 at 13:05 -0300, Leonardo Rossetti wrote:
> Hello all,
>
> I've recently created a kubernetes SIG in fedora and sent a Koji
> Kubernetes Operator proposal which is available in this URL:
> https://fedoraproject.org/wiki/Proposal:_Koji_Operator
>
> I would like to get as much community feedback as possible :-)
>
> Regards,
>
> ---------- Forwarded message ---------
> From: Leonardo Rossetti <lrossett@redhat.com>
> Date: Tue, Oct 13, 2020 at 2:13 PM
> Subject: koji operator proposal and IRC meetings
> To: <kube@lists.fedoraproject.org>
>
>
> Hello,
>
> I've written a proposal for a koji operator in our wiki:
> https://fedoraproject.org/wiki/Proposal:_Koji_Operator  - I would
> love to get community feedback :)
>
> I was also wondering if we could schedule a weekly IRC meeting - I
> was thinking every Thursday at 3PM UTC, what do you think (open to
> suggestions)?
>
> Regards,
>
> --
> Leonardo Rossetti
> Senior Software Engineer,
> Red Hat
> lrossett@redhat.com   
>   
>
>
> _______________________________________________
> koji-devel mailing list -- koji-devel@lists.fedorahosted.org
> To unsubscribe send an email to
> koji-devel-leave@lists.fedorahosted.org
> Fedora Code of Conduct:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.fedoraproject.org_en-2DUS_project_code-2Dof-2Dconduct_&d=DwIGaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=OAMtP0DWou0nlXG7Kmxo2enjXJfwb1DXS9fwcaESuTE&m=PJ4VAKtwl8qB7E3BapvUSvKJ3ODgbVam_N0Q6JdmKkk&s=AymBQqM8MpzxsFiLGXLac41DPXw2xAj8iAvo5BBy6Qk&e=

> List Guidelines:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__fedoraproject.org_wiki_Mailing-5Flist-5Fguidelines&d=DwIGaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=OAMtP0DWou0nlXG7Kmxo2enjXJfwb1DXS9fwcaESuTE&m=PJ4VAKtwl8qB7E3BapvUSvKJ3ODgbVam_N0Q6JdmKkk&s=Mw0J151A6C437-H5i2xiIzXJnjAU1SoFze9pS6JlVOQ&e=

> List Archives:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.fedorahosted.org_archives_list_koji-2Ddevel-40lists.fedorahosted.org&d=DwIGaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=OAMtP0DWou0nlXG7Kmxo2enjXJfwb1DXS9fwcaESuTE&m=PJ4VAKtwl8qB7E3BapvUSvKJ3ODgbVam_N0Q6JdmKkk&s=qXAJEIEqxs7WhSRgqL4LQiF-4x72LN-inFgacR1ivAI&e=

_______________________________________________
koji-devel mailing list -- koji-devel@lists.fedorahosted.org
To unsubscribe send an email to koji-devel-leave@lists.fedorahosted.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedorahosted.org/archives/list/koji-devel@lists.fedorahosted.org


--

Leonardo Rossetti

Senior Software Engineer,

Red Hat

lrossett@redhat.com   
M: +55-11-99703-0621