timflannagan / rukpak

Rukpak runs in a Kubernetes cluster and defines an API for installing cloud native bundle content
Apache License 2.0
0 stars 0 forks source link

clean up implementation up -- just hacking around to get the core #12

Open github-actions[bot] opened 2 years ago

github-actions[bot] commented 2 years ago

functionality working before introduction abstraction layers.

https://github.com/timflannagan/rukpak/blob/67cb1d88a8a15695d9b35ec07e2ea252d590afd1/internal/provisioner/plain/controllers/bundle_controller.go#L209


    pod.SetName(util.PodName(plainBundleProvisionerName, bundle.Name))
    pod.SetNamespace(r.PodNamespace)

    // TODO: clean up implementation up -- just hacking around to get the core
    // functionality working before introduction abstraction layers.
    return util.CreateOrRecreate(ctx, r.Client, pod, func() error {
        pod.SetLabels(map[string]string{
            "core.rukpak.io/owner-kind": bundle.Kind,
github-actions[bot] commented 2 years ago

This issue has become stale because it has been open 60 days with no activity. The maintainers of this repo will remove this label during issue triage or it will be removed automatically after an update. Adding the lifecycle/frozen label will cause this issue to ignore lifecycle events.