renovatebot/renovate

improve flux manager with custom flags

オープン

#13,952 opened on 2022/02/01

 (44 件のコメント) (21 件のリアクション) (0 人の担当者)TypeScript (1,916 件のフォーク)batch import
help wantedmanager:fluxpriority-4-low

Repository metrics

Stars
 (14,066 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド