Staging instance, all changes can be removed at any time

Skip to content

Align celery autoscalers for all workers (cooker, lister, loader, checker-deposit)

Antoine R. Dumont requested to merge align-worker-autoscaler into production

This refactors the celery autoscaler according to the latest helper function introduced for the vault cookers.

No changes in deployment. Only comments are impacted.

make swh-helm-diff
[swh] Comparing changes between branches production and align-worker-autoscaler (per environment)...
Your branch is up to date with 'origin/production'.
[swh] Generate config in production branch for environment staging, namespace swh...
[swh] Generate config in production branch for environment staging, namespace swh-cassandra...
[swh] Generate config in production branch for environment staging, namespace swh-cassandra-next-version...
[swh] Generate config in align-worker-autoscaler branch for environment staging...
[swh] Generate config in align-worker-autoscaler branch for environment staging...
[swh] Generate config in align-worker-autoscaler branch for environment staging...
Your branch is up to date with 'origin/production'.
[swh] Generate config in production branch for environment production, namespace swh...
[swh] Generate config in production branch for environment production, namespace swh-cassandra...
[swh] Generate config in production branch for environment production, namespace swh-cassandra-next-version...
[swh] Generate config in align-worker-autoscaler branch for environment production...
[swh] Generate config in align-worker-autoscaler branch for environment production...
[swh] Generate config in align-worker-autoscaler branch for environment production...


------------- diff for environment staging namespace swh -------------

--- /tmp/swh-chart.swh.6nKTekrR/staging-swh.before      2024-01-17 15:07:47.523603260 +0100
+++ /tmp/swh-chart.swh.6nKTekrR/staging-swh.after       2024-01-17 15:07:48.523601371 +0100
@@ -25450,21 +25450,22 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          checker-deposit
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  1
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-checker-deposit
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -25553,23 +25554,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-arch
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-arch
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -25593,23 +25595,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-aur
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-aur
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -25633,23 +25636,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-bioconductor
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-bioconductor
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -25691,23 +25695,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-bitbucket
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-bitbucket
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -25749,23 +25754,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-bower
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-bower
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -25789,23 +25795,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-cgit
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-cgit
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -25829,23 +25836,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-cran
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-cran
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -25869,23 +25877,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-debian
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-debian
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -25909,23 +25918,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-dlang
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-dlang
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -25949,23 +25959,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-gitea
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-gitea
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -26025,23 +26036,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-gitiles
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-gitiles
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -26065,23 +26077,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-gitlab
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-gitlab
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -26141,23 +26154,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-gitweb
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-gitweb
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -26181,23 +26195,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-gnu-full
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-gnu-full
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -26221,23 +26236,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-gogs-full
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-gogs-full
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -26261,23 +26277,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-golang
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-golang
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -26319,23 +26336,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-launchpad
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-launchpad
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -26377,23 +26395,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-maven
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-maven
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -26435,23 +26454,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-nixguix
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-nixguix
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -26475,23 +26495,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-npm
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-npm
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -26515,23 +26536,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-opam
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-opam
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -26555,23 +26577,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-packagist
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-packagist
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -26595,23 +26618,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-pagure
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-pagure
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -26635,23 +26659,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-phabricator
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-phabricator
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -26675,23 +26700,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-pubdev
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-pubdev
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -26715,23 +26741,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-pypi
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-pypi
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -26755,23 +26782,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-rpm
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-rpm
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -26813,23 +26841,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-sourceforge
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-sourceforge
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -26871,23 +26900,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-stagit
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-stagit
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.


------------- diff for environment staging namespace swh-cassandra -------------

--- /tmp/swh-chart.swh.6nKTekrR/staging-swh-cassandra.before    2024-01-17 15:07:47.843602656 +0100
+++ /tmp/swh-chart.swh.6nKTekrR/staging-swh-cassandra.after     2024-01-17 15:07:48.847600760 +0100
@@ -24037,21 +24037,22 @@
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          cooker-batch
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  1
   maxReplicaCount:  2
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-cooker-batch
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -24075,21 +24076,22 @@
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          cooker-simple
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  1
   maxReplicaCount:  2
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-cooker-simple
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -24139,1180 +24141,1375 @@
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-add-forge-now
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  3
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-add-forge-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: add_forge_now:swh.loader.git.tasks.UpdateGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-add-forge-now-slow-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-add-forge-now-slow
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-add-forge-now-slow
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: add_forge_now_slow:swh.loader.git.tasks.UpdateGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-arch-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-arch
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-arch
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.arch.tasks.LoadArch
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-archive-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-archive
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-archive
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.archive.tasks.LoadTarball
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-aur-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-aur
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-aur
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.aur.tasks.LoadAur
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-bioconductor-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-bioconductor
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-bioconductor
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.bioconductor.tasks.LoadBioconductor
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-bzr-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-bzr
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-bzr
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.bzr.tasks.LoadBazaar
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-content-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-content
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-content
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.core.tasks.LoadContent
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-cran-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-cran
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-cran
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.cran.tasks.LoadCRAN
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-cvs-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-cvs
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-cvs
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.cvs.tasks.LoadCvsRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-debian-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-debian
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-debian
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.debian.tasks.LoadDebian
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-deposit-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-deposit
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  1
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-deposit
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.package.deposit.tasks.LoadDeposit
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-directory-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-directory
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-directory
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.core.tasks.LoadTarballDirectory
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-git-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-git
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  1
   maxReplicaCount:  2
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-git
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.git.tasks.UpdateGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-git
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.git.tasks.LoadDiskGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-git
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.git.tasks.UncompressAndLoadDiskGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-git-checkout-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-git-checkout
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-git-checkout
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.git.tasks.LoadGitCheckout
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-golang-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-golang
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-golang
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.golang.tasks.LoadGolang
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-hg-checkout-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-hg-checkout
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-hg-checkout
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.mercurial.tasks.LoadMercurialCheckout
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-maven-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-maven
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-maven
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.maven.tasks.LoadMaven
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-mercurial-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-mercurial
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-mercurial
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.mercurial.tasks.LoadArchiveMercurial
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-mercurial
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.mercurial.tasks.LoadMercurial
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-npm-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-npm
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-npm
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.npm.tasks.LoadNpm
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-opam-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-opam
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-opam
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.opam.tasks.LoadOpam
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-pubdev-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-pubdev
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-pubdev
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.pubdev.tasks.LoadPubDev
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-pypi-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-pypi
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-pypi
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.pypi.tasks.LoadPyPI
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-rpm-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-rpm
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-rpm
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.rpm.tasks.LoadRpm
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-save-code-now-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-save-code-now
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  2
   maxReplicaCount:  2
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.bzr.tasks.LoadBazaar
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.cvs.tasks.LoadCvsRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.git.tasks.UpdateGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.git.tasks.LoadDiskGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.git.tasks.UncompressAndLoadDiskGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.mercurial.tasks.LoadArchiveMercurial
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.mercurial.tasks.LoadMercurial
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.svn.tasks.LoadSvnRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.svn.tasks.MountAndLoadSvnRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.svn.tasks.DumpMountAndLoadSvnRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.package.archive.tasks.LoadTarball
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-svn-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-svn
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-svn
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.svn.tasks.LoadSvnRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-svn
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.svn.tasks.MountAndLoadSvnRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-svn
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.svn.tasks.DumpMountAndLoadSvnRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-svn-export-operators
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-svn-export
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-svn-export
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.svn.tasks.LoadSvnExport
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/storage-replayer/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: storage-replayer-content-scaledobject
   namespace: swh-cassandra
 spec:
   scaleTargetRef:
     name: storage-replayer-content
@@ -25647,333 +25844,333 @@
   - parameter: username
     name: keda-loader-metadata-kafka-secrets
     key: username
   - parameter: tls
     name: keda-loader-metadata-kafka-secrets
     key: tls
   - parameter: password
     name: swh-archive-broker-secret
     key: BROKER_USER_PASSWORD
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-add-forge-now
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-add-forge-now-slow
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-arch
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-archive
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-aur
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-bioconductor
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-bzr
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-content
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-cran
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-cvs
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-debian
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-deposit
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-directory
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-git
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-git-checkout
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-golang
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-hg-checkout
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-maven
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-mercurial
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-npm
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-opam
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-pubdev
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-pypi
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-rpm
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-save-code-now
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-svn
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-svn-export
   namespace: swh-cassandra
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host


------------- diff for environment staging namespace swh-cassandra-next-version -------------

--- /tmp/swh-chart.swh.6nKTekrR/staging-swh-cassandra-next-version.before       2024-01-17 15:07:48.159602059 +0100
+++ /tmp/swh-chart.swh.6nKTekrR/staging-swh-cassandra-next-version.after        2024-01-17 15:07:49.195600102 +0100
@@ -21791,21 +21791,22 @@
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          cooker-batch
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  1
   maxReplicaCount:  2
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-cooker-batch
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -21829,21 +21830,22 @@
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          cooker-simple
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  1
   maxReplicaCount:  2
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-cooker-simple
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -21893,1072 +21895,1257 @@
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-arch
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-arch
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.arch.tasks.LoadArch
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-archive-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-archive
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-archive
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.package.archive.tasks.LoadTarball
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-aur-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-aur
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-aur
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.aur.tasks.LoadAur
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-bioconductor-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-bioconductor
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-bioconductor
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.bioconductor.tasks.LoadBioconductor
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-bzr-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-bzr
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-bzr
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.bzr.tasks.LoadBazaar
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-content-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-content
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-content
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.core.tasks.LoadContent
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-cran-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-cran
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-cran
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.package.cran.tasks.LoadCRAN
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-cvs-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-cvs
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-cvs
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.cvs.tasks.LoadCvsRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-debian-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-debian
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-debian
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.package.debian.tasks.LoadDebian
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-deposit-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-deposit
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  1
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-deposit
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.package.deposit.tasks.LoadDeposit
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-directory-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-directory
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-directory
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.core.tasks.LoadTarballDirectory
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-git-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-git
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  1
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-git
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.git.tasks.UpdateGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-git
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.git.tasks.LoadDiskGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-git
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.git.tasks.UncompressAndLoadDiskGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-git-checkout-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-git-checkout
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-git-checkout
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.git.tasks.LoadGitCheckout
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-golang-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-golang
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-golang
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.package.golang.tasks.LoadGolang
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-hg-checkout-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-hg-checkout
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-hg-checkout
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.mercurial.tasks.LoadMercurialCheckout
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-maven-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-maven
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-maven
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.package.maven.tasks.LoadMaven
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-mercurial-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-mercurial
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-mercurial
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.mercurial.tasks.LoadArchiveMercurial
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-mercurial
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.mercurial.tasks.LoadMercurial
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-npm-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-npm
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-npm
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.package.npm.tasks.LoadNpm
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-opam-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-opam
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-opam
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.package.opam.tasks.LoadOpam
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-pubdev-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-pubdev
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-pubdev
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.package.pubdev.tasks.LoadPubDev
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-pypi-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-pypi
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-pypi
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.package.pypi.tasks.LoadPyPI
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-rpm-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-rpm
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-rpm
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.rpm.tasks.LoadRpm
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-save-code-now-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-save-code-now
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  2
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.bzr.tasks.LoadBazaar
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.cvs.tasks.LoadCvsRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.git.tasks.UpdateGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.git.tasks.LoadDiskGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.git.tasks.UncompressAndLoadDiskGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.mercurial.tasks.LoadArchiveMercurial
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.mercurial.tasks.LoadMercurial
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.svn.tasks.LoadSvnRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.svn.tasks.MountAndLoadSvnRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.svn.tasks.DumpMountAndLoadSvnRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.package.archive.tasks.LoadTarball
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-svn-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-svn
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-svn
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.svn.tasks.LoadSvnRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-svn
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.svn.tasks.MountAndLoadSvnRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-svn
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.svn.tasks.DumpMountAndLoadSvnRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-svn-export-operators
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-svn-export
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-svn-export
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.svn.tasks.LoadSvnExport
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/storage-replayer/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: storage-replayer-content-scaledobject
   namespace: swh-cassandra-next-version
 spec:
   scaleTargetRef:
     name: storage-replayer-content
@@ -23293,309 +23480,309 @@
   - parameter: username
     name: keda-loader-metadata-kafka-secrets
     key: username
   - parameter: tls
     name: keda-loader-metadata-kafka-secrets
     key: tls
   - parameter: password
     name: swh-archive-broker-secret
     key: BROKER_USER_PASSWORD
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-arch
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-archive
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-aur
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-bioconductor
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-bzr
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-content
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-cran
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-cvs
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-debian
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-deposit
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-directory
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-git
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-git-checkout
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-golang
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-hg-checkout
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-maven
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-mercurial
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-npm
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-opam
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-pubdev
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-pypi
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-rpm
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-save-code-now
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-svn
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-svn-export
   namespace: swh-cassandra-next-version
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host


------------- diff for environment production namespace swh -------------

--- /tmp/swh-chart.swh.6nKTekrR/production-swh.before   2024-01-17 15:07:49.659599225 +0100
+++ /tmp/swh-chart.swh.6nKTekrR/production-swh.after    2024-01-17 15:07:50.155598288 +0100
@@ -32007,21 +32007,22 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          checker-deposit
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  1
   maxReplicaCount:  2
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-checker-deposit
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -32045,21 +32046,22 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          cooker-batch
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   idleReplicaCount: 0                          # Set to 0 to stop all the workers when
                                                # there is no activity on the queue
   minReplicaCount:  1
   maxReplicaCount:  2
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-cooker-batch
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
@@ -32085,21 +32087,22 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          cooker-simple
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  10
   maxReplicaCount:  10
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-cooker-simple
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -32123,23 +32126,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-bitbucket
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-bitbucket
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -32181,23 +32185,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-bower
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-bower
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -32221,23 +32226,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-cgit
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-cgit
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -32261,23 +32267,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-cran
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-cran
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -32301,23 +32308,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-debian
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-debian
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -32341,23 +32349,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-gitea
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-gitea
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -32417,23 +32426,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-github-full
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  12
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-github-full
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -32475,23 +32485,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-github-incremental
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-github-incremental
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -32515,23 +32526,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-gitiles
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-gitiles
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -32555,23 +32567,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-gitlab
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  4
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-gitlab
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -32613,23 +32626,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-gitweb
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-gitweb
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -32653,23 +32667,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-gnu-full
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-gnu-full
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -32693,23 +32708,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-gogs-full
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-gogs-full
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -32733,23 +32749,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-golang
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-golang
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -32791,23 +32808,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-launchpad
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-launchpad
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -32849,23 +32867,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-maven
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-maven
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -32907,23 +32926,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-npm
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-npm
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -32947,23 +32967,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-opam
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-opam
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -32987,23 +33008,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-packagist
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-packagist
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -33027,23 +33049,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-pagure
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-pagure
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -33067,23 +33090,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-phabricator
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-phabricator
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -33107,23 +33131,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-pubdev
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-pubdev
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -33147,23 +33172,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-pypi
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-pypi
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -33187,23 +33213,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-rpm
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-rpm
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -33245,23 +33272,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-sourceforge
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-sourceforge
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -33303,23 +33331,24 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          lister-stagit
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   3600                       # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Optional. Must be less than
-                                               # minReplicaCount
+  cooldownPeriod:   3600
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-lister-stagit
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
@@ -33369,926 +33398,1086 @@
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-add-forge-now
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  8
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-add-forge-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: add_forge_now:swh.loader.git.tasks.UpdateGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-add-forge-now-slow-operators
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-add-forge-now-slow
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  4
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-add-forge-now-slow
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: add_forge_now_slow:swh.loader.git.tasks.UpdateGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-archive-operators
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-archive
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  4
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-archive
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.archive.tasks.LoadTarball
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-bzr-operators
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-bzr
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  4
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-bzr
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.bzr.tasks.LoadBazaar
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-cran-operators
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-cran
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-cran
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.cran.tasks.LoadCRAN
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-cvs-operators
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-cvs
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  2
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-cvs
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.cvs.tasks.LoadCvsRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-debian-operators
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-debian
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-debian
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.debian.tasks.LoadDebian
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-deposit-operators
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-deposit
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  1
   maxReplicaCount:  2
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-deposit
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: swh.loader.package.deposit.tasks.LoadDeposit
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-git-operators
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-git
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  1
   maxReplicaCount:  64
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-git
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "200"
       queueName: swh.loader.git.tasks.UpdateGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-git
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "200"
       queueName: swh.loader.git.tasks.LoadDiskGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-git
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "200"
       queueName: swh.loader.git.tasks.UncompressAndLoadDiskGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-git-large-repository-operators
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-git-large-repository
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  12
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-git-large-repository
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: large_repository:swh.loader.git.tasks.UpdateGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-golang-operators
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-golang
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  4
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-golang
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.golang.tasks.LoadGolang
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-maven-operators
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-maven
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  4
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-maven
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.maven.tasks.LoadMaven
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-mercurial-operators
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-mercurial
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-mercurial
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.mercurial.tasks.LoadArchiveMercurial
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-mercurial
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.mercurial.tasks.LoadMercurial
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-nixguix-operators
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-nixguix
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  2
   maxReplicaCount:  2
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-nixguix
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.nixguix.tasks.LoadNixguix
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-npm-operators
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-npm
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  4
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-npm
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.npm.tasks.LoadNpm
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-opam-operators
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-opam
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  4
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-opam
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.opam.tasks.LoadOpam
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-pubdev-operators
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-pubdev
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-pubdev
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.pubdev.tasks.LoadPubDev
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-pypi-operators
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-pypi
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  1
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-pypi
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.package.pypi.tasks.LoadPyPI
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-save-code-now-operators
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-save-code-now
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
   minReplicaCount:  16
   maxReplicaCount:  16
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.bzr.tasks.LoadBazaar
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.cvs.tasks.LoadCvsRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.git.tasks.UpdateGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.git.tasks.LoadDiskGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.git.tasks.UncompressAndLoadDiskGitRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.mercurial.tasks.LoadArchiveMercurial
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.mercurial.tasks.LoadMercurial
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.svn.tasks.LoadSvnRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.svn.tasks.MountAndLoadSvnRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.svn.tasks.DumpMountAndLoadSvnRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-save-code-now
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "1"
       queueName: save_code_now:swh.loader.package.archive.tasks.LoadTarball
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: ScaledObject
 metadata:
   name: loader-svn-operators
   namespace: swh
 spec:
   scaleTargetRef:
     apiVersion:    apps/v1     # Optional. Default: apps/v1
     kind:          Deployment  # Optional. Default: Deployment
     # Mandatory. Must be in same namespace as ScaledObject
     name:          loader-svn
     # envSourceContainerName: {container-name} # Optional. Default:
                                                # .spec.template.spec.containers[0]
   pollingInterval:  30                         # Optional. Default: 30 seconds
-  cooldownPeriod:   300                        # Optional. Default: 300 seconds
-  idleReplicaCount: 0                          # Set to 0 to stop all the workers when there is
-                                               # no activity on the queue
+  cooldownPeriod:   300
+                                               # ^ Optional. Default: 300 seconds
+  idleReplicaCount: 0                          # Set to 0 to stop all the workers when
+                                               # there is no activity on the queue
   minReplicaCount:  0
   maxReplicaCount:  4
   triggers:
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-svn
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.svn.tasks.LoadSvnRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-svn
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.svn.tasks.MountAndLoadSvnRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
   - type: rabbitmq
     authenticationRef:
       name: amqp-authentication-loader-svn
     metadata:
       protocol: auto                 # Optional. Specifies protocol to use,
                                      # either amqp or http, or auto to
                                      # autodetect based on the `host` value.
                                      # Default value is auto.
       mode: QueueLength              # QueueLength to trigger on number of msgs in queue
       excludeUnacknowledged: "false" # QueueLength should include unacked messages
                                      # Implies "http" protocol is used
       value: "10"
       queueName: swh.loader.svn.tasks.DumpMountAndLoadSvnRepository
-      vhostName: /                   # Vhost to use for the connection
+      vhostName: /                   # Optional. If not specified, use the vhost in the
+                                     # `host` connection string. Alternatively, you can
+                                     # use existing environment variables to read
+                                     # configuration from: See details in "Parameter
+                                     # list" section hostFromEnv: RABBITMQ_HOST%
 ---
 # Source: swh/templates/memcached/servicemonitor.yaml
 apiVersion: monitoring.coreos.com/v1
 kind: ServiceMonitor
 metadata:
   name: memcached
   namespace: swh
   labels:
     chart: "swh-0.1.0"
 spec:
@@ -34683,249 +34872,249 @@
   - parameter: username
     name: keda-loader-metadata-kafka-secrets
     key: username
   - parameter: tls
     name: keda-loader-metadata-kafka-secrets
     key: tls
   - parameter: password
     name: swh-archive-broker-secret
     key: BROKER_USER_PASSWORD
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-add-forge-now
   namespace: swh
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-add-forge-now-slow
   namespace: swh
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-archive
   namespace: swh
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-bzr
   namespace: swh
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-cran
   namespace: swh
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-cvs
   namespace: swh
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-debian
   namespace: swh
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-deposit
   namespace: swh
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-git
   namespace: swh
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-git-large-repository
   namespace: swh
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-golang
   namespace: swh
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-maven
   namespace: swh
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-mercurial
   namespace: swh
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-nixguix
   namespace: swh
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-npm
   namespace: swh
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-opam
   namespace: swh
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-pubdev
   namespace: swh
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-pypi
   namespace: swh
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-save-code-now
   namespace: swh
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host
 ---
-# Source: swh/templates/loaders/keda-authentication.yaml
+# Source: swh/templates/loaders/keda-autoscaling.yaml
 apiVersion: keda.sh/v1alpha1
 kind: TriggerAuthentication
 metadata:
   name: amqp-authentication-loader-svn
   namespace: swh
 spec:
   secretTargetRef:
   - parameter: host            # "host" is required by the scalerObject trigger metadata
     name: common-secrets
     key: rabbitmq-http-host


------------- diff for environment production namespace swh-cassandra -------------

No differences

Merge request reports

Loading