Is there any variable which is available in helm to get the current replica cycle value? I would like to increase the replicacount of deployment by exposing replicacount value in values.yaml of helm with this we need to update one parameter for each replicas.
there is one param in our yaml "serverName", we need to change it's values for each replica, like serverName: "server" then we need to pass values like "server-0", "server-1", "server-2" to each replica (0, 1, 2).
Is there any way?