helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

Make replicaCount optional when set value to null

Open Jaydee94 opened this issue 1 year ago • 1 comments

This pr makes the replica count optional in the telegraf Deployment object.

This is useful when you use a HorizontalPodAutoscaler that manages the replica count for you. Especially when you deploy this helm chart with ArgoCD and the auto sync functionality (https://argo-cd.readthedocs.io/en/stable/user-guide/best_practices/#leaving-room-for-imperativeness).

I've successfully tested it locally on my machine with helm template . --set replicaCount=null

Jaydee94 avatar May 13 '24 17:05 Jaydee94