renovatebot/renovate

improve flux manager with custom flags

開放

#13,952 建立於 2022年2月1日

 (44 則留言) (21 個反應) (0 位負責人)TypeScript (1,916 個分叉)batch import
help wantedmanager:fluxpriority-4-low

倉庫指標

星標
 (14,066 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南