tryretool / retool-helm

MIT License
45 stars 57 forks source link

use replicaCount for workflows backend #126

Closed avimoondra closed 11 months ago

avimoondra commented 11 months ago

Using old values in new values.yaml:

helm template -f ~/retool-helm/charts/retool/values.yaml foo ~/retool-helm/charts/retool --set config.encryptionKey="foo" --set image.tag="5.6.10" --set workflows.worker.replicaCount=null --set workflows.replicaCount=31 --set workflows.backend.replicaCount=null --debug | grep replicas
install.go:192: [debug] Original chart version: ""
install.go:209: [debug] CHART PATH: /Users/avimoondra/retool-helm/charts/retool

  replicas: 2
  replicas: 1
  replicas: 1
  replicas: 31
  replicas: 1

Using new defaults in new values.yaml:

 helm template -f ~/retool-helm/charts/retool/values.yaml foo ~/retool-helm/charts/retool --set config.encryptionKey="foo" --set image.tag="5.6.10" --debug | grep replicas
install.go:192: [debug] Original chart version: ""
install.go:209: [debug] CHART PATH: /Users/avimoondra/retool-helm/charts/retool

  replicas: 2
  replicas: 1
  replicas: 1
  replicas: 1
  replicas: 1

Using new values in new values.yaml:

helm template -f ~/retool-helm/charts/retool/values.yaml foo ~/retool-helm/charts/retool --set config.encryptionKey="foo" --set image.tag="5.6.10" --set workflows.worker.replicaCount=31 --set workflows.backend.replicaCount=32 --debug | grep replicas
install.go:192: [debug] Original chart version: ""
install.go:209: [debug] CHART PATH: /Users/avimoondra/retool-helm/charts/retool

  replicas: 2
  replicas: 1
  replicas: 32
  replicas: 31
  replicas: 1

All unset in new values.yaml:

helm template -f ~/retool-helm/charts/retool/values.yaml foo ~/retool-helm/charts/retool --set config.encryptionKey="foo" --set image.tag="5.6.10" --set workflows.worker.replicaCount=null --set workflows.replicaCount=null --set workflows.backend.replicaCount=null --debug | grep replicas
install.go:192: [debug] Original chart version: ""
install.go:209: [debug] CHART PATH: /Users/avimoondra/retool-helm/charts/retool

  replicas: 2
  replicas: 1
  replicas: 1
  replicas: 1
  replicas: 1