Skip to content

Commit 71c6ca8

Browse files
committed
chore(helmbroker): remove result
1 parent 87360f7 commit 71c6ca8

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

charts/helmbroker/templates/_helpers.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ env:
88
- name: PASSWORD
99
value: {{ if .Values.password | default "" | ne "" }}{{ .Values.password }}{{ else }}{{ randAlphaNum 32 }}{{ end }}
1010
{{- if (.Values.rabbitmqUrl) }}
11-
- name: HELMBROKER_CELERY_BROKER
11+
- name: DRYCC_RABBITMQ_URL
1212
value: {{ .Values.rabbitmqUrl }}
1313
{{- else if eq .Values.global.rabbitmqLocation "on-cluster" }}
1414
- name: "DRYCC_RABBITMQ_USERNAME"
@@ -21,7 +21,7 @@ env:
2121
secretKeyRef:
2222
name: rabbitmq-creds
2323
key: password
24-
- name: "HELMBROKER_CELERY_BROKER"
24+
- name: "DRYCC_RABBITMQ_URL"
2525
value: "amqp://$(DRYCC_RABBITMQ_USERNAME):$(DRYCC_RABBITMQ_PASSWORD)@drycc-rabbitmq.{{$.Release.Namespace}}.svc.{{$.Values.global.clusterDomain}}:5672/drycc"
2626
{{- end }}
2727
{{- range $key, $value := .Values.environment }}

rootfs/helmbroker/celery.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ class Config:
2222

2323
app = Celery(
2424
'helmbroker',
25-
broker=os.environ.get("HELMBROKER_CELERY_BROKER"),
26-
backend=os.environ.get("HELMBROKER_CELERY_BACKEND"),
25+
broker=os.environ.get("DRYCC_RABBITMQ_URL"),
2726
include=['helmbroker.tasks']
2827
)
2928

0 commit comments

Comments
 (0)