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

贡献者指南