Open peterwillis opened 5 months ago
@peterwillis Thanks. Tweaking this would require populating the namespace before submitting to the resolveAuthSecretRef()
func at both https://github.com/tinkerbell/rufio/blob/main/controller/machine.go#L112 and https://github.com/tinkerbell/rufio/blob/main/controller/task.go#L107.
I noticed that the namespace field on the
authSecretRef
is required, and if not set falls back to the default namespace. With a small amount of guidance I am happy to submit a PR that makes it fall back to using the namespace the task is in.https://github.com/tinkerbell/rufio/blob/ce6d290f918a1773debb71bcf1474c6288bff0ee/controller/kube.go#L19