Commit 14a12ad9 authored by Yakubov, Sergey's avatar Yakubov, Sergey
Browse files

make managers a parameter

parent 10f310e7
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: 0.2.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
+1 −3
Original line number Diff line number Diff line
@@ -7,9 +7,7 @@ metadata:
data:
  app.yml: |-
    managers:
      {{ .Values.pulsar.queueName }}:
        num_concurrent_jobs: 1
        type: queued_python
{{- .Values.pulsar.managers | toYaml | nindent 6 }}:
    job_directory_mode: "0777"
    ignore_umask: True
    staging_directory: {{ .Values.pulsar.stagingDirectory }}
+4 −1
Original line number Diff line number Diff line
@@ -6,7 +6,10 @@ image:
podAnnotations: {}

pulsar:
  queueName: test
  managers:
    _default_:
      type: queued_python
      num_concurrent_jobs: 1
  enableRabbitMq: false
  rabbitMqUrl: amqp://guest:guest@localhost:5672
  stagingDirectory: "/pulsar/files/staging"