flagger icon indicating copy to clipboard operation
flagger copied to clipboard

BinaryData is not create and tracked in Configmap.

Open MengjiaLiang opened this issue 1 year ago • 0 comments

Describe the bug

Hi, not sure if it is a bug or an intentional thing. The config tracker seems only to watch and promote the change on data for configmaps. We are hitting a few issues when having the BinaryData section in the configmap.

  • Any changes in BinaryData will not trigger a canary analysis.
  • Any configmap promotion will remove the BinaryData in the primary configmap.

Could anyone please help to confirm this is a bug or a feature miss? If so, I am more than happy to contribute on this. Thank you!

To Reproduce

  • Create a config map with both BinaryData and data. The BinaryData will not be created in the primary configmap.

Expected behavior

  • Any changes in BinaryData should also be monitored and promoted to the primary configmap.

A clear and concise description of what you expected to happen.

Additional context

  • Flagger version: I am using v1.37, but from the source code, I think it is on all versions.

MengjiaLiang avatar Mar 09 '25 07:03 MengjiaLiang