OpenSearch Rolling Upgrade through helm chart / kubernetes

Hello dear people, I have read this page and clearly explains the proper way of upgrading a cluster online and there are to important steps:

  1. Disable/enable shard replication
  2. Wait for green status before proceeding with other nodes

how you handle upgrade process properly with helm on kubernetes? because if we just update the image from helm chart I do not think it would obey above rules, usually we get red status (for around 10m) I assume because above 2 steps skipped.