renovatebot/renovate

improve flux manager with custom flags

Open

#13,952 opened on Feb 1, 2022

View on GitHub
 (44 comments) (21 reactions) (0 assignees)TypeScript (1,916 forks)batch import
help wantedmanager:fluxpriority-4-low

Repository metrics

Stars
 (14,066 stars)
PR merge metrics
 (Avg merge 2d 23h) (339 merged PRs in 30d)

Description

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