renovatebot/renovate

improve flux manager with custom flags

Offen

#13.952 geöffnet am 01.02.2022

 (44 Kommentare) (21 Reaktionen) (0 zugewiesene Personen)TypeScript (1.916 Forks)batch import
help wantedmanager:fluxpriority-4-low

Repository-Metriken

Stars
 (14.066 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

What would you like Renovate to be able to do?

Good day,

I would like to be able to add flags for the flux manager. Currently, flux is always running the following command. https://github.com/renovatebot/renovate/blob/a98e7afd6800ae55ece79fd82a0f738104838372/lib/manager/flux/artifacts.ts#L19

It would be really nice if you could add some flags. So you can update your flux components even more personalized.

Something like flux install ${costume_flags} --export > ${quote(packageFileName)}

If you have any ideas on how this should be implemented, please tell us here.

My idea is to add the option to set flags. The flags will be used if the manager runs the update command.

"flux": {
    "fileMatch": [
        "(^|/)flux-system/gotk-components\\.yaml$"
    ],
    "flags": [
        "--network-policy=false"
    ]
},

Like this, it's possible to update flux and ignore the network policy.

Is this a feature you are interested in implementing yourself?

No

Contributor Guide