github.com/GoogleContainerTools/skaffold/v2@v2.13.2/integration/testdata/helm/change_replicas.py (about)

     1  #!/usr/bin/env python3
     2  import sys
     3  import os
     4  stdin_data = sys.stdin.read()
     5  count = os.getenv("REPLICAS")
     6  
     7  print(stdin_data.replace("replicas: 1", "replicas: {}".format(count)))